Jump to content

Easy way to get Order Details


Chillax86
 Share

Recommended Posts

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

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

  • 10 months later...

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

  • 3 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More