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
- Host: GitHub
- URL: https://github.com/borededdy/woosqltocsv
- Owner: Borededdy
- License: gpl-3.0
- Created: 2023-11-15T14:41:35.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-18T07:49:31.000Z (over 1 year ago)
- Last Synced: 2024-05-18T08:35:00.094Z (over 1 year ago)
- Topics: csv-export, csv-files, php, sql, sql-query, woocommerce, wordpress
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.