I am using the woo-commerce plugin can any one tell me the query which will give me the all the details of order as well as use details.
With one query i required all the the data
for example i required the order_id,YOUR CUSTOMER NUMBER,PURCHASE ORDER NUMBER,TYPE of order(DROP SHIP),shipping address details like name,address,state,country,zip,phone number,
now product name,product qty
all this details with all users i required.can anyone help me?
This is from a custom plugin that I wrote to process payments to a merchant account Woocommerce doesn’t have online. This is a function that grabs all of the order data and then places it into an array for use. Shipping wasn’t needed so I left it blank, but you can get it the same way as I did for the billing info. So I hope it helps: