Assigning Variations and Building Child Products
Product variations are the options available for a parent product that your shoppers can choose, such as different sizes, colors, materials, or any other specific features. You can create and manage up to 10,000 unique combinations of options for variations of a product. You can then use catalogs to build different catalogs for different users, giving you greater flexibility with your product data and making it easier for your shoppers to interact with your products.
You assign variations and build child products in the Variation builder of a product.
Reusability
Variations are reusable, and you can associate the same variation to any number of products. The following scenario provides an example:
- Create a variation
shoe sizeand add five options in the variation. - Create a product
shoe 1and associate the variationshoe sizeto the product. - Create second product,
shoe 2and associate the variationshoe sizeto this product as well. - Create a third product
shoe 3and do not associate any variations to this product.
shoe 1 and shoe 2 inherit the properties of the shoe size variation, and you can build the child products with the options. However, you cannot build child products for shoe 3 unless you assign a variation with at least one option to the product.
Prerequisites
Before assigning variations to your products:
-
Ensure that one variation with at least one option is available.
-
Ensure that variation and option names:
- Contain only uppercase and lower case letters.
- Contain digits from 0 to 9, underscore (_), or hyphen (-).
- Do not contain any other special characters.
You can build the child products only if all variations and the options are named appropriately. See Creating Variations and Options.
-
(Optional) In addition, for each option you can configure product and price modifiers. See Creating Product Modifiers.
In a store, you cannot change the variations of organization products.
Assigning Variations
-
Go to Merchandise > Products > All products and select the product.
-
At the top of the product page, select Build variations. The Variation builder opens.
If the product already has child products, select n variation(s) at the top of the product page, and then select Variation builder.
-
Under Step 1: Select variants, select Add variant.
-
In Find variant, search for and select a variation. The variation and its options are added to the product.
-
Repeat steps 3 and 4 to add more variations.
To create a variation that doesn't exist yet, select New variation. The Variations page opens in a new tab.
To remove a variation from the product, select the trash can icon next to the variation and select Remove variation.
Including/Excluding Variation Options
When building your child products, you can choose to exclude or include variation options. This is useful, for example, if you have a variation option that you do not sell. This makes managing and building your child products quick and easy.
You cannot configure a combination of inclusions and exclusions. In other words, you cannot include all small, medium, red, and blue t-shirts, apart from small, red t-shirts.
To include or exclude variation options:
-
In the Variation builder, under Step 2, select a Rule type:
- Exclusions to list the specific option combinations that are unavailable for this product. For example, you may want all your t-shirt variation options to be built apart from large, red t-shirts.
- Inclusions to list the specific option combinations that you want created. For example, you may want none of your variation options to be built apart from medium, blue t-shirts.
-
Select Add exclusion or Add inclusion, depending on the rule type you selected. A new rule row is added.
-
In the rule row, select Select option to exclude or Select option to include, select a variation, and then select the option.
-
Repeat step 3 to add more options to the rule, for example, large and red to exclude large, red t-shirts.
-
Repeat steps 2 to 4 to add more rules.
Your rules are saved when you build your child products or select Done.
Building Child Products
Child products are generated by combining the variations and the options within each variation. For example, if you assign the following variations for the product, T-Shirt, with the SKU 8541269:
| Variation | Option |
|---|---|
| size | small, medium, large |
| color | green, blue, red |
When you build the child products, nine child products are created, one for each combination of options, such as:
| Name | SKU | Type |
|---|---|---|
| T-Shirt | 8541269SmallRed | Child |
| T-Shirt | 8541269MediumRed | Child |
| T-Shirt | 8541269LargeRed | Child |
| T-Shirt | 8541269SmallGreen | Child |
| ... | ... | ... |
To build your child products:
- In the Variation builder, add the variations and, optionally, the inclusion or exclusion rules for the product.
- Under Build child products, select Build now. Commerce Manager saves your rules and builds the child products.
- When the build is complete, select View child products to see the child products on the Child products tab.
- Select Done to return to the product.
After updating or deleting variations and options, you must rebuild the child products for the changes to take effect. To rebuild your child products, open the Variation builder and select Build now.
Viewing Child Products
After you build child products, the top of the parent product page shows n variation(s), where n is the number of child products. On a child product, it shows the child product's options instead.
Select it to open a menu where you can:
- Select a child product in the list to open it.
- Select Variation builder to open the Variation builder.
- Select See all in table view to list all child products on the Child products tab.
If you open the menu from a child product, the Variation builder and See all in table view links open the parent product. In the confirmation dialog, select Switch to parent.