Skip to content

Instantly share code, notes, and snippets.

@deniscsz
Created October 10, 2018 13:18
Show Gist options
  • Save deniscsz/6047f05ab314d642da4eb19292f90832 to your computer and use it in GitHub Desktop.
Save deniscsz/6047f05ab314d642da4eb19292f90832 to your computer and use it in GitHub Desktop.
Feed XML schema
<item>
<title> {{var name}} </title>
<link>
{{var url}}
</link>
<description>
<![CDATA[ {{var description}} ]]>
</description>
<g:id>
{{var sku}}
</g:id>
<g:mpn>
{{var entity_id}}
</g:mpn>
<g:condition>
new
</g:condition>
<g:gtin>
{{var ean}}
</g:gtin>
<g:price>
{{var price}}
</g:price>
<g:multipack>
{{var qty_increment}}
</g:multipack>
<g:availability>
{{var in_stock}}
</g:availability>
<g:image_link>
{{var image}}
</g:image_link>
<g:brand>
{{var marca}}
</g:brand>
<g:installment>
<g:months>
{{var numero_parcelas}}
</g:months>
<g:amount>
{{var preco_parcelas}} BRL
</g:amount>
</g:installment>
<g:google_product_category>
<![CDATA[ {{var google_product_category}} ]]>
</g:google_product_category>
<g:product_type>
<![CDATA[ {{var xml_category_gs}} ]]>
</g:product_type>
<g:identifier_exists>
false
</g:identifier_exists>
<g:is_bundle>
{{var is_bundle}}
</g:is_bundle>
</item>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment