跳到内容

PluginCity Product Expiry Dates for WooCommerce

v1.1.0

PluginCity · 2026年9月30日 上架

Set a product expiry date in WooCommerce. When it passes the product comes off sale, and a cart still holding it cannot be checked out.

正在使用
10 以下
评分
暂无
累计下载
460
最近更新
2026年11月9日
需要 WordPress 6.7+已测试到 7.1.5PHP 8.1+

贡献者

截图

The Expiry tab on a product. Type the date it can no longer be sold after, and the time of day if the date alone is not close enough.
The Expiry tab on a product. Type the date it can no longer be sold after, and the time of day if the date alone is not close enough.
The Expires column on your products list. Every date in the shop on one screen, with whatever has already stopped selling marked.
The Expires column on your products list. Every date in the shop on one screen, with whatever has already stopped selling marked.
A product whose date has passed. The Add to cart button is gone and your own sentence stands where it was.
A product whose date has passed. The Add to cart button is gone and your own sentence stands where it was.
A cart holding something that has since gone off. The product is named at the top, the shop's own message sits with the totals, and the order will not go through until it comes out.
A cart holding something that has since gone off. The product is named at the top, the shop's own message sits with the totals, and the order will not go through until it comes out.
The same cart at the checkout. A customer who comes straight to this page is refused here too, so an expired product cannot be paid for by skipping the cart.
The same cart at the checkout. A customer who comes straight to this page is refused here too, so an expired product cannot be paid for by skipping the cart.
The two sentences a customer reads are yours to write, and %s is where the products get named.
The two sentences a customer reads are yours to write, and %s is where the products get named.

Some things should not be sold after a certain date: an event ticket is worthless the morning after, seasonal stock misses its season, a limited-time offer ends, and a course closes for enrolment. WooCommerce has no way to say so.

Watch the setup tutorial on YouTube:

PluginCity Product Expiry Dates for WooCommerce adds an Expiry tab to every product with one box on it: the date it can no longer be sold after. When that moment passes the product comes off sale on its own, and a cart that already held it cannot be checked out.

What you get

  • One expiry date per product, on an Expiry tab just below Inventory
  • An Expires column on the products list, showing what has stopped selling
  • The product taken off sale once the date passes, with a sentence on the page saying why
  • Carts that outlived the date refused at the checkout, naming the product to remove
  • Notices on the cart, checkout and mini-cart, in the classic checkout and the blocks
  • PayPal express buttons refused too, so a one-tap order cannot get past the date
  • A shortcode, [pexp_message], to put the cart message anywhere, or a product’s own date with [pexp_message show="product"]
  • Settings import and export, to copy a configuration to another shop
  • High-Performance Order Storage compatibility

The free version is permanent. It does not expire, needs no licence key, and never contacts PluginCity.

Pro

Not every product goes off all at once. Pro is for shops that need the exceptions: trade accounts that may still buy cleared stock, a shelf life that dates products for you, dates per variation and in bulk, a warning before a date passes, an automatic markdown as it approaches, and a block and an Elementor widget for the expiry display.

Pro is a separate paid version, sold and distributed by PluginCity. It is not included in this plugin and is not downloaded or installed by it, and nothing described above depends on it. Your dates and settings carry over if you buy it.

Configuration

  1. Turn expiry dates on.
  2. Edit a product, open its Expiry tab below Inventory, and type the date it can no longer be sold after.
  3. Write the message customers see, and choose whether it appears on the cart, at checkout, or both.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums