Skip to content

commerceRenderers

commerceRenderers(): Record<string, RendererEntry>

The renderer map for <ContentProvider renderers={...}>: every storefront kit Template, keyed by its external id. Spread it after the starter kit’s:

renderers={{ ...ebitexRenderers(), ...commerceRenderers() }}

ebitex-shop-experience-template is the starter’s own experience renderer: a shop experience has the same content shape as the starter’s. It also returns ebitex-site-header-template, the starter’s header with the cart button in its end slot; a host that does not want the button deletes that one entry (const { [HEADER_TEMPLATE_ID]: _, ...rest } = commerceRenderers()). Replace an entry to draw one Template yourself.

Record<string, RendererEntry>