An open API service indexing awesome lists of open source software.

https://github.com/borededdy/woosqltocsv

A php script that exports Woocommerce order data into a CSV file
https://github.com/borededdy/woosqltocsv

csv-export csv-files php sql sql-query woocommerce wordpress

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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.