Variant groups is an optional feature that allows you to regroup the different options available for your variants such as by color and size. See Variants for more information. You must first enable the Product variant groups feature under Configuration > Products.
For example, the current iPad comes in Black or White and 16GB or 32GB. We would then create 2 variant groups name "Color" and "Storage" to store the relevant attributes. The attributes can be edited under the Option tab of each group.
Then edit their attributes,
Which will now make the variant groups accessible when creating possible combinations of variants
By selecting the proper variant groups in the dropdown menu.
Once you defined your variant groups, your individual variants can then be assigned to one of the available variant group combinations (Black 16GB, Black 32GB, White 16GB, White 32GB, etc.). Once all your variants are associated, the Product Detail module control will allow the customer to pick a variant using the variant groups "Storage" and "Color". If one variant is not associated to the variant group combination, the Storefront will continue to display the variants in the default selection mode without the grouping.
If you use the variant groups feature on your variants, you must ensure every variant is associated to a variant group. If even one variant is not associated, the Storefront will show the default variant dropdown box instead of showing the variant group control.
Powered by Revindex Wiki