What is a product variant? Managing size, colour and stock in e-commerce
What is a product variant and how should size and colour options be set up in e-commerce? A checklist for parent products, SKUs, images, prices and channel stock.
A product variant is a sellable version of the same product that differs by one or more attributes such as size, colour, capacity or material, and whose stock is tracked separately. The “size M, navy” option of a T-shirt or the “2 metre” length of a cable are both variants. The customer sees a single product page on the site, while in the warehouse each option is a separate item.
When variants are not set up properly, problems usually appear after the order: the customer buys a size that is out of stock, the warehouse packs the wrong colour, or the same product is scattered across several separate pages. This article walks you through the steps for building the variant structure correctly from the start.
The difference between a parent product and a variant
The parent product carries the shared information the customer sees: product name, description, category, brand and general images. The variant is the level where the sale and the stock actually happen. Making this distinction clear also decides which piece of information belongs where.
- Kept on the parent product: name, description, category, brand, shared technical specifications, usage and care information.
- Kept on the variant: stock keeping unit (SKU), barcode, stock quantity, price if it differs, the image for that option and its weight.
- Never kept on both: when the same information is written in two places, one gets updated and the other goes stale.
Steps for setting up the variant structure
- Define the option axes. Write down the attributes that genuinely distinguish the product; for most products one or two axes are enough. Size and colour are a good example; temporary states such as “on promotion” are not axes.
- Standardise the list of values. “Navy”, “navy” and “Navy colour” should not appear as three different values. Fix the order of sizes as well.
- Give every variant a unique SKU. If the code carries the parent product, colour and size in a readable pattern, it makes the work of the warehouse and customer service easier.
- Switch off combinations that do not exist. If not every colour is made in every size, that option should never be shown to the customer.
- Link the image to the right variant. When the customer selects red, the photo of the red product should appear.
- State price differences clearly. If a larger size or a different capacity costs more, the difference should update on the page the moment the choice is made.
Stock should be kept at variant level
The real value of a variant structure shows up in stock. Keeping a single total stock figure for the parent product tells you “the product is in stock”, but it does not tell you whether the size the customer wants is available. When stock is tracked separately for each variant, the site automatically shows the sold-out option as unavailable and prevents it from being added to the basket.
If there is more than one warehouse or store, the same logic continues per location. Seeing how many units of each size are in each warehouse lets the order be shipped from the most suitable place and the delivery date be stated correctly.
If you sell on more than one channel
When the same product is sold both on your own site and on marketplaces, variant matching becomes critical. If “Black / 42” on the marketplace and “Black / 42” on your site do not point to the same SKU, the last unit sold on one channel keeps being sold on the other. Keeping stock, price and order data in sync between the site, the marketplace and the ERP through system integration reduces this risk.
Common mistakes and a checklist
You can use the list below before uploading new products or when reviewing your existing catalogue.
- Have different colours of the same product been created as separate parent products?
- Are there spelling differences or stray spaces in value names?
- Is there any record without a SKU, or two variants sharing the same SKU?
- Does a sold-out variant still appear selectable on the site?
- Do the colour and size options in the filters come from variant data, or were they typed by hand?
- Are the variant codes in the marketplace and the ERP the same as on the site?
Filters also rely on variant data. When a customer selects the “size 42, black” filter, they should see only products that have this combination in stock. If the variant data is not clean, the filter either returns no results or lists products that cannot be sold.
Connecting variant management to your sales platform
Variant management is not a setting you configure once and forget; it is an arrangement that needs upkeep as the catalogue grows. When products, variants, categories, stock and orders are managed in the same data flow, the team adds every new product by the same rules and the customer knows that what arrives at the door is what they saw on the site. In the YazSis Smart E-Commerce platform, product, variant and category management, multi-warehouse stock visibility and ERP and marketplace connections are handled within the same structure. We can work out together in a discovery meeting how it should be set up for your own product structure.
Frequently asked questions
Is a product variant the same as a product option?
In everyday use the terms are interchangeable. An option usually describes the attribute the customer chooses (size, colour); a variant is the sellable item formed by combining those options, with its own SKU and stock.
Does every variant need its own SKU?
Yes, every variant whose stock is tracked separately should have a unique SKU. That way the warehouse, accounting and the marketplace refer to the same item, and the chance of packing the wrong product drops.
Should variants be opened as separate product pages?
In most cases it is tidier to offer them as options on a single product page. The customer switches between options on the same page, reviews stay in one place and the same product does not repeat in search results.
Should a sold-out size remain visible on the site?
The option can stay visible but should not be selectable, or should be marked “sold out”. What matters is that the customer cannot add an out-of-stock variant to the basket and be disappointed at checkout.
More articles
How to get the WhatsApp Business API: Meta approval, requirements and process
Applying for the WhatsApp Business API is not a single form but the verification of several separate assets set up on Meta’s side. We go through the steps, the preparation list and the most common sticking points in order.
November 26, 2026 · 8 min readWhat is orientation training? How to plan and track a new employee orientation programme
Orientation training is not a first-day presentation but a planned learning path a new employee follows over several weeks. This article covers the steps to build the programme, a sample onboarding plan and how to track it.
November 26, 2026 · 8 min readKVKK access rights matrix in Turkey: who sees which personal data? Sample and checklist
If an HR assistant can open the entire personnel file folder, the problem is not the person but the access plan. A sample KVKK access matrix by data category, a 12-point checklist and the framework set by official Turkish texts.
November 26, 2026 · 8 min read