Description
Coupon Exporter for WooCommerce allows you to export all your WooCommerce coupons into a CSV file. This is particularly useful for backup, analysis, or migration purposes.
Features
- Export all WooCommerce coupons to CSV with one click
- Includes comprehensive coupon data
- Secure export process
- Compatible with the latest WooCommerce version
- Batch processing for large exports
- Detailed error logging
- WordPress Multisite compatible
- PHP 8.x compatible
Export Data Includes
- Coupon code
- Description
- Discount type
- Amount
- Expiry date
- Minimum spend
- Maximum usage limit
- Usage limit per user
- Product restrictions
- Category restrictions
- Email restrictions
Privacy
This plugin does not collect or store any personal data. When exporting coupons, it only processes data that already exists in your WordPress installation.
The exported CSV file may contain email addresses if they were used in coupon restrictions. Please handle the exported file according to your privacy policy and data protection requirements.
Developer Notes
The plugin provides several filters to extend its functionality:
Filters
-
rwc_coupon_exporter_csv_headers
– Modify CSV headers
php
add_filter('rwc_coupon_exporter_csv_headers', function($headers) {
$headers['my_field'] = 'My Field';
return $headers;
}); -
rwc_coupon_exporter_csv_row
– Modify row data before export
php
add_filter('rwc_coupon_exporter_csv_row', function($row, $wc_coupon) {
$row[] = get_post_meta($wc_coupon->get_id(), 'my_custom_field', true);
return $row;
}, 10, 2);
Installation
- Upload the plugin files to the
/wp-content/plugins/rwc-coupon-exporter
directory - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the WooCommerce -> Export Coupons menu to access the exporter
FAQ
-
Does this plugin require WooCommerce?
-
Yes, WooCommerce must be installed and activated for this plugin to work.
-
What data is exported in the CSV file?
-
The exported CSV includes coupon codes, descriptions, discount types, amounts, expiry dates, usage limits, and restrictions.
-
How does the plugin handle large numbers of coupons?
-
The plugin processes coupons in batches of 100 to prevent memory issues and ensure smooth operation even with large numbers of coupons.
-
Is the plugin compatible with WordPress Multisite?
-
Yes, the plugin is fully compatible with WordPress Multisite installations.
-
What PHP versions are supported?
-
The plugin supports PHP 7.4 and higher, including PHP 8.x.
Avis
Contributeurs/contributrices & développeurs/développeuses
« Coupon Exporter for WooCommerce » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Coupon Exporter for WooCommerce » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
1.3.1
- Improved code organization
- Enhanced error handling
- Added batch processing for large exports
- Improved error logging
- Enhanced accessibility with ARIA labels
- Added developer hooks documentation
- Added privacy section
- Improved PHP 8.x compatibility
- Added WordPress Multisite support
- Code refactoring for better maintainability