---
title: "Variants"
description: "Sizes, colours, prices, SKUs, barcodes and stock — everything that makes one sellable version of a product."
canonical_url: "https://content.stocka.cloud/en/catalog/variants"
---
# Variants

> Sizes, colours, prices, SKUs, barcodes and stock — everything that makes one sellable version of a product.

A **variant** is one sellable version of a product — for example *Aurora Dress, size M, black*. Each variant has its own price, SKU, barcode and stock. Orders always contain variants, never bare products, so **a product needs at least one active variant before it can be ordered**.

## Where to find variants

Open a product (**Products** → click the product). The **Variants** card lists every variant with:

- a colour swatch, the variant name and its size, colour and SKU;
- the sell price;
- stock (when the **Warehouse** module is on): how many units are **available**, plus a **Low stock** or **Out of stock** badge when needed;
- a **Default** badge for the default variant, and **Active** / **Inactive**.

Each row has a menu (**⋮**) with **Edit**, **Duplicate**, **Adjust stock**, **Stock history** and **Remove**.

## Add a variant

<steps level="3">

### Open the variant form

On the product page (or while creating a product) click **Add variant**. A side panel opens.

### Pick the size and colour

Click a **Size** and a **Color**. Both are required.

### Name it and set identifiers

Enter a **Name** (for example "Aurora M / Black"). Type a **SKU**, generate one with the ✨ button, or leave it empty to have it generated automatically (if your company uses automatic SKUs).

### Set prices

Enter the **Cost** and **Sell** prices in your company's default currency.

### Set stock (Warehouse module only)

Enter the **Initial stock** to put into your default warehouse, and optionally a **Low stock alert** level.

### Save

Click **Save variant**, or **Save & add another** to keep the panel open for the next variant.

</steps>

**Save & add another** keeps the size, colour and prices you picked and clears the name, SKU, barcode and initial stock — handy for "the same dress in five sizes".

<note>

While you are creating a new product, variants are kept in the form and saved right after the product itself. On an existing product each variant is saved as soon as you click **Save variant**.

</note>

## Variant fields

<field-group>
<field name="Size" type="choice" :required="true">

Picked from a fixed list: children's sizes **116, 122, 128, 134, 140, 146, 152, 158** and adult sizes **XS, S, M, L, XL, XXL**. The **Size guide** link opens this help page in a new tab.

</field>

<field name="Color" type="choice" :required="true">

Picked from your company's [colour palette](#colours). **Manage palette** takes you to the palette settings.

</field>

<field name="Name" type="text" :required="true">

The variant name shown in orders, pick lists and documents.

</field>

<field name="SKU" type="text">

