This WordPress plugin allows WooCommerce store owners to set an expiration date for products. Once a product is two months away from expiration, it will be marked as "Out of Stock" and an email notification will be sent to all administrators and shop managers.
✅ Add an expiration date to products via the product edit page or Quick Edit.
✅ Display the expiration date on the product page after the price.
✅ Automatically set products to "Out of Stock" when they are two months away from expiration.
✅ Send an email notification to WooCommerce administrators and shop managers when a product is expiring soon.
✅ Fully compatible with WooCommerce.
- Upload the plugin folder to the
/wp-content/plugins/
directory. - Activate the plugin through the Plugins menu in WordPress.
- Edit a product and set the expiration date under Product Data → General.
- (Optional) Use Quick Edit in the product list to modify the expiration date quickly.
- When a product is close to expiration (2 months remaining), it will automatically be set to "Out of Stock."
- Administrators and Shop Managers will receive an email with product details, including a direct edit link.
- The expiration date will be displayed on the product page in
MM/YYYY
format.
For any issues or feature requests, please open a GitHub issue or contact us through the WooCommerce support forum.
- Improved: Enhanced variation details in expiration notification emails
- Added: Parent product name and ID display for variations
- Added: Formatted variation attributes listing
- Optimized: Combined query for simple and variable products
- Fixed: Products without expiration dates being incorrectly marked as out of stock
- Added: Additional validation for expiration date format
- Added: Only process products that are currently in stock
Developed with ❤️ for WooCommerce store owners!