Auto-Coupon Expiry Cleanup

Overview

↑ Back to top

Auto-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 top

The 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.

  1. Navigate to My subscriptions.
  2. Find the Add to store button next to the product you’re planning to install.
  3. 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.

Adding a WooCommerce.com subscription to your store

Settings

↑ Back to top

From your store’s WP Admin dashboard, navigate to Marketing > Coupon cleanup to configure:

SettingDescription
Cleanup FrequencyChoose between Daily, Every 2 Days, Weekly, or Monthly.
Manual CleanupClick the Clean Now button to instantly remove expired coupons.
Email NotificationsEnable/disable email reports of each cleanup run.
Cleanup LogView all previous cleanups in a sortable, paginated table with date/time.

Cleanup log

↑ Back to top

This 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 top

When 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 top

Coupons 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).

Related Products

Offer add-ons like gift wrapping, special messages or other special options for your products.

Add shipment tracking information to your orders.