| 开发者 | sellinor |
|---|---|
| 更新时间 | 2026年9月28日 13:39 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
edfw_expiration_date field on WooCommerce products and variations, and filters to list products expiring within a date window — for syncing with an ERP, POS or warehouse system.wp edfw get | set | clear | list for scripts, scheduled jobs and migrations.sellinor-expiration-dates-for-woocommerce folder to /wp-content/plugins/.Yes. The plugin stores one date per product or variation and acts on it — what you call that date is up to you. You can also set the label customers see on the product page, for example "Best before".
You choose in the settings: hide it from the shop, set it out of stock, both, or do nothing and handle it yourself. You can also have the action run a number of days before the date. Hiding and out-of-stock also stop expired items from being bought: they cannot be added to the cart, and any already in a cart are removed at checkout.
Yes. Each variation can have its own date, or you set one default date on the parent that every variation without its own date uses. A variable product is only hidden once all of its variations have expired.
Yes. Products → Expirations → Import / Export downloads every product with its current date; edit the file and upload it again. Developers can also use the REST API or WP-CLI.
Only if you want it to. Turn on the product-page display in the settings, pick a label, and optionally show the date only when it is within a certain number of days.
The free plugin shows everything expiring soon on the Expirations overview and in a dashboard widget. Scheduled email digests are part of the Pro add-on.
The free plugin tracks one date per product or variation. If you receive the same product in batches with different dates, the Pro add-on tracks each batch separately and sells the earliest-expiring one first (FEFO).
Yes. The plugin declares full compatibility with WooCommerce High-Performance Order Storage.
Every automatic action (a product hidden or set out of stock), date changes made in the editor, by bulk edit, import, the REST API or WP-CLI, and the cleanup tools. Entries older than 90 days are removed automatically.
Only if you ask for it. By default your dates, settings and activity log are kept in case you reinstall. Turn on "Delete all plugin data" in Settings → Data & cleanup for a full cleanup.
edfw_page_header_actions action for adding buttons to the Expirations page header.edfw_hide_single_date_field filter so add-ons that derive the expiration date themselves can start the manual date field hidden in the product editor.