Skip to main content

types

@shopify/shop-minis-platform-sdk / components/VariantPicker/types

VariantAvailability

Enumeration Members

Available

Available: 2

SoldOut

SoldOut: 1

Unavailable

Unavailable: 0


ProductOption

Properties

name

name: string

values

values: string[]


Variant

Properties

availableForSale

availableForSale: boolean

compareAtPrice?

optional compareAtPrice: null | MoneyV2

currentlyNotInStock

currentlyNotInStock: boolean

id

id: string

price

price: MoneyV2

quantityAvailable?

optional quantityAvailable: null | number

requiresShipping?

optional requiresShipping: boolean

selectedOptions

selectedOptions: VariantOption[]

stockStatuses?

optional stockStatuses: ProductVariantStockStatusEnum[]

title

title: string

variantImage?

optional variantImage: null | StorefrontProductVariantsNodesVariantImage


VariantOption

Extended by

Properties

name

name: string

value

value: string