Variant Group Codes

The Variant Group Code (VGC) is a mandatory, unique code that links all product variants together (e.g., different colours or sizes of the same product).

Each variation (such as colour or size) shares the same VGC, allowing Mirakl to group them as related products. For example, a blue and a red version of the same t-shirt would have the same VGC but different unique identifiers (like EAN, SKU Codes or Product Reference Numbers).

Product must be virtually identical to be within the same Variant Group Code, with the only difference being Sizes and Colours.

Within the same VGC, most attributes must be the same across all products, with different rules depending on size and colour. 

Variant Group Code Benefits

Ensuring correct VGC use is paramount to a successful product launch.

  • Better customer visibility
    • With all sizes and colours available on one webpage for the customers to browse, this ensure a better experience for customers
  • Brand page organisation
    • The products will be sorted far neater on the brand’s pages, with the products laid out in a much more coherent and consistent view
  • Reduced maintenance requests
    • By ensuring the products are set up and linked correctly at the point of set-up, there will be a reduced amount of maintenance requests to link products together which can cause a delay to the relevant launches

Core Attribute Rules

Attribute Required? Same for all SKUs in VCG Same for all SKUs with the same Standard Colour
SKU Code REQUIRED NO NO
Product Name REQUIRED NO YES
Short Name REQUIRED YES YES
Selling Text REQUIRED NO YES
Product Reference Number REQUIRED NO YES
Country of Origin REQUIRED YES YES
Product Composition REQUIRED YES YES
Material Composition REQUIRED YES YES
Supplier Colour REQUIRED NO YES
Consumer Code REQUIRED NO NO
Brand / Sub Brand REQUIRED YES YES
Standard Colour REQUIRED NO YES
Cost Price REQUIRED NO NO
Initial Price REQUIRED NO NO
Category REQUIRED YES YES
Variant Group Code REQUIRED YES YES
Main Image REQUIRED NO YES

All other selling attributes (i.e. pattern, care instructions, fit etc.) must also be the same for all products with the same VGC, apart from dimensions and weight where applicable.

Examples when to share VGC

Comparison of two John Lewis Cotton Slub Pocket Crew Neck T-Shirts: top shows off-white 'Ancient Scroll' worn front and back; bottom shows terracotta 'Rust' worn front and back. Both are priced at £28.00 (reduced from £35.00) in sizes S to XXL.

Both T-Shirts are the exact same, just different colours


Comparison of two John Lewis Hettie Suede Round Toe High Cut Mary Jane Ballerina Pumps: top shows a side profile and worn view in black (£60.00); bottom shows a side profile and worn view in brown (£60.00, reduced from £75.00), both in sizes 3 to 8.

Both pairs of Shoes are the exact same, with identical composition and other attributes, just different colours


Comparison of two John Lewis Supima Cotton Regular Fit Crew Neck Stripe T-Shirts: top shows navy and off-white stripes (£20.00, reduced from £25.00, sizes M–XXL); bottom shows red and white stripes (£17.50, reduced from £25.00, size XXL only).

T-Shirts are identical with the exact same pattern, just different colours

Examples when to NOT share VGC

Comparison of two John Lewis Merino Wool Jumpers, both £47.20 (reduced from £59.00) in sizes S to XXL: top shows a teal 'Deep Azure' Crew Neck Jumper; bottom shows a dark blue 'Navy' V-Neck Jumper.

Both jumpers have the same composition, however the style is different at the neck so would sit separately


Comparison of two John Lewis Closed Loop Initiative Recycled Wool Crew Neck Colour Block Jumpers, both £107.40 (reduced from £179.00): top shows 'Fig/Red' with four large dark burgundy and red squares; bottom shows 'Red Multi' with asymmetrical navy, blue, burgundy, and grey blocks.

Both jumpers have the same composition, however the pattern is slightly different so would sit separately


Comparison of two John Lewis Barrel Leg Jeans, both £55.20 (reduced from £69.00) in sizes 8 to 20: top shows High Rise in Mid Blue denim; bottom shows Mid Rise in light beige 'Khaki'.

Both pairs of jeans are similar styles, but the rise is different so would sit separately


Comparison of two black John Lewis Augusta Suede Snaffle Trim Moccasins, both £71.20 (reduced from £89.00): top shows the standard fit (sizes 3–6, 8); bottom shows the Wide Fit version (sizes 3–7), both featuring gold-tone horsebit hardware.

Both pairs of shoes are nearly identical, apart from the fit, where one is Regular Fit and the other is Wide Fit, therefore these would sit separately


Comparison of two John Lewis Helm High Vamp Ballerina Pumps, both £55.20: top shows Navy Suede (size 5); bottom shows Black Leather (size 6), each displaying side profiles of the flat, round-toe shoes.

Both pairs of shoes are of a similar design and composition, however the fabric style is slightly different, one pair is suede leather and the other is smooth leather, therefore these would sit separately.

Size Adds

When adding a new size to an existing VGC in Mirakl, the same rules always apply. It must be ensured that the new sizes share the same attributes as the existing products. This can be done easily by downloading a template with the existing sizes on, and copying the attributes across.

The only attributes that can be different for a Size Add are:

  • SKU Code
  • Consumer Code
  • Size
  • Price

Standard/Supplier Colour Mapping

If an option has multiple colours, each colour will need a unique Supplier Colour and Standard Colour. For example, if a top has two shades of Brown, with Supplier Colours ‘Espresso’ and ‘Walnut’, the Standard Colour for both cannot be the same, one may have ‘Brown Chocolate’ and the other ‘Brown Dark’.

Comparison of two John Lewis Cotton Knit Raglan Seam Jumpers, both £28.00 (reduced from £35.00) in sizes XS to XL: top shows a light pastel 'Pale Blue'; bottom shows a vibrant royal blue 'Cobalt'.

As a different example, both of the above tops are blue, ‘Cobalt’ and ‘Pale Blue’, therefore their Standard Colours cannot both be the same, one would have Blue Cobalt and the other Blue Sky.