Chillax86 Posted October 14, 2013 Posted October 14, 2013 Does any one know how to easily get the order details, i.e is there an object that loads the order details ready to be used in my script. looking for something like $order = new Order((int)$params['id_order']); It needs to hold product name, quantity, unit price, ex vat prices and incl prices. I can code this myself and get it out of the database but I'd thought I'd check if this is already included in the core programming. Share this post Link to post Share on other sites More sharing options...
Chillax86 Posted October 16, 2013 Posted October 16, 2013 Hello anyone there? Even if you think this is not part of the core code please say something!!! Share this post Link to post Share on other sites More sharing options...
gonebdg - webindoshop.com Posted October 16, 2013 Posted October 16, 2013 You can see controller file OrderDetailController.php Share this post Link to post Share on other sites More sharing options...
PrestaHeroes USA Posted October 16, 2013 Posted October 16, 2013 Does any one know how to easily get the order details, i.e is there an object that loads the order details ready to be used in my script. looking for something like $order = new Order((int)$params['id_order']); It needs to hold product name, quantity, unit price, ex vat prices and incl prices. I can code this myself and get it out of the database but I'd thought I'd check if this is already included in the core programming. that is exactly how you would do it Share this post Link to post Share on other sites More sharing options...
amraohs Posted August 27, 2014 Posted August 27, 2014 I'm not getting products or adresses that are linked to the order. It just gives me the order information (total-amount, vat, etc). Is there a way that everything is included? Or do I need to get the information seperately? Share this post Link to post Share on other sites More sharing options...
ENS Enterprises Posted November 6, 2017 Posted November 6, 2017 Hi, you need to pass the create the object of the customer and then need to pass it to fetch the customer details. Thanks, Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now