Skip to content

availabilityLabel

availabilityLabel(status, labels, text?): string

What availability says, from the three statuses. text is an editor’s own words for the status, which win over the label.

"backorder" | "inStock" | "outOfStock"

Labels

string

string