Coupon Exporter for WooCommerce

설명

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);

스크린샷

  • Export coupons page in the WooCommerce menu

설치

  1. Upload the plugin files to the /wp-content/plugins/rwc-coupon-exporter directory
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. 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.

후기

모든 1 평가 읽기

기여자 & 개발자

“Coupon Exporter for WooCommerce”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Coupon Exporter for WooCommerce”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.3.2

  • Fixed HTML code appearing in exported CSV files
  • Improved CSV file generation and download handling
  • Enhanced error handling with proper nonce verification
  • Optimized memory usage during export
  • Improved UTF-8 encoding handling

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