Skip to content

Instantly share code, notes, and snippets.

@kemalyen
Created September 7, 2021 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kemalyen/3641c35b4504911e3238f1e16ec8828d to your computer and use it in GitHub Desktop.
Save kemalyen/3641c35b4504911e3238f1e16ec8828d to your computer and use it in GitHub Desktop.
Example Google Merchant Feed XML
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
<channel>
<title>Celebird RSS 2.0 data feed template products-variants-apparel-upi</title>
<description>Celebird data feed template.</description>
<link>http://www.celebird.com</link>
<item>
<g:id>celebird-eg-variants-apparel-upi-001</g:id>
<title>Diesel Men's Black Stainless-Steel Analog Watch with Black Dial</title>
<description>Cutting edge style watch with a matte black plastic round case, matte black dial, black silicone strap, 3-hand quartz analog movement. Scratch resistant mineral crystal face. Water resistant up to 50 meters. Case size: 44mm. Band width: 24mm.</description>
<link>http://www.example.com/shop?products=variants-apparel-upi&amp;color=Black&amp;size=44mm&amp;country=US</link>
<g:price>105.29 USD</g:price>
<g:condition>new</g:condition>
<g:availability>in stock</g:availability>
<g:image_link>http://www.example.com/image/watch-black.png</g:image_link>
<g:tax>
<g:country>US</g:country>
<g:region>CA</g:region>
<g:rate>7.25</g:rate>
<g:tax_ship>y</g:tax_ship>
</g:tax>
<g:shipping_weight>1.5 oz</g:shipping_weight>
<g:shipping>
<g:country>US</g:country>
<g:price>0.00 USD</g:price>
</g:shipping>
<g:google_product_category>Apparel &amp; Accessories &gt; Jewelry &gt; Watches</g:google_product_category>
<g:product_type>accessories &gt; watches</g:product_type>
<g:item_group_id>dz1</g:item_group_id>
<g:color>Black</g:color>
<g:size>44mm</g:size>
<g:gender>male</g:gender>
<g:age_group>adult</g:age_group>
<g:pattern>Solid</g:pattern>
<g:brand>Diesel</g:brand>
<g:gtin>698615070527</g:gtin>
<g:mpn>DZ1437</g:mpn>
</item>
<item>
<g:id>celebird-eg-variants-apparel-upi-002</g:id>
<title>Diesel Men's White Stainless-Steel Analog Watch with Copper Dial</title>
<description>Cutting edge style watch with a white plastic round case, copper/yellow dial, white silicone strap, 3-hand quartz analog movement. Scratch resistant mineral crystal face. Water resistant up to 50 meters. Case size: 44mm. Band width: 24mm.</description>
<link>http://www.example.com/shop?products=variants-apparel-upi&amp;color=White%2FYellow&amp;size=44mm&amp;country=US</link>
<g:price>105.29 USD</g:price>
<g:condition>new</g:condition>
<g:availability>in stock</g:availability>
<g:image_link>http://www.example.com/image/watch-white.png</g:image_link>
<g:tax>
<g:country>US</g:country>
<g:region>CA</g:region>
<g:rate>7.25</g:rate>
<g:tax_ship>y</g:tax_ship>
</g:tax>
<g:shipping_weight>1.5 oz</g:shipping_weight>
<g:shipping>
<g:country>US</g:country>
<g:price>0.00 USD</g:price>
</g:shipping>
<g:google_product_category>Apparel &amp; Accessories &gt; Jewelry &gt; Watches</g:google_product_category>
<g:product_type>accessories &gt; watches</g:product_type>
<g:item_group_id>dz1</g:item_group_id>
<g:color>White&#47;Yellow</g:color>
<g:size>44mm</g:size>
<g:gender>male</g:gender>
<g:age_group>adult</g:age_group>
<g:pattern>Solid</g:pattern>
<g:brand>Diesel</g:brand>
<g:gtin>698615086467</g:gtin>
<g:mpn>DZ1572</g:mpn>
</item>
</channel>
</rss>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment