Skip to content

FactAvailabilityLabels

FactAvailabilityLabels = Partial<Record<"in_stock" | "out_of_stock", string>>

Defined in: core/src/facts.ts:42

The page’s own words for each stated availability, for example { in_stock: "In stock", out_of_stock: "Sold out" }. The availability fact shows the label for the stated state. With no label for that state, the fallback stays: the stated code is data, never text for visitors.