CommerceContextValue
Properties
Section titled “Properties”cartEnabled
Section titled “cartEnabled”cartEnabled:
boolean
True when the provider was given cart.
cartHref
Section titled “cartHref”cartHref:
string|undefined
The cart experience’s address: the holder’s cart link, else cart.cartHref.
cartOptions
Section titled “cartOptions”cartOptions:
CartOptions
cartStore
Section titled “cartStore”cartStore:
CartStore|null
The cart store; null when the cart is off, or until the store’s key and currency are known.
commerce
Section titled “commerce”commerce:
CommerceClient
confirmationHref
Section titled “confirmationHref”confirmationHref:
string|undefined
The order confirmation experience’s address: the holder’s order-confirmation link, else cart.confirmationHref.
content
Section titled “content”content:
ContentClient|undefined
currency
Section titled “currency”currency:
string|undefined
labels
Section titled “labels”labels:
Labels
locale
Section titled “locale”locale:
string|undefined
productData
Section titled “productData”productData:
ProductData|undefined
routePattern
Section titled “routePattern”routePattern:
string|undefined
The pattern product cards link through, from the holder.
store:
CommerceStore