#44 Design order list

Posted in ‘Technical Support / Bugs’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Adam Melcher on Friday, 13 December 2024 16:24 UTC

mohammad hossein

I have redesigned many parts of the J2Store so that the user has a better user experience.
I need your help for the redesign of the user orders section, i.e. the default_orders.php file
Look at this picture

https://drive.google.com/file/d/16XTYxgksr4-5BBBFE4o6ikMV8iO02kgD/view

I have designed this whole box but I have a problem
Any code I write, unfortunately, I can't display the images and names of the products that are in the order here?
Can you help me how to display images and product names?

thank you so much.

Adam Melcher

Give us a little time as we are already working on yootheme subtemplate as well as an upgraded bs5 template. Did you know that the myaccount section of j2commerce.com is the same myaccount page you are wanting to change? 

Do you how to call the peoduct object in that page? It's not The same as the order item object that is normally called in there, 

I will work on some documentation later to show how to customize the my accounts page and get the product object so you can pull whatever data you need into that page. 

Adam

mohammad hossein

Yes, You used the image and name of the product in the My Account section of J2Commerce website.

Thank you so much

 

mohammad hossein

hello
Is it possible to attach the sample code that I can use on the default_orders.php page?
Thank you

Adam Melcher

Mohammad,

Feel free to email the php file you have modified to support@j2commerce.com so we can update it with the code you need.

Adam

mohammad hossein

I sent the email.
thank you very much.

Adam Melcher

Closing this ticket as we have emailed you the solution you were looking for.

Adam

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.