isaaclopes
8/13/2013 - 6:35 PM

xml de produtos Google shopping modulo http://mirasvit.com/manuals/advanced-product-feeds-generator.html#ExampleFeedforGoogleShopping

<?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>{base_url}</link>
    <description>Data feed description.</description>
    {each type="product"}
      <item>
        <g:id>{sku}</g:id>
        <title><![CDATA[{name,[html_entity_decode]}]]></title>
        <link>{url}</link>
        <g:adwords_redirect>{url}</g:adwords_redirect>
        <g:price>{price,[number_format 2]}</g:price>
        <g:sale_price>{special_price,[number_format 2]}</g:sale_price>
        <g:online_only>y</g:online_only>
        <description><![CDATA[{short_description,[strip_tags]}]]></description>
        <g:product_type><![CDATA[{category_path}]]></g:product_type>
        <g:image_link>{image}</g:image_link>
        <g:condition>new</g:condition>
        <g:availability>in stock</g:availability>
        <g:quantity>{qty}</g:quantity>
        <g:color>{color}</g:color>
        <g:shipping_weight>{weight, [number_format 2]} kilograms</g:shipping_weight>
        <g:manufacturer>{manufacturer}</g:manufacturer>
		<g:installment>
			<g:months>{special_price,[numerototalparcelas]}</g:months>
			<g:amount>R$ {special_price,[valortotalparcelas]}</g:amount>
		</g:installment>
        <g:brand>{manufacturer}</g:brand>
        <g:mpn>{sku}</g:mpn>
        <g:gtin>{ean}</g:gtin>
      </item>
    {/each}
  </channel>
</rss>