--- title: Shopify variants slug: q2bb0284 canonical_url: https://docs.coveo.com/en/q2bb0284/ collection: coveo-for-commerce source_format: adoc --- # Shopify variants In Shopify, you can define a product's [variants](https://help.shopify.com/en/manual/products/variants) as options when you configure the product. The [Coveo Platform](https://docs.coveo.com/en/186/) [indexes](https://docs.coveo.com/en/204/) every Shopify variant as a separate [item](https://docs.coveo.com/en/pa8f6515/), with the variant options appended to the `ec_name` [field](https://docs.coveo.com/en/200/) of each one. If you have more than one variant option, the [Coveo Platform](https://docs.coveo.com/en/186/) [indexes](https://docs.coveo.com/en/204/) an [item](https://docs.coveo.com/en/pa8f6515/) for each combination. > **Note** > > The [Coveo Platform](https://docs.coveo.com/en/186/) doesn't create [fields](https://docs.coveo.com/en/200/) for each variant option. > > To pass variant option values to the [index](https://docs.coveo.com/en/204/) as Coveo [fields](https://docs.coveo.com/en/200/), use Shopify [metafields](https://docs.coveo.com/en/q2bb0227#metafields) and select these [fields](https://docs.coveo.com/en/200/) to [index](https://docs.coveo.com/en/204/) when you [sync your Shopify product catalog](https://docs.coveo.com/en/p2la0421#catalog-sync). All Shopify variants are [indexed](https://docs.coveo.com/en/204/) as product [catalog object](https://docs.coveo.com/en/ncig0154/) [items](https://docs.coveo.com/en/pa8f6515/), and they're [grouped together](https://docs.coveo.com/en/l78i2152/) using the `ec_item_group_id` [field](https://docs.coveo.com/en/200/). **Example** The product `Relaxed Top` is configured with the following variant options: * Color (red, blue, and yellow) * Size (S, M, and L) The [Coveo Platform](https://docs.coveo.com/en/186/) [indexes](https://docs.coveo.com/en/204/) [items](https://docs.coveo.com/en/pa8f6515/) with the following `ec_name` values: * `Relaxed Top - Red - S` * `Relaxed Top - Red - M` * `Relaxed Top - Red - L` * `Relaxed Top - Blue - S` * `Relaxed Top - Blue - M` * `Relaxed Top - Blue - L` * `Relaxed Top - Yellow - S` * `Relaxed Top - Yellow - M` * `Relaxed Top - Yellow - L` The [Coveo Platform](https://docs.coveo.com/en/186/) doesn't create [fields](https://docs.coveo.com/en/200/) for each variant option. If needed, you can use Shopify [metafields](https://docs.coveo.com/en/q2bb0227#metafields) to pass the variant option values to the [index](https://docs.coveo.com/en/204/) as Coveo [fields](https://docs.coveo.com/en/200/). If you do, make sure that you select these [fields](https://docs.coveo.com/en/200/) to [index](https://docs.coveo.com/en/204/) when you [sync your Shopify product catalog](https://docs.coveo.com/en/p2la0421#catalog-sync).