Variation Group in SFCC
Technically a variant could be in multiple groups. One way to do this is to get the ProductVariationModel of that variant's master. Then you could set the selected value (setSelectedAttributeValue(String, String)) of the attribute your group is represented by. Finally you can get the collection of groups (getVariationGroups()) that share that selected value.
Demandware Docs
Demandware Docs
Comments
Post a Comment