Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

OrderHeader Container

Version: 3.0.0-beta2

Configuration

The OrderHeader container provides the following configuration options:

ParameterTypeReq?Description
handleEmailAvailabilityfunctionNo
handleSignUpClickfunctionNo
orderDataOrderDataModelNo

Slots

This container does not expose any customizable slots.

Usage

The following example demonstrates how to use the OrderHeader container:

import { render as provider } from '@dropins/storefront-order/render.js';
import { OrderHeader } from '@dropins/storefront-order/containers/OrderHeader.js';
await provider.render(OrderHeader, {
handleEmailAvailability: handleEmailAvailability,
handleSignUpClick: handleSignUpClick,
orderData: orderData,
})(block);