sortyra.com/glossary/item-group-id-product-variants

item_group_id and ITEMGROUP_ID – variants in a feed

Markdownllms.txtai-catalog.jsonSKILL.mdauth.md
# item_group_id and ITEMGROUP_ID – variants in a feed

> item_group_id (ITEMGROUP_ID on Heureka) is a shared code that links the variants of one product in a feed, such as the sizes and colours of a T-shirt.

Source: <https://sortyra.com/glossary/item-group-id-product-variants>

---

[Sortyra](https://sortyra.com/) [Glossary](https://sortyra.com/glossary) [I – L](https://sortyra.com/glossary/i-l)

# item_group_id (variant group)

Sortyra team · April 23, 2026 · 3 min read

[Glossary](https://sortyra.com/glossary)

[A – D](https://sortyra.com/glossary/a-d) [E – H](https://sortyra.com/glossary/e-h) [I – L](https://sortyra.com/glossary/i-l) [M – P](https://sortyra.com/glossary/m-p) [Q – T](https://sortyra.com/glossary/q-t) [U – X](https://sortyra.com/glossary/u-x)

- [identifier_exists](https://sortyra.com/glossary/identifier-exists-google-feed)
- [JSON](https://sortyra.com/glossary/what-is-json-format)
- [Landing page](https://sortyra.com/glossary/what-is-a-landing-page)
- [Locked field](https://sortyra.com/glossary/locked-field-manual-override)

item_group_id is a shared code that links the variants of one product in a feed – for example, a hoodie in four sizes and two colours. Each variant is a separate item with its own ID, but they all carry the same group code. On Heureka and Zboží this field is called ITEMGROUP_ID.

**In this article**

1. What is item_group_id
2. What it looks like in a feed
3. What it is used for
4. What to watch out for
5. How Sortyra helps
6. Related terms
7. Frequently asked questions

## What is item_group_id

Picture a clothes rail in a shop with one hoodie model hanging on it, in sizes S to XL and in two colours. Each piece has its own tag with its own code, but they all belong to the same model. In a feed, each of these pieces is a separate item – a **variant**. So that a computer knows the variants belong together, they all get the same group code: `item_group_id`.

The group code is usually taken from the code of the main ("parent") product. Customers never see it; it is only there to link the variants.

## What it looks like in a feed

`<!-- Google Merchant --> <item> <g:id>MIK-200-M-SIV</g:id> <g:item_group_id>MIK-200</g:item_group_id> <g:title>Horal Classic hoodie grey M</g:title> <g:color>grey</g:color> <g:size>M</g:size> </item> <!-- Heureka --> <SHOPITEM> <ITEM_ID>MIK-200-M-SIV</ITEM_ID> <ITEMGROUP_ID>MIK-200</ITEMGROUP_ID> <PRODUCTNAME>Horal Classic hoodie grey M</PRODUCTNAME> </SHOPITEM>`

The "grey M" variant has its own ID, but it shares the group code `MIK-200` with all the other sizes and colours.

## What it is used for

- **Google Shopping** uses it to show variants together, so the customer can choose a colour or size. Google requires the field for variants in selected countries and recommends it everywhere. Alongside it, Google also wants the attribute in which the variants differ (`color`, `size`, `material`, `pattern`).
- **Meta** (Facebook, Instagram) also requires it for variants.
- **Heureka**, according to its specification, uses `ITEMGROUP_ID` only for clothing and footwear.
- **Zboží.cz** recommends it for variants that differ in one parameter and does not limit it to fashion.
- **Online shops** use the group code on import to create one product page with a choice of variants.

## What to watch out for

- **The same code for different models.** If two different products get the same group code, the channel merges them into one offer.
- **A missing code on variants.** Each size then appears as a separate, unrelated product.
- **Variants with no difference.** The channel treats two variants with the same colour and size as duplicates – they must differ in at least one attribute.
- **A changing code.** Keep the group code stable; after a change, the channel treats it as a new group.
- **Length:** Google accepts a maximum of 50 characters, Heureka and Zboží 36.

## How Sortyra helps

When Sortyra loads a source, it groups variants even if the supplier sends them as separate items with a reference to the parent. The **Fill in missing codes** recipe in **Rules** gives a series that shares an EAN a common group code, so it is displayed as variants. In the output for Google, the code is written as `g:item_group_id`.

## Related terms

- [Product ID – id / ITEM_ID](https://sortyra.com/glossary/product-id-in-feed)
- [Colour – color](https://sortyra.com/glossary/color-attribute-google-feed)
- [Size – size](https://sortyra.com/glossary/size-attribute-google-feed)
- [Parameters – PARAM / product_detail](https://sortyra.com/glossary/product-parameter)
- [SKU / product code](https://sortyra.com/glossary/what-is-an-sku)
- Longer article: [Product attributes and variants](https://sortyra.com/knowledge-base/product-attributes-and-variants)

## Frequently asked questions

### Is item_group_id required?

Only for products that have variants. A simple product without variants doesn't need it, and the field is left out.

### What should I put in item_group_id?

The code of the main product, for example `MIK-200`. It must be the same for all variants of one model and different for every other model.

### Can I use ITEMGROUP_ID on Heureka for every product?

No. According to its specification, Heureka uses it only for clothing and footwear; distinguish other variants by their name and parameters.

[← Previous article **identifier_exists**](https://sortyra.com/glossary/identifier-exists-google-feed) [Next article → **JSON**](https://sortyra.com/glossary/what-is-json-format)

## Try it on your own feed

[Try it free](https://app.sortyra.com/registracia?lang=en) [Book a 15-min call](https://sortyra.com/contact)