Skip to content

CommerceContextValue

cartEnabled: boolean

True when the provider was given cart.


cartHref: string | undefined

The cart experience’s address: the holder’s cart link, else cart.cartHref.


cartOptions: CartOptions


cartStore: CartStore | null

The cart store; null when the cart is off, or until the store’s key and currency are known.


commerce: CommerceClient


confirmationHref: string | undefined

The order confirmation experience’s address: the holder’s order-confirmation link, else cart.confirmationHref.


content: ContentClient | undefined


currency: string | undefined


labels: Labels


locale: string | undefined


productData: ProductData | undefined


routePattern: string | undefined

The pattern product cards link through, from the holder.


store: CommerceStore