To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Fluent builder for a single variant parameter of a product being built, such as size or colour, together with its selectable options. Created via ProductBuilder.newProductParameterBuilder, configured by adding options, and built as part of ProductBuilder.build.
Group: Builders
Methods
addOption(String name, String title, String imageHash)
Returns: ProductParameterBuilder
Adds a selectable option to this parameter, such as a specific size or colour value.
| Parameter | Description |
|---|---|
name | the option's path-safe identifier |
title | the option's display title |
imageHash | the content hash identifying the option's image, or null if it has none |