Last active
December 21, 2015 00:59
-
-
Save isaaclopes/6224195 to your computer and use it in GitHub Desktop.
xml de produtos Google shopping
modulo http://mirasvit.com/manuals/advanced-product-feeds-generator.html#ExampleFeedforGoogleShopping
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment