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. It fetches and manages product data, and renders the product’s name and SKU in a header component.

ProductHeader configurations

The ProductHeader container provides the following configuration options:

OptionTypeReq?Description
hideSkubooleanNoDetermines whether the SKU should be hidden in the header. Defaults to false.

Example

The following example demonstrates how to configure the ProductHeader container:

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