In the apparel industry, for example, product variants are identical in design and functionality but differ in size and color.
Let’s be more specific:
A base product "T-shirt" has several color variants: black, red, and white. Each colored T-shirt in turn is offered in different size variants: large, medium, or small.
Note, customers can see the colored T-shirts in the storefront, but they can only buy colored T-shirts in a specific size.
Let’s see how this is done:
First, you need to create a base product, a T-shirt in our example, to hold common properties and indicate that it varies by color, by referencing the type ApparelStyleVariant. Based on that structure, you can create variant products in different colors based on the same T-shirt. Each color variant needs to reference the type ApparelSizeVariant, and do the same for the different colors in different sizes.
This is demonstrated in the example below.
Basic Variant Product Model - Customer Perception on the Storefront
- The base product shown below is a men’s short sleeve shirt (non-purchasable, non-viewable, holds common properties like brand or material).
- The intermediate style variant is red (viewable, but still non-purchasable).
- The final variant is size: small (purchasable item – small, red shirt).

Basic Variant Products in B2C Accelerator - Structure
Let us look at this example in a little more detail.
As shown in the following diagram, the base product named 1 has its variantType property set to the StyleVariantProduct type. This property tells the system to add a style property to any StyleVariantProduct, used to identify the color. The variants property links to two actual products to which this applies, A and B, with the colors red and green, respectively.
But, we are not done yet.
Both StyleVariantProducts tell the system that they reference further variants. The variantType property states that items of the type SizeVariantProduct are referenced.

If we look at StyleVariantProduct B, we see that it refers to three SizeVariantProduct items, labelled F, G, and H.
All three products have their variantType property set to the SizeVariantProducts type. This property tells the system to add a size property to any SizeVariantProduct, in our example, Small, Medium, and Large.
Since, as we saw in the previous diagram, SizeVariantProduct is referenced by StyleVariantProduct, products F, G, and H also gain the style property Blue.
In summary, SizeVariantProducts F, G, and H have a size, and they are referenced by StyleVariantProduct B, which gives them the color blue. Because StyleVariantProduct in turn is referenced by baseProduct 1, our three SizeVariantProducts, F, G, and H, also gain all properties defined for baseProduct 1 (for example, material and brand).
But how does the system know that F, G, and H are actually purchasable products?
Their variantType property is not set, indicating they are the last tier of the variance structure and thus represent purchasable "complete" items. That is, they represent the actual Stock-Keeping Units (SKUs).
Only SKUs are assigned individual pricing and stock info.

Base and Variant Products in the Backoffice
The following image displays Base and Variant product information in the Product view of the Product Cockpit:
The highlighted box icon below the left image indicates that it is a Base Product: the T-shirt Men Playboard Logo, with identifier M35364, located in the Staged catalog version. The image displayed is a red T-shirt for illustration purposes, since this base product isn’t red. In fact, it has no color.
The highlighted factory icon below the right image indicates it is a Variant Product: the T-shirt Men Playboard Logo Red, with identifier M35364_R, located in the Staged Catalog Version.
Note
The variant product’s article number, M35364_R, denotes that it’s the red variant of base product M35664. This is merely an example of the kind of naming convention you may wish to use and has no functional effect on the relationship between base and variant products.

Quick Start Guide to Create Apparel Variant Products in Backoffice
- Create or select your product with basic information in the Product view of the Product Cockpit.
- Select the Variants tab and choose your product variants type from the dropdown (for example, Apparel Style Variant) and save it.

- Click on + Create Apparel Style Variant, and provide all required data. The product you defined in step 1 is already pre-selected as the Base Product. Repeat this step for each style that you want to create. If your product only varies by style (which is to say, color), you are done. Otherwise, perform step 4.
- Repeat steps 1–3 for each style variant product, but this time, select Apparel Size Variant.
