Key-value pairs make up the feed fields that make up each feed. The number of fields in custom feeds is unlimited, and the field key can be any string. The amount of fields and field keys for pre-configured templates are restricted by the product listing they made for.
To generate field values, the application makes use of adaptable macro-driven input fields. The input field section is shown on Figure 1. Where:
The macro sources block includes these components:
You must complete those procedures in order to add a new macro element to an input field:
Feed value could be made optional, for example, by applying it only in the event that specific requirements are satisfied. To accomplish this, you must take the actions shown in Figure 3:
Conditions work as follows: if there are feed values with conditions, they are tested in sequence, first matched feed value wins. If no conditions match, feed value without condition apples. If no conditions match and there is no feed value without conditions, feed value will be omitted from feed. Thus required feed values (marked with asterisk) should always have value without conditions.
Accordingly, in the scenario shown in Figure 4, the feed Title value resolves to “Product title #2” if the product title is “Big pajama” and to “Product title #3” (default, non-optional value) if the product title is “Small pajama.”
© 2016-2024