Kaizen
Browse modulesPricingpricing/sharedSchemas and constants

Variable: TIER\_DIALOG\_PRICING\_UNITS

const TIER_DIALOG_PRICING_UNITS: readonly PricingUnit[];

Defined in: shared/pricing/unit-labels.ts:77

The units the tier dialog offers, in display order — a deliberate subset of the enum.

DEFERRED (faithful-but-scoped, PLA-139): the Figma also offers a "Per reservation" unit, and nothing in PricingUnit maps to it. PLA-234 closed that as won't-build — since PLA-276 resolved flat to 1 unconditionally, "per reservation" and "Fixed amount" compute the same amount, and two spellings of one price is how configs drift. It stays out.

The Figma's "Duration" select is NO LONGER deferred: the second per-unit axis landed in PLA-235 (BasePriceAction.per) and the dialog surfaces it in PLA-279, offering DurationPricingUnit.options labelled from PRICING_UNIT_LABELS above. It is enabled only for a unit supportsDurationAxis accepts, and it IS persisted on the tier (default_per) — see PriceTierDefaultPrice.durationUnit.

The pricing-unit-conditional "Max." limit fields are no longer deferred, but note WHAT changed: not that taproot started persisting them. PLA-233 established that purchase-quantity caps are order-time data the CONSUMER stores, so the dialog now collects a single generic cap (PriceTierFormValue.maxQuantity, labelled with PRICING_UNIT_QUANTITY_NOUNS) and hands it back — there is still no column, and deliberately so.

NOTE: the Figma's inline "Max. capacity" is not a lost feature; it is a group-size cap already expressible through the dialog's Capacity section as a GROUP_SIZE condition. It is omitted only as a duplicate presentation.