Skip to content

optionStates

optionStates(product, axisName, selection): OptionState[]

Each value of one axis, with whether it is offered given the other axes’ current choices. Values come in the axis’s own order.

Pick<Product, "axes" | "variants">

string

Selection

OptionState[]