Linux 软件免费装
Banner图

Product Expiry for WooCommerce

开发者 webcodingplace
更新时间 2026年6月22日 11:35
PHP版本: 7.2 及以上
WordPress版本: 7.0
版权: GPLv3
版权网址: 版权信息

标签

countdown expiry date product expiry perishable expiration date

下载

1.2 1.4 3.0 2.8 1.1 2.2 2.3 2.4 2.5 2.6 2.7 1.3 2.0 3.3 2.1 1.5 2.9 3.1 3.2

详情介绍:

Product Expiry for WooCommerce gives every product and variation in your store an expiry date. When that date passes, the plugin does the cleanup for you. It can move the product to draft, set it out of stock, reduce its stock, or keep it visible with an "Expired" badge and the add to cart button disabled. You can also get an email the moment something expires. No more forgotten sale items sitting live in your catalog. No more manually hunting for last season's stock. You set the date once, and the plugin handles the rest on schedule. It works for any store that sells things with a shelf life: food, cosmetics, and supplements, limited time offers and flash sales, seasonal lines, digital licenses and event tickets, rentals, and classified style listings. What it does for you Set an expiry date on any product or variation. You can also add a short note that shows instead of the date, like "Sold out for the season". Expiry respects your site timezone and triggers at the end of the chosen day, scheduled individually per product so nothing fires early or late. When a product expires, you choose what happens to it: Show the expiry date where customers can see it Turn the expiry date on or off for single product pages and shop and archive pages. You decide where it appears using a dropdown of common positions, or paste in a custom hook if your theme uses its own. You control the wording around the date with an {expiry_date} placeholder, set your own date format, and decide what shows after a product expires: keep the date, hide it, or swap in custom text. The "Expired" badge is yours to style too. Change the label, pick the background color, and choose where it sits on single and archive pages. Variable products with no date of their own can roll up and display the soonest expiring variation on the parent. There is also a simple shortcode, [expiry_date before="" after=""], for dropping the date anywhere. Keep it in orders and emails Show the expiry date inside order details for both you and your customer, and include it in WooCommerce order emails so the record travels with every purchase. You can also send yourself an email notification when a product expires, with custom recipients and your own subject and body using {product_name}, {expiry_date}, and {product_url} placeholders. Manage everything from the products list A sortable Expiry column shows dates right in the products table, with a per variation breakdown for variable products. Quick edit the date, note, and action without opening the product. Filter the list to find what needs attention: within 7 days, within 30 days, this month, next month, within 3 months, within 6 months, or already expired. There is also an Email Log of the last 30 days of plugin emails, showing recipient, subject, type, and whether each one sent or failed. Built to fit your store

安装:

  1. Make sure WooCommerce is installed and active.
  2. Upload the plugin files to /wp-content/plugins/, or install it directly from Plugins > Add New in your WordPress dashboard.
  3. Activate the plugin.
  4. Edit any product and open the new Product Expiry tab.
  5. Set an expiry date and choose what should happen when that date passes, such as draft or out of stock.
  6. Visit Product Expiry > Settings to control how and where the date shows on your storefront.

屏幕截图:

  • Expiry date shown on the single product page
  • Filter products in admin by expiry status
  • Settings screen
  • Expiry date inside an order email

升级注意事项:

3.3 Adds new on expiry actions (reduce stock, mark as expired), an email log, faster 7 and 30 day filters, and WPML, Polylang, and RTL support. Safe update with no breaking changes.

常见问题:

Can I set an expiry date for each variation?

Yes. Every variation can have its own date, action, and note, set right inside the variation. A variable product can also show the soonest expiring variation on the parent page.

What happens when a product expires?

Whatever you choose per product. It can be left as is, moved to draft, set out of stock, have its stock reduced by an amount, or marked as expired with a badge and add to cart turned off.

Does expiry follow my site timezone?

Yes. Each product expires at the end of its chosen day in your site timezone, scheduled per product so it triggers at the right moment rather than on a shared batch.

Can I show the expiry date on the product page?

Yes. You can show or hide it on single product and shop pages, control exactly where it appears, choose its wording with a placeholder, and set your own date format.

Will I be notified when a product expires?

Yes. The plugin can email you the moment a product expires. You can set custom recipients and write your own subject and body using placeholders for the product name, date, and URL.

Can I edit expiry dates in bulk?

You can quick edit the date, note, and action straight from the products list. For bulk updates across many products at once, the Pro version adds CSV export and import.

Is it compatible with HPOS (High Performance Order Storage)?

Yes. Stock and order actions run through WooCommerce CRUD methods, so HPOS and product lookup tables stay in sync.

Does it work with WPML or Polylang?

Yes. Expiry data syncs across translated products with both WPML and Polylang, and the markup supports translation.

Can I expire products at a specific time, not just a date?

Setting an exact time in hours and minutes is a Pro feature, along with a live countdown timer for product pages.

Can I remind customers before something they bought expires?

Yes, in the Pro version. It sends buyers one branded reminder email per order a set number of days before expiry.

Can I automatically discount products before they expire?

Yes, in the Pro version. You can put products on sale a chosen number of days before expiry, by percentage or fixed amount, and the original price is restored automatically.

Will it slow down my store?

No. There are no external API calls on the frontend and no tracking. Expiry actions run on scheduled events rather than on every page load.

What happens to my data if I uninstall?

The plugin removes its options and scheduled events on uninstall, so you are not left with orphaned data.

更新日志:

3.3 3.2 3.1 3.0 2.9 2.8 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.5 1.4 1.3 1.2 1.1 1.0