Skip to content

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

ProductHeader

The ProductHeader container is designed to display the header information of a product on the product details page.

The container receives initial product data during initialization to preload the component and, being event-driven, updates with data emitted to pdp/data within the event scope.

ProductHeader configurations

The ProductHeader container provides the following configuration options:

Option Type Req? Description
hideSkubooleanNo Determines whether the SKU should be hidden in the header. Defaults to false.
scopestringNo Unique identifier for the PDP context. Only containers rendered with this scope will respond to product events.

Example

The following example demonstrates how to configure the ProductHeader container:

render(ProductHeader, {
hideSku: false,
});