Skip to content
  • There are no suggestions because the search field is empty.

Conditions: is greater than / is greater or equal to / is less than / is less or equal to

The following conditions:

  • is greeter than / is greater or equal to,
  • is less than / is less or equal to;

will allow you to use individual mapping methods for individual products or product groups.

 

Example:

You can map the availability field as in_stock static value for products where quantity is greater than 0 and a static value out_of_stock for products where the quantity is less or equal to 0.

is-greater-than-is-less-tha

 

Although the two simple rules should cover all the products, it is recommended to always have an extra rule for other products (not covered by the rules)—to make sure there are no empty values in your output feed.