What is stored for each lot
Five fields, nothing invented:
- Lot number — up to 64 characters, your own numbering.
- Quantity — units still in that lot, reduced as sales are allocated.
- Expiry date — the date you enter or import. Foreshelf never guesses it.
- Received date — optional, used to show how long a lot has been sitting.
- Unit cost — optional; without it the lot's value is reported as unknown, not as zero.
Three ways to get your lots in
One at a time, from the Batches & expiry screen: search the product, pick the variant, type the lot, the quantity, the expiry date and the cost.
By CSV, for a whole catalogue at once. The template columns are
sku,lot_number,quantity,expiry_date,received_date,unit_cost. French Excel files with
semicolons, BOM and jj/mm/aaaa dates are accepted; a date that can be read two ways
(like 03/04/2027) is refused with an explanation instead of being guessed.
At receiving, on Plus and above: goods received against a purchase order can be recorded by location.
Manual entry and CSV import are covered step by step in Track batches; the column-level rules and the ambiguous-date refusal are in Expiry dates and lots.
What the lot record changes
- Expiry alerts — lots are grouped as critical (under 30 days), warning (30–60) and informational (60–90), with the value at risk for each lot.
- Value at risk — quantity × unit cost. Lots without a cost are excluded and the total says how many, instead of quietly counting them as zero.
- FEFO allocation — when the forecast simulates future sales, they consume lots in expiry order, and an expired lot consumes nothing. That is how a WAIT decision gets its number: “217 units will expire before sell-through”.
- Reordering — a lot that will expire before it sells turns a reorder into a wait.
What it does not do
Foreshelf reads your Shopify stock and does not write quantities back to Shopify. Receiving goods or correcting a lot updates records inside Foreshelf; change quantities in Shopify when needed.
Expiry dates are not a Shopify field, so they cannot be synced from your products. Every date you see was imported or typed.
Where to start
- Open Expiry dates and lots for the CSV format and the rules it applies.
- Read FEFO vs FIFO if you want to know why the order matters.
- See expiry-aware inventory for the decision that uses all of this.
Questions merchants ask
Does Foreshelf read expiry dates from Shopify?
No. Shopify has no expiry field for a lot. Dates come from your CSV or from the Add a lot form.
Can I import thousands of lots at once?
Yes, by CSV. Each row is validated; rows with a negative quantity, a missing quantity, a bad date or an unknown SKU are refused with a message, and the rest is still imported.
What happens when a lot expires?
It stays visible and keeps its cost. Forecasts no longer allocate sales to it, so its units count as spoilage rather than as sellable cover.
Does the app change my Shopify quantities?
No. It reads them. Nothing is written back.