# Adding variants to Google Feed XML

**URL:** https://forum.shopware.com/t/adding-variants-to-google-feed-xml/53469
**Category:** International (English Only)
**Tags:** general
**Created:** [13. Juni 2018 um 13:25 UTC](https://forum.shopware.com/t/adding-variants-to-google-feed-xml/53469 "2018-06-13T13:25:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![roberto](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@roberto](https://forum.shopware.com/u/roberto)
#### Post date: [13. Juni 2018 um 13:25 UTC](https://forum.shopware.com/t/adding-variants-to-google-feed-xml/53469/1 "2018-06-13T13:25:41Z")

</div>

Hi,

I am trying to edit the Google Feed XML to add some fields missing but not sure how this should be done. I’m selling t-shirts and there are different sizes and colours but this information it’s not already in the feed. As far as I know this needs to be added using a id group for this type of products but don’t see the way to do this using the current options in the backend. It seems to be adding a different item for each variant but how can I tell which one is going in each item?

Thanks

---

<div class="post-metadata">

### Author: ![vanwittlaer](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/vanwittlaer/32/8499_2.png) [@vanwittlaer](https://forum.shopware.com/u/vanwittlaer)
#### Post date: [13. Juni 2018 um 13:53 UTC](https://forum.shopware.com/t/adding-variants-to-google-feed-xml/53469/2 "2018-06-13T13:53:15Z")

</div>

Roberto,

you need to activate the “Exports variants” option for the feed. Then try a {$sArticle|print\_r} to see what’s in there for the variants.

Good luck,

Geert

---

<div class="post-metadata">

### Author: ![roberto](https://avatars.discourse-cdn.com/v4/letter/r/8baadc/32.png) [@roberto](https://forum.shopware.com/u/roberto)
#### Post date: [13. Juni 2018 um 13:59 UTC](https://forum.shopware.com/t/adding-variants-to-google-feed-xml/53469/3 "2018-06-13T13:59:13Z")

</div>

Hi @vanwittlaer‍ ,

I already have that option enabled and it is exporting a node for each one but I don’t know how to display the current variant, wouldn’t display always the same? I’m going to try that {$sArticle|print\_r}&nbsp; and post my results

Thanks 🙂

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [13. Juni 2018 um 17:24 UTC](https://forum.shopware.com/t/adding-variants-to-google-feed-xml/53469/4 "2018-06-13T17:24:29Z")

</div>

Have a look at our documentation:&nbsp;[https://en-community.shopware.com/\_detail\_828.html?\_ga=2.1493937.1660616975.1528910608-1440626072.1524667590#Output\_configurator\_options\_in\_own\_columns\_since\_Shopware\_5.2.9](https://en-community.shopware.com/_detail_828.html?_ga=2.1493937.1660616975.1528910608-1440626072.1524667590#Output_configurator_options_in_own_columns_since_Shopware_5.2.9)
