Shopify doesn't track expiration dates. It counts each variant as one pile of identical units, so 40 jars made in two batches with two best-before dates are just 40 jars. The common workarounds are a metafield with a date, tags, or a separate variant for each batch, and each breaks down once you have more than one batch on the shelf. Tracking expiry properly means tracking batches (lots), with a date on each, and selling the oldest first.
The short version
- No expiry field in Shopify's inventory, and no per-batch counts.
- A metafield holds one date per product or variant, not one per batch.
- A variant per batch works for one or two batches, then clutters the store.
- Shopify can't sell oldest-first. That's a packing habit or an app.
- Expired stock leaves with Adjust by. Shopify has no "expired" reason, so pick one and add a note.
The workarounds and their limits
| Workaround | How | Breaks when |
|---|---|---|
| Metafield | A date field on the variant | Two batches with different dates are on the shelf |
| Tags | "exp-2026-12" on the product | Same, and tags don't count units |
| Variant per batch | "Batch Nov" and "Batch Dec" as options | Every batch adds a variant; old ones linger; customers see them |
| Spreadsheet | Batch, date, quantity | Someone forgets to update it after packing |
A made-up example: two batches, one shelf
Waiʻanae Granola makes Mango Coconut in batches of 120 bags with a 4-month best-before. On November 1 the shelf has 30 bags from July (best before November 20) and 120 from October (best before February). Shopify says 150.
With only Shopify, packers grab whatever's at the front, and in late November 18 July bags are still there, past date. With batches tracked, the July bags are picked first and the owner gets a warning on November 10 that 22 bags won't sell in time; they go into a discounted bundle instead of the bin.
Handling expired stock in Shopify
When stock expires, take it out of what customers can buy:
- Use Adjust by to move the expired units to Inventory removal, and write the reason in a note. Shopify's reasons don't include "expired", so use Correction or Damaged consistently and say why.
- Or, while you decide, move them to Unavailable > Other, so they stay counted but can't sell.
Shopify unavailable inventory covers the states.
Showing dates to customers
Some shoppers want to know a product's date before buying, especially for food and skincare. A product metafield can show a "best before at least" date on the product page, if you update it as batches change. Keep it conservative: show the earliest date you might ship.
Where this stops working
Every workaround stores a date somewhere Shopify ignores. Shopify won't stop a past-date unit selling, won't pick oldest first, and won't tell you what's about to expire. And none of them tie a date to the ingredients: if the coconut flakes expire before the granola does, the granola's date is wrong. Shopify lot numbers and FEFO vs FIFO cover the real fix.
How TaroStack does it
TaroStack for Shopify runs inside your Shopify admin and gives every batch a lot code, production date and best-before date, and every ingredient its supplier's dates. It uses first-expired-first-out by default, keeps holds and quarantine out of what can be sold, and forecasts what will expire unsold and what it will cost. Finished batches go onto your Shopify location as one count, with the dates kept behind it. Free for 14 days.
