# Expiry dates and short-date discounts

For goods with a best-before date (food, supplements, cosmetics), SyncSHOP keeps which units in stock carry which **lot**
and **date**, sends the nearest dates first, shows shoppers the date they will get, and can lower the price automatically
while that date is close.

## Dates in stock

- **On a goods receipt** (Stoc → Recepții), each product row has a **Lot** and an **Expiră pe** (best before) column.
  A row with a date adds its units to stock with that date; the same product on two rows can carry two lots.
- **For units already on the shelf**, open the product's stock page (Stoc → the product) and, under **Loturi și
  termene**, add the date, lot, location and number of units. You cannot label more units than the location holds
  without a date. The bin removes a date (the units stay in stock, without it).
- **Goods out take the nearest date first**: a sale, a transfer out or a count that finds fewer units lowers the lot
  that expires soonest, so the dates follow the shelf. (Units with no date are left as they are once the dated ones
  run out.)
- **Stoc → Termene** (dates) lists the lots that expire within 7 to 90 days, and those already past their date, with
  their stock and location.

## Short-date discounts

A percentage or fixed price cut (Marketing → Promoții) has a field **Doar cu termen în cel mult … zile** (only when
expiring within … days). Filled in, the cut applies only while the product's **nearest date in stock** (at the locations
that send online orders, past dates left out) is at most that many days away; it stops by itself when that lot is sold.

For tiers, make one promotion per tier, for example *Termen scurt −20%* within 30 days and *Termen scurt −40%* within 7
days: the deepest cut that applies wins, as for any price cuts. Target them as usual (all products, or some
categories, brands or products).

The cut is shown and recorded like any other price cut: the reduced price on the product, in lists and the cart, the
lowest price of the previous 30 days next to it (Omnibus), and its name under the price.

## In the shop

The product page shows **Expiră pe** (best before) with the nearest date in stock, for products the shop keeps dates
for, while they are in stock online. Since goods go out nearest date first, that is the date the buyer receives (or a
later one).
