Pro feature
Per-category rules
Overview
Your global settings decide what happens when any product expires. Rules let a category behave differently — dairy can be hidden two days early while canned goods simply go out of stock on the day, and fresh bread can skip discounts altogether.
Rules live under Products → Expirations → Settings → Rules.
Adding a rule
Click Add rule, pick a Category, and set only the columns you want to change. Anything left on Inherit (or empty) uses your global settings.
| Column | What it does |
|---|---|
| Expiry action | What happens at expiry: do nothing, set out of stock, hide, or both. |
| Days before | Run the expiry action this many days before the date. |
| Show date | Show or hide the expiration date on the product page for this category. |
| Discounts | Turn automatic discounts on or off for this category. |
| Stop selling at (days left) | Customers can no longer buy a product once fewer days than this remain — even before its expiry action runs. Useful when shipped goods must arrive with time to spare. |
| Shelf life (days) | Default shelf life for products in the category. |
Which rule applies
- Rules are checked from top to bottom, and the first matching rule wins.
- A rule on a parent category also covers its subcategories.
- A product in several categories uses the first rule that matches any of them — so put your most specific rules at the top.
- Variations follow their parent product’s categories.
Good to know
- Saving your rules re-applies them to every affected product automatically; there is nothing to re-save product by product.
- While the Pro license is inactive, rules are paused and your global settings apply. The rules themselves are kept and come back when the license is active again.