Skip to content

CommerceProviderProps

optional assetsProvider?: string

The provider key of the Assets registration, when the page carries no ebitex-image reference to learn it from.


optional cart?: CartOptions

Turns the cart on (see CartOptions).


optional children?: ReactNode


commerce: CommerceClient

A Commerce Delivery client with a browser-safe key restricted to the site’s origins. Price and availability are always read through it, in the browser.


optional content?: ContentClient

The Content client the site is rendered with: the storefront holder and product images are read through it. Without one there are no images, no labels from Content and no product links.


optional currency?: string

An ISO 4217 code the store sells in, for products the sections read themselves (pinned products and lists). The store’s own currency by default. Give createProductData the same.


optional labels?: Partial<Labels>

Labels in code, over the ones the holder Component carries and the English defaults.


optional locale?: string

The locale money and numbers are formatted in. Default: the Content client’s resolved locale, else the browser’s.


optional productData?: ProductData

What createProductData(commerce) returned: the same object <Experience routeData> is given. Without it a section with no pinned product draws nothing.


optional visitors?: VisitorsLike

A visitors SDK instance (@ebitex/visitors-sdk). Selling does not need one. When given, a cart request carries the shopper’s visitor token only while it is a recognition token (consent granted); the kit never stores it. When the instance forgets the device, the kit removes its own storage entries too.