Auto Discounts for WooCommerce

Changelog

1.0.5

  • Reliability: Automatic discounts now use WooCommerce product APIs instead of direct price meta updates.
  • Reliability: Removing all rules now removes previously applied automatic discounts.
  • Performance: Discount recalculation runs in Action Scheduler batches when available, with a synchronous fallback.
  • Compatibility: Improved support for variation pricing and parent product price syncing.
  • Admin: Added daily automation toggle, last update status, and saved-rules preview.
  • Admin: Fixed product exclusion filter behavior and tooltip positioning.
  • Security: Added explicit capability checks to AJAX preview and hardened preview rendering.
  • Quality: Improved rule sanitization and stats cache invalidation.

1.0.4

  • Fixed product age calculation for imported or duplicated products by using the product’s actual WordPress publish date.
  • Clarified how product age is calculated in the readme.

1.0.3

  • Security: Added and verified nonces (saves, AJAX, filters)
  • Security: Sanitized inputs ($_GET, $_POST) and escaped outputs
  • Performance/Quality: Object cache for admin queries; PHPCS annotations
  • Compatibility: Tested with WooCommerce up to 10.1.1; HPOS declared
  • Miscellaneous: Unified text domain; compliant readme and headers

1.0.0

  • Initial release

Plugin Website
Visit website

Author
Tommy Bordas
Version:
1.0.5
Last Updated
April 30, 2026
Requires
WordPress 5.0
Tested Up To
WordPress 6.9.4
Requires PHP
7.2

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.