Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / PickerVariant

Type Alias: PickerVariant

PickerVariant = Pick<ProductVariant, "variations" | "inventory" | "isDefault">

What the picker reads of a variant — a page may hand it a lighter copy than ProductVariant. A product's variants are its active ones, in the merchant's order: the picker takes them as they come.