How to set up a variant group model
A guide to set up a variant group model
Setting up variant group model
To set up a variant group model, you need to add it to an existing product structure that has variants, either when editing it or during the setup. For this example, we will be using the product structure "Demo Structure" from the tutorial How to set up and edit a product model, which was also updated to contain the variant model in the tutorial How to set up a variant model.

When configuring the product model, toggle the "Has variant groups" option to enable the variant group model in the product structure. A new variant group model option will appear under the variant model configurations.
Click on the variant group model title to expand and view the various setup options and navigate to "Model setup".
Model setup

When creating a data model for variant groups, the process is similar to setting up a variant or product model. The key distinction is that you need to specify grouping attributes. In the example above we are grouping based on the color of the variants.
Follow the same setup process detailed in the previous guides. Consult the product model guide or the variant model guide for more information.

You can add a "Variants" tab, as shown in the example above, to easily view different variants within the selected variant group.
Once the data model has been configured you can proceed to wizard setup.
Wizard setup

Just like when setting up a product model or variant model, the wizard setup is optional. However, it can be beneficial to others using the PIM when needing to add or copy new entities. As with the variant model, you only have the option to set up a "Model creation flow" to guide users when creating a new variant group.
In the example above color has been set as mandatory in the wizard step, as it is used as an grouping attribute and therefore needed.
Configuring a wizard setup in a variant group model, is done the same way as for the product model.
Once done with the wizard setup the next setup is display settings.
Display settings

The setup of display settings in the variant group model is done the same way as the product model.
In the example above, thumbnails are generated using the PrimaryImage attribute, and the display name is rendered from the color attribute.
The next and final step in the setup of variant group model is identifiers.
Identifiers

Identifiers can uniquely identify each variant group, similar to the product and variant models. The setup process is identical to previous models and remains optional. For further details, refer to either the product model tutorial.
Last updated