Your internal stock-keeping code. Must be unique across your company. See [SKU and barcode](#sku-and-barcode).

</field>

<field name="Cost" type="money">

What one unit costs you. Used to value stock in the warehouse. Not shown to customers.

</field>

<field name="Sell" type="money">

The price the customer pays. **A variant without a sell price cannot be added to an order.**

</field>

<field name="Initial stock" type="number">

Only when adding a variant, and only with the Warehouse module on. Units put into your **default warehouse** right away. Later changes go through **Adjust stock**.

</field>

<field name="Low stock alert" type="number">

When available stock drops to this level the variant is flagged **Low stock** and a low-stock notification is sent. Leave it empty to use the company default (shown as the placeholder).

</field>

<field name="Active" type="checkbox">

Inactive variants are hidden from sale — the order builder does not offer them.

</field>

<field name="Fit" type="text">

Under **Advanced**. Free text such as "Slim", "Regular" or "Oversized".

</field>

<field name="Barcode" type="text">

Under **Advanced**. Must be a valid EAN-8, UPC-A, EAN-13 or GTIN-14 with a correct check digit, and unique. See [SKU and barcode](#sku-and-barcode).

</field>

<field name="Default variant" type="checkbox">

Under **Advanced**. Marks the main variant of the product. Only one variant can be the default — choosing a new one clears the old one.

</field>

<field name="Own materials" type="list">

Only with the Warehouse module on. Materials this variant consumes **instead of** the product's materials (for example, a bigger size takes more fabric). Leave empty to use the product's materials. See [Materials and dependencies](https://content.stocka.cloud/en/catalog/materials-and-dependencies).

</field>
</field-group>

### Uniqueness rules

- **Size + colour** must be unique within a product. Trying to add a second "M / Black" shows "Variant M / Black already exists for this product".
- **SKU** must be unique across the whole company.
- **Barcode** must be unique.

## SKU and barcode

How identifiers are assigned is set in **Company → Modules → Products** (gear icon) → **Variant identifiers**:

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Options
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        SKU generation
      </strong>
    </td>
    
    <td>
      <strong>
        Automatic
      </strong>
      
       (default) — a SKU is generated for every new variant when the field is left empty. <strong>
        Manual
      </strong>
      
       — set by hand or with the ✨ button.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Barcode generation
      </strong>
    </td>
    
    <td>
      <strong>
        Automatic
      </strong>
      
       — generated for every new variant left empty. <strong>
        Manual
      </strong>
      
       (default) — set by hand or with the ✨ button.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Standard
      </strong>
    </td>
    
    <td>
      <strong>
        EAN-13
      </strong>
      
       (13 digits, Europe and most of the world) or <strong>
        UPC-A
      </strong>
      
       (12 digits, USA and Canada).
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        GS1 Company Prefix
      </strong>
    </td>
    
    <td>
      The prefix issued by your national GS1 office (6–11 digits for EAN-13, 6–10 for UPC-A).
    </td>
  </tr>
</tbody>
</table>

Generated SKUs look like `ABC-000123`: a short prefix taken from your company plus a running number.

**With a GS1 Company Prefix**, generated barcodes are real GTINs accepted by retailers and marketplaces. **Without one**, STOCKA generates internal codes from the GS1 "restricted" range — fine for your own scanners and warehouse, but not accepted by retailers.

As you type a barcode, the form tells you whether it is a **GS1 barcode**, an **Internal code**, or **Not a valid barcode**. Valid 12- and 13-digit barcodes also show a barcode preview.

<tip>

Changed the identifier settings? Click **Save changes** on the settings page. The new settings apply to variants created from then on — existing SKUs and barcodes are not changed.

</tip>

## Colours

The colour palette lives in **Company → Modules → Products** (gear icon) → **Color palette**:

- **Add color** — give it a **Name** (for example "Burnt orange") and a hex value. Names must be unique.
- The palette is capped (the counter shows how many you have out of the maximum) to keep the picker easy to scan.
- Rename a colour, change its hex value, or switch it off. Switched-off colours are not offered in the variant form.
- A colour that variants still use cannot be deleted ("Variants still use this color — change their color first").

## Variants and stock

When the **Warehouse** module is on, every variant is a stock item in the warehouse:

- **Available** = units on hand minus units reserved for orders. Editing a variant shows "*N* available · *X* on hand, *Y* reserved".
- **Adjust stock** (row menu) adds or writes off units by hand. Owner, Manager and Warehouse roles can do this. See [Stock levels](https://content.stocka.cloud/en/warehouse/stock-levels).
- **Stock history** (row menu) shows every movement for the variant. See [Stock movements](https://content.stocka.cloud/en/warehouse/stock-movements).
- **Low stock** and **Out of stock** badges follow the alert level. See [Stock alerts](https://content.stocka.cloud/en/warehouse/stock-alerts).

Stock options appear only for saved variants — a variant that is still only in the create form has no stock yet.

## Variants and orders

- In the order builder you pick a product and then one of its **active** variants. If a product has exactly one active variant, it is added straight away.
- The order line takes the variant's current **Sell** price at the moment the order is placed. Changing the price later does not change existing orders.
- Placing an order **reserves** the variant's stock; shipping it removes the units from the warehouse. See [Order lifecycle](https://content.stocka.cloud/en/orders/order-lifecycle).
- If the variant doesn't have enough available stock, the order cannot be saved and you see **Not enough stock** with the affected lines.

## Edit a variant

Choose **Edit** from the variant's menu. All fields can be changed except **Initial stock** (use **Adjust stock** instead). Click **Save changes**.

Changing the name, SKU, barcode, cost or low-stock level is passed on to the warehouse automatically. Orders already placed keep the variant name and price they were created with.

## Duplicate a variant

Choose **Duplicate** to open a new variant pre-filled from an existing one. The size, name, SKU and barcode are cleared (they must be unique), and stock and the default flag are not copied. Pick a new size and save.

## Remove a variant

Choose **Remove** and confirm. This cannot be undone.

<warning>

A variant that still **holds or reserves stock** cannot be removed — you will see "It still has stock or reservations — write the stock off or finish its orders first". To retire a variant that has history, untick **Active** instead.

</warning>

Past orders that contained the variant keep their own copy of its name and price.


## Sitemap

See the full [sitemap](https://content.stocka.cloud/sitemap.md) for all pages.
