Jump to content

How can I export my orders?


Recommended Posts

Well, you can use something *LIKE* this, but it highly depends on what kind of info you need, with this one you'll get everything from orders and order detail

 

SELECT o.*, od.* FROM ps_orders o

LEFT JOIN ps_order_detail od ON (od.id_order = o.id_order)

 

You'll also likely need to join the product_lang table to get product names :) It's just the simples one up there, but you'll likely need much more info. It's a good one to start with, though

Link to comment
Share on other sites

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
×
×
  • Create New...