name: 'Google Shopping Update'
type: xml
logo: google_shopping.png
description: 'Google Shopping is a Google service that allows consumers to search for, compare, and shop for physical products across different retailers who have paid to advertise their products. Google Shopping not only promotes your business, but also makes it easier for potential customers to search for, research, and compare products.'
guide_link: https://support.google.com/merchants/answer/7052112?sjid=9412814496954771929-EU
is_user_defined: 0
is_popular: 0
marketplace: google
gmc_content_type: supplemental
xml:
  schema: |
    <?xml version="1.0" encoding="utf-8" ?>
    <rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
      <channel>
        <title>Data feed Title</title>
        <link>{{ context.store.base_url }}</link>
        <description>Data feed description.</description>
        {% for product in context.products %}
        <item>
          <g:id><![CDATA[{{ product.entity_id }}]]></g:id>
          <g:price>{{ product.final_price | price }}</g:price>
          <g:availability>{{ product.stock_status }}</g:availability>
        </item>
        {% endfor %}
      </channel>
    </rss>
