XML Feed Requirements and Examples

SmartSearch XML feed structure: categories, products, names, links, images, and prices. Tag descriptions and examples for catalog integration.

Tag reference

XML Feed Header:

1. Element <shop>

Tag (attribute) Description Example
<name> online store name <name>Example.com</name>
<url> link to the main page of the online store <url>https://example.com</url>
<currencies> store currency <currencies>
<currency id="USD" rate="1"/>
</currencies>

2. Element <categories>

Tag (attribute) Description Example Required tag
<category [id]> unique category identifier <category id="2" ordering="30" parentId="1" url="https://example.com/ua/lojki/">Spoons</category> Yes
<category [url]> category page address (for search transition) No
<category [parentId]> unique parent category identifier No

3. Element <offers>

Tag (attribute) Description Example Required tag
<offer> offer id — unique product identifier, offer available — product availability (true/false) <offer available="true" id="8"> Yes
<name> product or service name <name>Grill Tool Set Porta CHEF Broil King</name> Yes
<url> product or service page address <url>https://example.com/aksessuary/naboru-barbequ/nabor_instrumentov_dlja_grilja_porta_chef_broil_king</url> Yes
<picture> link to the product photo (preferably 160x160px) <picture>https://example.com/catalog/big/64001_01-160x160.jpg</picture> Yes
<categoryId> product category code <categoryId>2</categoryId> Yes
<model> product model (SKU), unique <model>887755</model> Yes
<price> product price <price>2100</price> Yes
<oldprice> old price before discount (for strikethrough display) <oldprice>3000</oldprice> Yes
<vendor> product brand <vendor>Berghoff</vendor> No
<description> Description <description>Опис</description> No
<label> product label (New, Hit, Sale...) <label>Hit</label> No
<sales> number of sales <sales>88</sales> No
<stock_quantity> product availability (stock quantity) <stock_quantity>8</stock_quantity> No
<filters> product filters <filters><filter><group>Type</group><name>stands</name></filter></filters> No
<latitude> store/warehouse latitude (for geosearch) <latitude>48.4567</latitude> No
<longitude> store/warehouse longitude (for geosearch) <longitude>35.1234</longitude> No

Complete XML feed example

<?xml version="1.0" encoding="UTF-8"?>
<shop>
  <name>Example Store</name>
  <url>https://example.com</url>


  <categories>
    <category id="1" url="https://example.com/grill-accessories/">Grill accessories</category>
    <category id="2" parentId="1" url="https://example.com/grill-accessories/tools/">Grill tools</category>
  </categories>

  <offers>
    <offer id="1001" available="true">
      <name>Porta CHEF Grill Tool Set</name>
      <url>https://example.com/products/porta-chef-tool-set/</url>
      <picture>https://example.com/images/porta-chef-tool-set.jpg</picture>
      <categoryId>2</categoryId>
      <model>PC-1001</model>
      <code>1001</code>
      <price>2100</price>
      <oldprice>3000</oldprice>
      <vendor>Broil King</vendor>
      <description>Stainless steel tool set for grilling.</description>
      <label>Hit</label>
      <sales>88</sales>
      <stock_quantity>8</stock_quantity>
      <filters>
        <filter>
          <group>Material</group>
          <name>Stainless steel</name>
        </filter>
      </filters>
    </offer>
  </offers>
</shop>