- Contributors: MarieComet
- Website link: https://mariecomet.fr/
- Tags: woocommerce
- Requires at least: 4.7
- Tested up to: 4.9.7
- Stable tag: 1.0.3
- License: GPLv2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
Export WooCommerce Bookings to CSV
MC Export Bookings WC to CSV provides user ability to Export WooCommerce Bookings to CSV. After plugin installed and activated, you will see a sub menu page in WooCommerce menu called "Export bookings". Here you can select the product for which to export bookings, and also start and end dates. Click on "Fetch" to fetch bookings, and next click on "Export", be patient if you have a lot of bookings.
The plugin is still in its infant age and developers are welcome to extend.
This section describes how to install the plugin and get it working.
- Download the zip archive and upload it to your WordPress site.
- Activate the plugin through the 'Plugins' menu in WordPress
- Refer to plugin description in regards to setting up how the plugins works
-
Step 1 : Select bookable product (required) and start/end dates (not required). Click on "Fetch".
-
Step 3 : Download your .CSV file
- All the .CSV files are saved on your server and are listed below the export box :
- Initial Release.
- Update the main function
generate_csv
: - Use WC_Booking_Data_Store to get bookings id from order instead of previously 'Booking ID' meta value which was not a stable value.
- Display only bookable product in the products select.
- Totally change the way to query bookings :
- Instead of looping on orders, query directly bookings for selected product ID.
- Implement ajax booking search on product select
- Implement saving export file in custom uploads folder
- Implement list saved export files in plugin admin screen
- Add start and end dates to filters bookings before export
- Add
mc_wcb_csv_delimiter
filter to allow third party change the CSV delimiter