name: Okazje
type: xml
logo: okazje.png
description: 'Okazii is a popular Romanian online marketplace. It launched in 2000 and since then has become one of the largest e-commerce sites in Romania.'
guide_link: https://dlasklepow.okazje.info.pl/pdf/okazje_info-integration.pdf
is_user_defined: 0
is_popular: 0
xml:
  schema: |
    <?xml version="1.0" encoding="utf-8"?>
    <okazje>
      <offers>
      {% for product in context.products %}
        <offer>
          <id><![CDATA[{{ product.entity_id }}]]></id>
          <name><![CDATA[{{ product.name }}]]></name>
          <description><![CDATA[{{ product.description | stripHtml | plain }}]]></description>
          <category><![CDATA[{{ product.category.name }}]]></category>
          <price>{{ product.final_price | price }}</price>
          <oldprice>{{ product.price | price }}</oldprice>
          <url><![CDATA[{{ product.url }}]]></url>
          <availability>{{ product.is_in_stock }}</availability>
          <attribute name="producent"><![CDATA[{{ product.manufacturer }}]]></attribute>
          <attribute name="kod producenta"><![CDATA[{{ product.sku }}]]></attribute>
          <attribute name="EAN">{{ product.upc }}</attribute>
          <attribute name="rozmiar"><![CDATA[{{ product.size }}]]></attribute>
          <attribute name="kolor"><![CDATA[{{ product.color }}]]></attribute>
          <weight>{{ product.weight }} kg</weight>
          <images>
            <image><![CDATA[{{ product.image }}]]></image>
            {% for image in product.gallery %}
            <addimage><![CDATA[{{ image }}]]></addimage>
            {% endfor %}
          </images>
      </offer>
      {% endfor %}
      </offers>
    </okazje>
