Basics of Feed Syntax

Feeds in RetailOps use slightly modified syntax from Perl Template Toolkit. Although there is extensive documentation available for Template Toolkit, this article covers the basics needed to start configuring your feed.

Workflow

If you haven’t already, it’s worth viewing the article, “Navigating the Feed Manager”.

You’ll be building your feed in the Feed Template section of the Feed Manager. However, before doing so, search for and select an item in the Sample Data pane. As you enter code in the Feed Template, you’ll be able to view the sample output produced by your code as it applies to the Sample Data selected. This will guide you as you modify code.

As you modify code, you can search for usable fields in the Available Fields pane to include in the feed.

Workflow

Feed Templates

Each sales channel has its own unique feed template as each requires data sent in different formats. The templates in RO have already been configured to deliver that data in the required format for each sales channel.

Tag Style

Tags allow you to include dynamic data in your feed. To include a field, you must enter its tag in the format shown below. Note the spaces between the curly braces and the tag, “sku.sku_num”. This will dynamically output the SKU number for each item in your inventory.

Tag Style

Static Values

By contrast, you may choose to output static values in your feed. To do so, you would simply enter the value into the desired field as shown below.

Static Values

Note that you may enter a combination of static and dynamic values for the field.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk