Lot numbers, expiry dates and FEFO in WooCommerce
How food, cosmetics, supplement and pet food shops can record lots, ship the earliest-expiring stock first and answer a recall in minutes with WooCommerce.
If you sell anything with a best-before date, two questions eventually matter more than total stock: which lot did we ship to this customer? and are we selling the oldest stock first? WooCommerce does not track either out of the box.
1. Record every delivery as a lot
When goods arrive, write down the lot (batch) number, the expiry date and the quantity. One product can have several lots at the same time — that is normal.
2. Ship first-expired, first-out (FEFO)
FIFO ships what arrived first; FEFO ships what expires first, which is what you want for perishable goods. On each order, take units from the lot with the earliest expiry date, and move to the next lot only when it runs out. Skip lots that have already expired so they are never shipped by accident.
3. Save the lots on the order
Store which lots and quantities went into each order line, and show them on the order screen, the packing slip and (if you want) the customer's email. When an order is cancelled or refunded with restocking, return the units to the exact lots they came from.
4. Watch what is about to expire
A simple list of lots that expire in the next 30 days lets you discount them, bundle them or pull them before they become waste.
5. Answer a recall in minutes
If a supplier recalls a lot, you need every order, customer and quantity that received it. With lots saved on orders, that is a single search instead of a week of spreadsheets.
Doing it in WordPress
Batch Expiry Stock adds lots and expiry dates to WooCommerce products, deducts them FEFO on every order (skipping expired lots), saves lots on order lines and packing slips, lists expiring stock and finds recalled lots instantly. Pro adds lots per variation, a daily expiry email, CSV import/export, a "best before" date on product pages and automatic removal of expired stock with a disposal log.
Try Pro free for 14 days See features and pricing