Set up the XML Feed (EN)
The XML feed can be set up in XML RSS 2.0 or ATOM 1.0 format
Product Fields in XML
The product fields are processed in an XML Feed as follows:
Product field | Notation in XML | Example of notation in XML | Notes |
---|---|---|---|
id | <id>123</id> | ||
title | <title>Blue jeans</title> | ||
link | <link>https://www.mywebsite.com/bluejeans</link> | ||
image_link image_links | <image_link>https://www.mywebsite.com/urlofbluejeans.jpeg</image_link> <image_links>https://www.mywebsite.com/urlofbluejeans_leftside.jpeg</image_links> |
| |
price | <price>1249.95 EUR</price> |
| |
availability | <availability>In stock</availability> | The following options can be handled by Squeezely:
| |
inventory | <inventory>12</inventory> | ||
fire | <brand>Leviβs</brand> | ||
description | <description>Pretty blue jeans</description> | ||
sale_price | <sale_price>1039.95</sale_price> | See comments Price | |
condition | <condition>New</condition> | The following options can be handled by Squeezely:
|
Special product fields in XML
The special product fields are processed in an XML feed as follows:
Product field | Notation in XML | Example of notation in XML | Remarks |
---|---|---|---|
parent_id | <parent_id>321</parent_id> | For more information Parent ID | |
Summary option category_ids category_ids OR category_ids category_id category_id Extended Option categories category id title description link | Short option <category_ids>Jeans</category_ids> OR <category_ids> Extended option <categories>
<category>
<id>TV-1234</id>
<title>TV's 22"</title>
<description>Only the best TV's 22"</description>
<link>https://www.example.com/tvs/22</link>
</category>
</categories> Β | For more information on the condensed and extended options Concise and extended categories in XML Feed Please note that the use of Google Product category differs! For more information: https://squeezely.tech/documentation#store-googlefeed | |
Custom product fields (example: subscription) | subscription | <subscription>Premium</subscription> | Before saving custom product fields in Squeezely, the fields must first be created. More information Create custom product fields |
Check
After setting up the XML feed you can put it online and check it as follows:
Go to the Feed validator
Enter the feed URL and press 'Validate feed'
Check the response and modify the XML Feed if necessary
Languages
When products are offered in multiple languages, you have two options:
Upload a separate file per language. This is usually the most structured solution.
Use multiple languages in one file, by using the "language" attribute in combination with an ISO country code, for example nl-nl.
In the last scenario you can choose to only include non-language fields for one language, or repeat them for each language. Important is that in both scenarios the product IDs have to match per language.