Skip to content

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

ProductAttributes

The ProductAttributes container displays a list of attributes for 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.

ProductAttributes configurations

The ProductAttributes container provides the following configuration options:

Option Type Req? Description
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 ProductAttributes container:

return productRenderer.render(ProductAttributes, {
scope: 'modal', // optional
});