Cert++
Close

Master, variation group and variant product configuration

Key Takeaway

A variation with no value of its own for an attribute takes the value from the first of its variation groups, in "Variations" tab sort order, that defines one. Only if no group defines it does the base product's value apply.

In B2C Commerce, a product that comes in several versions, such as different colors and sizes, is built from a base product and its variations. Variation attributes, such as color and size, define how the variations differ. A variation group collects a subset of those variations, for example all the green ones, so you can merchandise and display them as one unit. Each of these product types has its own rules for categories, inventory, pricing and attribute values.

Base products, variations and variation groups

Business Manager and the Script API use different names for these product types.

Business ManagerWhat it isScript API
Base productRepresents all the variations of a product, such as every size and color of a bootMaster product
VariationOne specific instance of a base productVariant
Variation groupA set of variations that share at least one attribute value, such as color, and that is assigned to a base productVariation group

In the Script API, a master product is a template for related products that differ only by variation attributes, such as size or color. A master product is not orderable itself. Variants are the actual orderable products. Each variant of a master has a unique set of variation attribute values.

In the Script API, Variant and VariationGroup are both subclasses of dw.catalog.Product.

B2C Commerce Developer Study Guide

Checklist progress

0/237Learned

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other B2C Commerce Developer studiers. 796 members and growing.