Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

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 (or SKU in Squeezely)

id

<id>123</id>


πŸ‡³ Title (or name in Squeezely)

title

<title>Blue jeans</title>


πŸ”— Link (or URL in Squeezely)

link

<link>https://www.mywebsite.com/bluejeans</link>


πŸ–Ό Image_link or image_links

image_link

image_links

<image_link>https://www.mijnwebsite.nl/urlvanblauwebroekafbeelding</image_link>

<image_links>https://www.mijnwebsite.nl/urlvanzijkantblauwebroekafbeelding</image_links>

  • Image_link for one image of the product

    • Minimum 600x600 pixels

    • Preferably square

  • Image_links with several images of the product

    • Maximum 20 images

🏷 Price + πŸ’²Currency

price

<price>1249.95 EUR</price>

  • Price in decimals

  • No separator for thousands

  • Point as decimal separator

Availability (EN)🀲 Availability

availability

<availability>In stock</availability>

The following options can be handled by Squeezely:

  • In stock (default)

  • Out of stock

  • Available for order

  • Preorder

πŸ“‹ Inventory

inventory

<inventory>12</inventory>


🌟 Brand

fire

<brand>Levi’s</brand>


β„Ή Description

description

<description>Pretty blue jeans</description>


πŸ“£ Sale price

sale_price

<sale_price>1039.95</sale_price>

See comments Price

πŸ†• Condition

condition

<condition>New</condition>

The following options can be handled by Squeezely:

  • New (default)

  • Used

  • Refurbished

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

<parent_id>321</parent_id>

For more information Parent ID

πŸ”  Category

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>
<category_ids>Blue</category_ids>

OR

<category_ids>
<category_id>Jeans</category_id>
<category_id>Blue</category_id>
</category_ids>

Extended option
When using IDs, when you want to see the pretty name in Squeezely add this to your feed

<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


Β Example product feed

Here is an example of an RSS feed:


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.

Β How do I import the XML feed into Squeezely?

You can find more information about importing the XML feed here:

Importing the XML feed


  • No labels