

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.
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.
[pexp_message], to put the cart message anywhere, or a product’s own date with [pexp_message show="product"]The free version is permanent. It does not expire, needs no licence key, and never contacts PluginCity.
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.