Batch & lot tracking

Batch and lot tracking that Shopify does not do

Shopify has no native batch or lot record: no lot number field and no expiry date on a product or variant. Foreshelf adds both, one record per lot and per variant, and uses that record in every expiry and reorder decision it makes.

What is stored for each lot

Five fields, nothing invented:

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

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

  1. Open Expiry dates and lots for the CSV format and the rules it applies.
  2. Read FEFO vs FIFO if you want to know why the order matters.
  3. 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.

Install free on Shopify