Skip to content

A php script that exports Woocommerce order data into a CSV file

License

Notifications You must be signed in to change notification settings

Borededdy/WOOSQLtoCSV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

WOOSQLtoCSV

A php script that exports Woocommerce order data into a CSV file

How it Works

This php code extracts with a query to the wordpress database all the information of the Woocommerce orders, exporting them into a CSV file. You can refer to this code as an example or template and edit as you like it, adding your own fields of intrest. The code outputs all the orders when loaded in .../WOOSQLtoCSV.php and makes the file.csv into the home directory of the server.

In the first line of the CSV file you can see a reference of all the fields, change it if needed.

About

A php script that exports Woocommerce order data into a CSV file

Topics

Resources

License

Stars

Watchers

Forks

Languages