Skip to content

Product variants ​

Some products come in variations: a T-shirt in S/M/L and three colours, a phone in two storage sizes. Instead of creating a separate product for each, you create one variable product and give it variants — one per combination — each with its own SKU, barcode, price, cost and stock.

🟢 For everyone
Variants need the Product Variations module (catalog_variations) to be switched on, plus product-edit permission. Managing variants uses catalog.product-variants.*.
Variant configuration on the product form
Screenshot pendingRoute /products/create with Variable product selected, Advanced tab
On a variable product, the Advanced tab holds variant configuration and the generated variant list.

How it works ​

You build variants in two steps: configure which option groups and values apply, then generate a variant for every combination.

The option groups themselves (Size, Colour…) are set up once and reused — see Variant options.

Step by step ​

  1. Create a product and choose Variable product as the template, then Save it. (Variant configuration is enabled only after the product exists.)
  2. Open the Advanced tab. Under Variant configuration, choose your Variant option groups (e.g. Size and Colour).
  3. For each group, pick the allowed values (e.g. S, M, L for Size). The panel shows the estimated combinations.
  4. Select Save Variant Config, then Generate Variants — one variant is created per combination.
  5. Each generated variant appears in the Variants table. Open one to set its SKU, Barcode, Price, Cost, per-warehouse stock, and its option values.

Add a single variant by hand

You don't have to generate the full grid. Use Add variant to create one variant and pick its option values yourself.

Per-variant settings ​

Each variant is edited in its own modal:

FieldNotes
SKU / BarcodeUnique per variant
Price / CostOverrides the parent product's price
Base unitThe unit this variant is stocked in
EnabledShow this variant as available
Track inventoryTrack stock per warehouse for this variant
Allow selling when out of stockLet it sell past zero
Tax ratesLeave blank to inherit the parent's taxes
Modifier groupsLeave blank to inherit the parent's modifiers
Warehouse stockOn hand / available / reorder levels, per warehouse
Variant imageOptional, per variant

A variant can even have its own recipe — useful when a "Large" size consumes more ingredients than a "Small".

At the register ​

When a cashier adds a variable product, the POS asks them to pick the exact variant (size, colour) before it goes in the cart. See Variants, weight & modifiers.

Next steps ​

ZeylonPOS Knowledge Base