Skip to content

defaultSelection

defaultSelection(product): Selection

The selection of the variant a page opens on: the first one that can be bought, else the first. A product with no variants has none.

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

Selection