The ProductOptions
container manages and displays product options on the product details page.
ProductOptions configurations
The ProductOptions
container provides the following configuration options:
hideSelectedValue | boolean | No | Hides the selected value of the option. |
onValues | function | No | A callback function that receives the selected option UIDs. |
onErrors | function | No | A callback function that receives any errors encountered during option selection. |
slots | object | No | An object containing slot overrides for the Swatches component. |
Example
The following example demonstrates how to configure the ProductOptions
container: