Products

Product variants

Flexible product variants for your sales channels or applications.

The product variants functionality defines how variations of a product are structured and managed in the catalog. Variants enable flexible handling of product attributes such as size, color, fit, or material — essential for both B2C and B2B use cases.


Primary methods for managing variants

Two methods are available for handling variants:

  • Multiple SKUs on a single product.
  • A Variant Group that connects separate products.

Every product must have at least one SKU. A product can also include multiple SKUs (e.g., S, M, L for fashion). Stock and warehouse shelf locations are managed at the SKU level.

A Variant Group links individual products and lets you specify one or more variant dimensions on the connection (e.g., color: red; fit: slim). You can designate a main product for the Variant Group and collapse product listings to show only the main product.

Every product must have at least one SKU. Variant structures determine how data is grouped, displayed, and synchronized between product information, stock, and storefront listings.
Both methods are often used together. For example, create separate products for each color variant and connect them in a Variant Group; sizes then exist as SKUs on each color variant.

Key configurations

TypeDescription
SKUUnique identifier for a specific product variation. Required for all products.
Variant dimensionsAttributes that differentiate variants, such as size, color, or fit.
Variant groupA group that connects several variants of the same product.
Main productThe designated product representing the variant group in listings.
Inventory linkConnects stock data and shelf locations at the SKU level.

Typical use cases

The product variant functionality enables a variety of use cases, providing flexibility in catalog structure and merchandising control.

1. Managing simple variants on a single product

Handle multiple SKUs (e.g., sizes) directly on one product entry.
Examples include:

  • Managing stock levels per size (S, M, L).
  • Displaying all available sizes under a single product detail page.

2. Grouping multiple products as variants

Link related products together via a variant group for cleaner storefront presentation.
Examples include:

  • Connecting color variants (red, blue, green) as part of the same product family.
  • Displaying a single main product with selectable color options.
Available variant group dimensions are configurable and needs to be defined in advance.

3. Combining both methods for advanced catalogs

Use both SKU-level and product-level variants for complex products.
Examples include:

  • Color variants as separate products, each with its own set of size SKUs.
  • Managing warehouse stock per SKU while showing one unified product in the storefront.

Translating variant dimensions and values

You can translate the dimension names and values of a variant group into each language your store uses. The default name and value stay unchanged. A language without a translation shows the default text.

What you translateExampleScope
Dimension name"Color" to "Färg" in SwedishOne translation per language applies to every product that uses the dimension.
Dimension value"Red" to "Röd" in SwedishEach product's value has its own translation. If ten products have the value "Red", translate it on each of them.

You can write translations in two ways:

Storefronts read the translations from the Merchant API. On VariantType and VariantDimensionType, localizedDimension returns the dimension name and localizedLabel the value, in the language of the request. VariantValueType has localizedLabel. The fields dimension, value and label always return the default text, so variant selectors and filters that match on them keep working.

Show `localizedDimension` and `localizedLabel` to shoppers, and keep matching variants on `dimension` and `value`.

related featuredescription
productsBase entity for catalog structure. Variants extend product data and relationships.
inventory / stockStock management occurs at the SKU level, connected to each variant.
pricingSupports per-variant or per-SKU pricing logic.
media and assetsVariant-specific images or media can be assigned (e.g., color photos).
PIM integrationEnables external product data synchronization for variant management.
Use variant groups to simplify product listings and improve storefront navigation. Managing inventory at the SKU level ensures accurate availability tracking across all variants.
Related