Product variants: how to structure colors, sizes and options
When a color or size is a variant and when it is a product of its own, and how Google, Amazon, eBay, Shopify and WooCommerce want variants structured.
On this page
In short
- A product variant is a sellable version of one product that differs only in an option the buyer picks, such as color, size, material, pattern or pack size; a different model or function is a separate product.
- Every channel uses a parent and child model: the parent groups the variants and is not sold, and each child carries its own SKU, GTIN, price, availability and image.
- Google Merchant Center groups variants with item_group_id, which is required for variants in free listings and for Shopping ads in Brazil, France, Germany, Japan, the United Kingdom and the United States.
- As of November 2026, a Shopify product can have up to 3 options and 2,048 variants, an eBay listing up to 250 variations, and Amazon does not display variation families with more than 4,000 child ASINs.
- On product pages, Google reads variants from schema.org ProductGroup markup with hasVariant, variesBy and productGroupID, and asks that each variant can be preselected with its own URL.
- GS1 US gives every variation, such as each size or color, its own item number, so one GTIN for all sizes is an error on every channel.
Variant or separate product?#
A variant is the same product in another version the buyer picks: same model, same function, same name. If anything else differs, it is a separate product.
| Case | Variant or product? | Why |
|---|---|---|
| Same model in another color | Variant | Color is one of Google's standard variant attributes and a common Amazon variation attribute |
| Same model in another size | Variant | Size is a standard variant attribute |
| Same model in another material or pattern | Variant | Google requires material and pattern when they tell variants apart |
| Same item in a 3-pack and a 6-pack | Variant where the channel allows it | Amazon accepts "number of items" for packs of identical items, but only for packs the manufacturer made |
| Men's and women's version of one model | Variant on Google | gender and age_group are standard variant attributes there. Check each marketplace's themes |
| The next model generation | Separate product | Amazon: different models should not be listed within a color theme |
| A different function, such as rain jacket and rain pants | Separate product | Amazon: all products in a family must serve the same function and purpose |
| A set of several items | Separate product | Google names a suit of jacket and pants and a set of bath accessories as products that are not variants |
| A different brand | Separate product | Amazon: a family must be the same brand and product type |
Amazon's variations overview gives a usable test for any channel: the titles are fundamentally the same and differ only by the variation attributes, and a customer would expect to find the products together.
The parent and child model#
Every system below stores variants in two levels. The parent is the product as a group; nobody can buy it. The children are the variants; each one can be put in a cart.
| On the parent, shared by all | On each child, its own |
|---|---|
| Product name without variant details | SKU |
| Brand | GTIN |
| Description and features | Price |
| Category | Availability and stock |
| Group ID | Option values such as color and size |
| Image that shows this variant | |
| URL that preselects this variant | |
| Weight and dimensions, where they differ |
Amazon calls the parent a virtual ASIN that exists only to connect the child ASINs: it is not for sale and has no inventory. Google says not to submit a parent SKU as a separate product. Getting the two levels right is a large part of product data quality, because a value stored on the wrong level is wrong on every variant.
What each channel calls it and requires#
As of November 2026, on each channel's own pages:
| Channel | The group | The variant | Limits |
|---|---|---|---|
| Google Merchant Center | Item group (item_group_id) | A product with its own id | Group ID 1 to 50 characters |
| Amazon | Variation family with a parent ASIN and a variation theme | Child ASIN | Families above 4,000 child ASINs are not displayed |
| eBay | Multi-variation listing | Variation | 250 variations, 5 variation details |
| Shopify | Product with options | Variant | 3 options, 2,048 variants |
| WooCommerce | Variable product with attributes | Variation | No maximum on the page |
| ChatGPT product feed | group_id | A row with its own item_id | No maximum on the page |
Google Merchant Center#
item_group_id is required for variants in free listings, and for Shopping ads for variants in Brazil, France, Germany, Japan, the United Kingdom and the United States. All variants carry the same value. Google recommends the parent SKU, does not tell values apart by case ("abc123" equals "ABC123") and says not to change the value once assigned.
The standard variant attributes:
| Attribute | Limit | When Google requires it |
|---|---|---|
color | 100 characters, 40 per color | Apparel in the six countries, and every product available in different colors |
size | 100 characters | Clothing and shoes in the six countries, and every product available in different sizes |
pattern | 100 characters | When it tells variants apart |
material | 200 characters | When it tells variants apart |
age_group | newborn, infant, toddler, kids or adult | Apparel in the six countries, and products with an assigned age group |
gender | male, female or unisex | Apparel in the six countries, and gender-specific products |
Two newer attributes are optional:
- item_group_title: the name of the group, 1 to 150 characters, the same on every variant, without variant details and different from each variant's own title.
- variant_option: what defines this variant, as
name:valuepairs such ascolor:Blue,size:M. Up to 30 pairs, 250 characters for each name and value. Every variant of a group uses the same names and a combination of values no other variant has.
Google asks for the standard attributes in addition to variant_option when they define the variant. With variant_option, options outside the six standard ones can be described too; Google's examples include a laptop's memory and display size. All attributes are in the Merchant Center product data specification, and the newer ones are explained in the product data AI assistants ask for.
Amazon#
A variation family has four parts: the parent ASIN, the child ASINs, the variation theme and the non-varying attributes that must be identical across the family, such as brand and model name. Amazon's page on creating and managing variations sets these requirements:
- The parent has no product identifier, no price and no quantity.
- Each child needs a unique product identifier (EAN or UPC), unless the product is exempt, and a unique seller SKU.
- The variation theme must be one that Amazon offers for the product type. Themes differ by category: clothing can vary by size or color, pet supplies by flavor, scent and quantity.
- The child title names the variation value; the parent title does not.
Amazon recommends its web form for families of up to 250 child ASINs and the product spreadsheet beyond that. Families with more than 4,000 child ASINs are not shown on the detail page. More on listing there is in selling on Amazon.
eBay#
A multi-variation listing is one fixed price listing for all versions. eBay's help page allows 5 variation details, up to 50 values for each, up to 250 variations in one listing and up to 24 pictures for each variation. eBay's developer guide gives the same 250 and 5 but only 30 values for each detail, so plan for 30 if a tool creates your listings. Each variation has its own quantity, price and optional SKU, and no two variations may share the same combination of values. See selling on eBay.
Shopify#
Shopify speaks of options (Color, Size) and variants (Blue / M). Its page on adding variants says each product can have up to 3 options and up to 2,048 variants, and that some third-party themes might not support more than 100 variants. Shopify's SKU page still mentions a 100-variant limit. Stores with 500,000 or more variants can add 10,000 new variants a day by app or CSV import; the Shopify Plus plan is exempt. Each variant has its own SKU and barcode field. The file layout is in the Shopify product CSV guide.
WooCommerce#
WooCommerce calls the parent a variable product. You add attributes, mark them as used for variations and generate one variation for every combination. Each variation can have its own image, SKU, "GTIN, UPC, EAN, or ISBN", price, stock, weight and dimensions; weight and dimensions left blank fall back to the parent's. A variation without a price does not show in the store. Imports are covered in the WooCommerce product CSV import guide.
ChatGPT product feed#
OpenAI's product feed uses group_id, shared by all variants and different from each row's item_id, plus listing_has_variations set to true and variant_dict, which maps option names to the selected values. The full field list is in the ChatGPT Shopping product feed guide.
One identifier per variant#
Each variant is a product of its own in every data sense. Check each row for:
- Its own SKU. Google: "Each variant is a unique product and needs its unique ID." A pattern with a shared stem and a suffix per option is in how to create SKU numbers.
- Its own GTIN. GS1 US says every variation, such as a different size or flavor, gets its own item number. Google's
gtinpage says the same for colors and sizes. What a GTIN is and how to get one explains where the numbers come from. - Its own image. Google asks for a distinct, dedicated image for every variant and says not to reuse one general photo across variations.
- Its own price and availability. A sold-out size is out of stock on its own row, while the other sizes stay in stock.
- Its own URL. Google Merchant Center wants a different landing page URL for each variant.
- A title that names the variant. Google asks variant titles to include distinguishing features such as color or size. Formulas are in product title optimization.
Variant URLs and structured data#
For product pages, Google Search Central recommends that each variant can be identified by a separate URL, either with a path segment (/t-shirt/green) or a query parameter (/t-shirt?color=green). If variants use optional query parameters, the URL without the parameter is the canonical URL.
In structured data, Google reads variants from the schema.org type ProductGroup. Its variant documentation requires name and recommends, among others:
productGroupID: the identifier of the group, "also known as the parent sku".variesBy: the properties the variants differ in, as full schema.org URLs. Google supports color, size, suggestedAge, suggestedGender, material and pattern.hasVariant: the nestedProductentries, one for each variant.
Each variant needs a unique ID in its markup, for example sku or gtin. Shortened to two of twelve variants, the rain jacket from the next section looks like this:
{
"@context": "https://schema.org/",
"@type": "ProductGroup",
"name": "Northpeak Stormline Rain Jacket",
"url": "https://www.example.com/stormline-rain-jacket",
"brand": {"@type": "Brand", "name": "Northpeak"},
"productGroupID": "JK-STL",
"variesBy": ["https://schema.org/color", "https://schema.org/size"],
"hasVariant": [
{
"@type": "Product",
"sku": "JK-STL-BLU-M",
"name": "Northpeak Stormline Rain Jacket, Blue, M",
"image": "https://www.example.com/img/jk-stl-blu.jpg",
"color": "Blue",
"size": "M",
"offers": {
"@type": "Offer",
"url": "https://www.example.com/stormline-rain-jacket?color=blue&size=m",
"priceCurrency": "USD",
"price": 129.00,
"availability": "https://schema.org/InStock"
}
},
{
"@type": "Product",
"sku": "JK-STL-YLW-XL",
"name": "Northpeak Stormline Rain Jacket, Yellow, XL",
"image": "https://www.example.com/img/jk-stl-ylw.jpg",
"color": "Yellow",
"size": "XL",
"offers": {
"@type": "Offer",
"url": "https://www.example.com/stormline-rain-jacket?color=yellow&size=xl",
"priceCurrency": "USD",
"price": 129.00,
"availability": "https://schema.org/OutOfStock"
}
}
]
}Add each variant's GTIN with the gtin property. The example is for a shop where all variants are picked on one page; Google says to leave url off the ProductGroup when variants live on separate pages. The product schema checker checks a page's JSON-LD against what Google needs, and product schema markup covers the other properties.
A worked matrix: one rain jacket, 12 variants#
The Northpeak Stormline Rain Jacket comes in 3 colors and 4 sizes. That is 12 rows, written here with Google's attribute names:
| id | item_group_id | color | size | variant_option | link ends with |
|---|---|---|---|---|---|
JK-STL-BLU-S | JK-STL | Blue | S | color:Blue,size:S | ?color=blue&size=s |
JK-STL-BLU-M | JK-STL | Blue | M | color:Blue,size:M | ?color=blue&size=m |
JK-STL-BLU-L | JK-STL | Blue | L | color:Blue,size:L | ?color=blue&size=l |
JK-STL-BLU-XL | JK-STL | Blue | XL | color:Blue,size:XL | ?color=blue&size=xl |
JK-STL-YLW-S | JK-STL | Yellow | S | color:Yellow,size:S | ?color=yellow&size=s |
JK-STL-YLW-M | JK-STL | Yellow | M | color:Yellow,size:M | ?color=yellow&size=m |
JK-STL-YLW-L | JK-STL | Yellow | L | color:Yellow,size:L | ?color=yellow&size=l |
JK-STL-YLW-XL | JK-STL | Yellow | XL | color:Yellow,size:XL | ?color=yellow&size=xl |
JK-STL-BLK-S | JK-STL | Black | S | color:Black,size:S | ?color=black&size=s |
JK-STL-BLK-M | JK-STL | Black | M | color:Black,size:M | ?color=black&size=m |
JK-STL-BLK-L | JK-STL | Black | L | color:Black,size:L | ?color=black&size=l |
JK-STL-BLK-XL | JK-STL | Black | XL | color:Black,size:XL | ?color=black&size=xl |
The same on all 12 rows: item_group_title "Northpeak Stormline Rain Jacket", brand, description, gender and age_group. Different on every row: gtin (12 numbers from GS1), image_link (a photo of that color), price and availability.
The same matrix is one parent with 12 children on Amazon, one product with 2 options and 12 variants on Shopify, and one listing with 2 variation details and 12 variations on eBay. The variant matrix builder creates such rows from a product's options, with SKUs and the shared group ID, as CSV or Excel.
Common mistakes#
- One GTIN for all sizes. Each size and color is its own trade item with its own number. If the manufacturer assigned GTINs, use the one printed on each variant's pack.
- Size in the title only. Google requires the
sizeattribute for clothing and shoes in six countries and for every product available in different sizes. A size that exists only in the title leaves that attribute empty. - Variant images missing. A yellow jacket shown with the blue photo is wrong data. Google also says to avoid group photos that show several colorways together. The rules are in Google Shopping image requirements.
- The parent sent as a product. Google says not to submit the parent SKU; on Amazon the parent carries no price or quantity.
- Different products in one group. Amazon reserves the right to remove variation families or children that do not meet its rules.
- Option names that drift. "Blue", "blue" and "Navy" on three rows are three colors to a machine. Use one value list for each option.
- A group ID that changes. Google warns that a group ID that changes often can make grouping inconsistent.
- Limits found too late. 5 colors, 10 sizes and 6 lengths are 300 combinations: over eBay's 250 variations, and on Shopify they use all 3 options.
The product page checker scores up to 30 of a shop's products on the data channels need, variants included.
Where Central helps#
Central researches the product data a listing needs from your own data, the open web and verified databases, and backs every value with sources you can check. What the sources do not support is held back, for a single variant as much as for a whole product. Titles, descriptions and attributes are written within each channel's limits, and listing images are generated from the verified product record.
Questions
What is a product variant?
A product variant is one sellable version of a product that differs from the others only in an option the buyer picks, such as color or size. A rain jacket in 3 colors and 4 sizes has 12 variants. Each one has its own SKU, GTIN, price, stock and image, and all share one parent.
Should each color be a separate product or a variant?
A variant, as long as it is the same model with the same function. Google lists color, size, pattern, material, age group and gender as standard variant attributes. A different model, a different function or a set of several items is a separate product.
Does every variant need its own GTIN and SKU?
Yes. GS1 US says every variation, such as a different size or flavor, gets its own item number. Google asks for a unique ID and a different GTIN for each variant, and Amazon requires a unique product identifier and a unique seller SKU for each child.
How many variants can a Shopify product have?
As of November 2026, Shopify's help page says a product can have up to 3 options and up to 2,048 variants. It adds that some third-party themes might not support more than 100 variants.
What is item_group_id?
It is the Google Merchant Center attribute that ties variants together: every variant of one product carries the same value, 1 to 50 characters long. Google recommends the parent SKU as the value and says not to submit the parent as a product of its own.
Sources
- Item group ID [item_group_id]Google Merchant Center Helpchecked 23 November 2026
- Item group title [item_group_title]Google Merchant Center Helpchecked 23 November 2026
- Variant option [variant_option]Google Merchant Center Helpchecked 23 November 2026
- Product data specificationGoogle Merchant Center Helpchecked 23 November 2026
- ID [id]Google Merchant Center Helpchecked 23 November 2026
- GTIN [gtin]Google Merchant Center Helpchecked 23 November 2026
- Image link [image_link]Google Merchant Center Helpchecked 23 November 2026
- Product variant structured data (ProductGroup, Product)Google Search Centralchecked 23 November 2026
- Designing a URL structure for ecommerce sitesGoogle Search Centralchecked 23 November 2026
- ProductGroupschema.orgchecked 23 November 2026
- Product variations overviewAmazon Seller Central Help (US)checked 23 November 2026
- Create and manage product variationsAmazon Seller Central Help (US)checked 23 November 2026
- Multi-quantity listings and listings with variationseBay Helpchecked 23 November 2026
- Multiple-variation listingseBay Developers Programchecked 23 November 2026
- Adding variantsShopify Help Centerchecked 23 November 2026
- SKUs (stock keeping units)Shopify Help Centerchecked 23 November 2026
- BarcodesShopify Help Centerchecked 23 November 2026
- Variable productWooCommerce Documentationchecked 23 November 2026
- Product Editor settingsWooCommerce Documentationchecked 23 November 2026
- Product feed schemaOpenAI developer docschecked 23 November 2026
- What is a UPC code?GS1 USchecked 23 November 2026
- Duplicate product descriptions: when they hurt and how to fix themGuides
- PIM software compared: Akeneo, Salsify, Pimcore, Inriver, Plytix and moreComparisons
- Product data enrichment: what it adds, where it comes from, how to check itGuides
- Product data onboarding: from supplier files to a clean catalogGuides
- Product data sources: manufacturers, data pools, standards and public databasesGuides
- Shopify product CSV: columns, template and import errorsGuides
- Supplier product data template: the fields to ask every supplier forGuides
- Units of measurement in product data: one unit, one formatGuides
- WooCommerce product CSV import: columns, mapping and errorsGuides
- XML to CSV: how to convert a product feed, and backGuides