Rule based settings

Rule based settings are supported in most of the feed data fields.

For example a rule-based setting for the Google product category field can set the category to "Apparel & Accessories > Clothing > Shirts & Tops" if the product title includes the word "shirt", set it to "Apparel & Accessories > Clothing > Pants" if it includes the word "pants" and set it to "Apparel & Accessories > Clothing" for all other cases, can be setup like in the screenshot below:

In rule-based settings, the criteria are tested on the base expression from top to bottom and if a match is found, the corresponding outcome (the expression in the then clause) will be used to set the feed data (in this case the Google product category).

In the example above, Google product category is set to "Shirts & Tops" if the product title includes the word "shirt", if not then set to category "Pants" if the title includes "pants", or if none are matched, set to "Apparel & Accessories".

The base expression makes use of tokens to pull in the context data, and can even be a combination of them. In the screenshot, we use the Product title as the base expression, but it could be the product description or any token listed in the drop-down at the end of the field. The list of the context data that can be used in the base expression:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us