Skip to content

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,
});