Overview
↑ Back to topAuto-Coupon Expiry Cleanup for WooCommerce helps store owners automatically delete or clean up expired coupons from their store. It reduces database clutter, improves performance, and ensures customers only see valid coupons.
The extension runs scheduled cleanups at user-defined intervals, provides a manual cleanup option, and maintains a detailed cleanup log with email notifications.
Features
↑ Back to top- Automatic cleanup: Removes expired coupons at scheduled intervals.
- Flexible scheduling: Choose between daily, every 2 days, weekly, or monthly cleanups.
- Manual Cleanup Button: Instantly trigger cleanup with a single click.
- Cleanuplog: View detailed logs of all cleanup actions with date/time in your WordPress date format.
- Email notifications: Get notified after each cleanup (optional).
- Native WordPress Table UI: Uses
WP_List_Table
with pagination for logs. - Translation ready: Fully compatible with WordPress localization.
- Lightweight and optimized: Minimal overhead with efficient background processing.
Installation
↑ Back to topThe simplest way to start using a product from WooCommerce.com is to use the “Add to store” functionality on the order confirmation page or the My subscriptions section in your account.
- Navigate to My subscriptions.
- Find the Add to store button next to the product you’re planning to install.
- Follow the instructions on the screen, and the product will be automatically added to your store.
Alternative options and more information at:
Managing WooCommerce.com subscriptions.
Settings
↑ Back to topFrom your store’s WP Admin dashboard, navigate to Marketing > Coupon cleanup to configure:
Setting | Description |
---|---|
Cleanup Frequency | Choose between Daily, Every 2 Days, Weekly, or Monthly. |
Manual Cleanup | Click the Clean Now button to instantly remove expired coupons. |
Email Notifications | Enable/disable email reports of each cleanup run. |
Cleanup Log | View all previous cleanups in a sortable, paginated table with date/time. |
Cleanup log
↑ Back to topThis extension maintains a full record of cleanup events:
- Date and time: Shown in your WordPress timezone and format.
- Coupon code: Check the deleted coupon code.
- Delete type: Trash or permanently delete.
Email notifications
↑ Back to topWhen enabled, you’ll receive an email after each cleanup run with details such as:
- Cleanup date/time
- Number of coupons deleted
- Cleanup method: Trash or permanently delete
Compatibility
↑ Back to top- WooCommerce 7+
- WordPress 5+
- Works with all coupon types (Fixed Cart, Fixed Product, Percentage Discounts)
- Translation ready (
.pot
file included)
Troubleshooting
↑ Back to topCoupons are not being deleted automatically
↑ Back to top- Ensure WordPress cron jobs are working. Some hosts disable WP cron by default.
- Check your extensions’ frequency setting under Marketing > Coupon cleanup.
Manual cleanup button not working
↑ Back to top- Ensure you have the proper administrative/shop privileges.
- Clear browser cache and retry.
No email notifications
↑ Back to top- Confirm that email notifications are enabled in the extension settings.
- Check your WordPress mail configuration (consider using a seperate SMTP extension if mails fail).