Product Variations

Most products are available in a variation of sizes or colors. Salesforce B2C Commerce represents all variations as a single product, called a variation master.

What is a Product Variation?

Each variation master has variation attributes that determine how a product varies. For example, a shirt variation master can have size and color as variation attributes. A shoe variation master can have size, color, and width as variation attributes.

  1. A variation master represents all possible variations.
  2. A variation group represents a subset of values, such as all blue shoes in any size.
  3. A variation product is a single product with specific values for all variation attributes. For example, a shoe that is blue, size 10, and width A. A variation product is a real product that has attributes in addition to the variation attributes, such as SKU, name, description, images, and price.

With variation products, you can:

  • Define variation values per product master
  • Overwrite the localized display names of variation values per master
  • Control the sort order of variation values per master
  • Visualize variation values in the storefront (for example, color swatched and Scene7 URLs)

Variation masters, variation groups, and variation products are all separate product types. However, variation groups and variation products must be associated with a master product. Often, you don't want to sell all possible variation products. You create variation products for each product that you want to sell and assign them to the variation master. For example, you only want to sell size 2 and 3 in red and blue. You create four variation products (red-2, red-3, blue-2, blue-3) and assign them to the variation master.

It isn't possible to purchase a master product, because it includes all possible variants. A variation group can be purchased as a product, and can function similarly to a product set. When a variation group functions as a product set, the products to purchase are the individual variation products in the group.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.