Cmerce

Variants and options

How to create several versions of the same item – such as size and colour – with product options, and generate one variant per combination with its own price, SKU and barcode.

Owner/manager Back office Last updated 09.10.2026

If you sell the same item in several versions, for example a T-shirt in sizes S, M and L and in black and white, you create one item with several variants. Each variant has its own price, SKU, barcode, VAT class and stock. The customer chooses the variant in the webshop, and at the till you choose the variant when you add the item to the sale.

Variants are built from product options (for example «Størrelse», size) and values (for example «S», «M», «L»).

Before you start

  • Create the product first, see Creating a product.
  • If the product is synchronised from Shopify, its variants and options are managed in Shopify and cannot be changed here.

How to do it

Add product options to the product

  1. Open the product under «Katalog» (Catalogue) → «Produkter» (Products).
  2. Open the «Produktvalg» (Product options) section and click «Legg til produktvalg» (Add product option).
  3. Choose an existing option in «Velg eksisterende valg» (Choose existing option), or create a new one:
    • Type the name of the option in «Nytt valg (navn)» (New option – name), for example «Størrelse».
    • Type the values in «Verdier» (Values). Press Enter after each value.
  4. Repeat for each option, for example one for size and one for colour.
  5. Save the product.

Generate the variants

  1. Open the «Varianter» (Variants) tab on the product.
  2. Click «Generer varianter» (Generate variants) and confirm with «Generer» (Generate).
  3. Cmerce creates one variant for each combination of values. Combinations that already exist are skipped.
  4. Open each new variant and set its price under «Priser» (Prices). New variants get the price 0.

The «Varianter» (Variants) tab with generated variants

Create or edit a single variant by hand

  1. Click «Ny variant» (New variant) on the «Varianter» tab, or open an existing variant.
  2. Fill in «Navn» (Name), «SKU» and, if needed, «Strekkode (EAN/GTIN)» (Barcode).
  3. Choose the «Avgiftsklasse» (VAT class).
  4. Under «Valgverdier» (Option values), choose which values the variant represents.
  5. Switch on «Lagerstyrt» (Stock managed) under «Lagerstyring» (Stock management) if you want to count stock on the variant.
  6. Enter the price under «Priser» and save.

Good to know

  • Generated variants get an SKU built from the product number and the values, the standard VAT rate (25%), no barcode and no stock management. Add a barcode and switch on stock management on each variant as needed.
  • The first variant the product got when you created it is not removed automatically when you generate new ones. If you don't need it, delete it from the list.
  • Product options are shared between products. An option such as «Størrelse» can be used on many products. You find all options under «Katalog» → «Produktvalg». There you can also give a value a «Fargekode» (Colour code) or a «Bilde» (Image).
  • «Produktvalg» is not the same as «Egenskaper» (Attributes). Attributes are descriptive information about the item and do not create variants.
  • Prices per customer group and quantity are entered on each variant, see Prices, VAT and customer group prices.
  • Many prices at once are faster to change with Bulk price changes.

Frequently asked questions

The «Generer varianter» button doesn't appear. Why?

The button only appears when the product has at least one product option. Add the option and save the product first.

I added a new value to an option. Do I get the variant automatically?

No. Click «Generer varianter» again – only the new combinations are created.

Didn't find the answer?

Get in touch and we will help you.

Contact us