name: Shopalike
type: xml
xml:
  schema: |
    <?xml version="1.0" encoding="UTF-8"?>
    <offers>
    {% for product in context.products %}
      <offer>
        <itemId><![CDATA[{{ product.entity_id }}]]></itemId>
        <deepLink><![CDATA[{{ product.url }}]]></deepLink>
        <name><![CDATA[{{ product.name }}]]></name>
        <stock><![CDATA[{{ product.stock_status }}]]></stock>
        <TopCategory><![CDATA[{{ product.category.name }}]]></TopCategory>
        <brand><![CDATA[{{ product.manufacturer }}]]></brand>
        <ean>{{ product.sku }}</ean>
        <description><![CDATA[{{ product.description | stripHtml | plain }}]]></description>
        <price>{{ product.final_price | price }}</price>
        <oldPrice>{{ product.price | price }}</oldPrice>
        <currency>USD</currency>
        <deliveryTime></deliveryTime>
        <shippingCosts></shippingCosts>
        <image><![CDATA[{{ product.image }}]]></image>
        <size><![CDATA[{{ product.size }}]]></size>
        <color><![CDATA[{{ product.color }}]]></color>
      </offer>
      {% endfor %}
    </offers>
