Skip to main content

Add variants and combinations

A group is a choice such as Colour or Size. An option is one value, such as Green or 40. A combination is one option from each group, such as Green + 40.

This tutorial continues the first product: sports shoes at 2,500 DA. It uses real French dashboard screenshots with demonstration values.

Video

1. Add the colour group

Open your product from Dashboard → Products → Edit and scroll to Variants (Variantes).

  1. Press Add group (Ajouter un groupe).
  2. Name the group Colour (Couleur in the example).
  3. Choose the Colour type before filling the options.
  4. Name the first option Green and choose its colour.
  5. Press Add option (Ajouter une option) and add Black.

The first option row appears automatically when you add a group.

2. Add the size group

  1. Press Add group again.
  2. Name it Size (Pointure in the example).
  3. Keep the Text type.
  4. Enter 40 in the first option.
  5. Press Add option and enter 41.

Two real variant groups, Colour and Size, with two options each

Check: there are two groups, each with two options. Your buyer will choose one colour and one size.

Choose the type first

Changing a group's type can clear its option rows. Pick Colour or Text before entering the option names.

3. Set a price difference

Leave the option's price difference at 0 when it uses the product's normal price.

If size 41 costs 2,700 DA and the product price is 2,500 DA, enter 200 beside size 41. The screenshot above shows this example.

2,500 + 200 = 2,700 DA.

Do not enter 2700 as the difference. Price differences from selected options are added to the product price.

4. Choose how to count stock

Your situationStock mode
You have one quantity for the whole productTrack stock (Suivi du stock)
You count each option separately, such as each sizeTrack variant stock (Suivi du stock des variantes)
You count each colour and size togetherTrack combination stock (Suivi du stock par combinaison)

For option stock, turn on Track variant stock in Pricing & stock, then fill the stock beside each option. Leave combination stock off.

For our shoes, use combination stock: Green + 40 and Green + 41 have different quantities.

5. Create the combination table

With both groups filled in:

  1. In Pricing & stock, turn on Track variant stock.
  2. Turn on Track combination stock, which now appears.
  3. Scroll to Combination stock table (Tableau de stock des combinaisons).

Variant and combination stock enabled in the product editor

The table is generated when you enable the switch. Generate combinations (Générer les combinaisons) rebuilds it after you change the groups. Review every quantity after rebuilding.

Four combinations with quantities 8, 5, 7 and 0, for a total of 20 pairs

Enter the quantity you physically have for each pair:

ColourSizeStockExample SKU
Green408SPORT-V40
Green415SPORT-V41
Black407SPORT-N40
Black410SPORT-N41

A SKU is your own reference code. Use a different code for each combination if you need to identify it quickly.

Check: two colours × two sizes gives four rows. Total stock is 20, and Black + 41 is sold out.

Zero, blank and the stock switches

  • 0 means sold out. Use 0 for a combination you cannot sell.
  • Do not leave quantities blank when you want a precise stock count. A blank option quantity can mean unlimited stock.
  • With combination stock on, the per-option fields disappear and product stock is disabled. Edit the combination table instead.
  • Newly generated rows start at 0. Fill them before saving.

Set several rows at once

Use Set all stock (Définir tout le stock) to give every row the same quantity. Enter the number and press Apply (Appliquer).

To update just one colour, use the condition controls, such as Colour = Green, enter the quantity and press their Apply button. These set the quantity of each matching row; they do not add units to its previous quantity.

Review the rows before saving, especially after a bulk change.

6. Save and check

Save the product. Reopen it and confirm the table still shows 8, 5, 7 and 0.

When the product is published, preview it in the store. Choose a colour and size, check the price, and check that the sold-out combination cannot be ordered.

For later deliveries, use Stock Management to update the right combination.

Other option types

TypeUse it for
ColourA colour swatch.
TextSizes, capacity or material names.
Image with textAn option shown with a picture and label.
Multiple choiceOptional extras where the buyer may select several options.

Colour, Text and Image-with-text groups ask the buyer to choose one option. Multiple-choice groups are optional and do not appear in the combination table.

Upload the product photos first. On a colour or image option, press Image, then choose the matching product photo.

For a colour option, Image card (Carte image) shows a larger card when a photo is linked. Image-with-text options already use cards.

On a carousel, selecting a linked option changes the displayed photo. In a stacked gallery, phones keep the buyer at the options instead of scrolling back up.

Arrange your photos

The primary photo stays first. Select another photo's star to change it. Reorder the other photos with drag-and-drop or the arrow buttons; on a phone, hold a thumbnail briefly before dragging.

If you get stuck

ProblemWhat to check
Combination switch missingAdd two groups and turn on variant stock first.
Table is emptyGive the groups and their options names. Multiple-choice groups do not count toward the table.
Every combination is sold outNew rows start at 0. Enter your quantities and save.
Wrong price after selecting a sizeEnter the price difference, not the final selling price.
One choice looks dimmedIt may be available with another choice. Select it, then choose the remaining option again if needed.
Too many combinationsKeep the table at 1,000 combinations or fewer. Reduce the number of options or split the product.