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.
Parameters
Section titled “Parameters”status
Section titled “status”"backorder" | "inStock" | "outOfStock"
labels
Section titled “labels”string
Returns
Section titled “Returns”string