Process categories concisely or extensively in XML Feed (EN)
In an XML feed, it is possible to process categories concisely or extensively as product fields.
Concise categories
If you only want to use the category id in Squeezely, you can process the following within each item in the feed:
<category_ids>
<category_id>Pants</category_id>
<category_id>Blue</category_id>
</category_ids>
OR
<category_ids>Blue</category_ids>
<category_ids>Pants</category_ids>
Note: the category id in the ViewCategory event needs to match the category id in Squeezely! In the example above, trousers and blue must be forwarded as category_ids at ViewCategory to be forwarded.
Extended categories
If you want to use more information about the categories in Squeezely, you can process the following within each item in the feed:
<categories>
<category>
<id>1</id>
<title>Pants</title>
<description>Nice Pants</description>
<link>https://mywebsite/pants</link>
</category>
<category>
<id>2</id>
<title>Blue</title>
<description>Blue products</description>
<link>https://mywebsite/pants</link>
</category>
</categories>