Product category condition

The "Product category" Automation condition is used to identify orders containing products which are assigned a certain category or categories.

mceclip1.png

The categories are entered as a comma-separated list.

AND condition

It is important to note that the condition is an AND condition - it expects products to match all categories included in the list. The behaviour is as follows:

# of categories Affects all rows? Behavior
Single No True if the order contains any rows with a product assigned to Category X
Multiple No True if the order contains any rows with a product assigned to Category X and Category Y, and so on
Single Yes True if all rows on the order contain products assigned to Category X
Multiple Yes True if all rows on the order contain products assigned to Category X and Category Y, and so on

If the condition is set to "is not", the reverse is true - for example, if the product category is not "tennis, football", then it would be met if the order contained rows whose products were assigned to neither the "Tennis" nor the "Football" categories. 

Tip: If you wish to set up product category as an OR condition, you should use separate Automation rules for each category.

Wildcards

Wildcards are used to match categories with a common element

Wildcards are denoted by an asterisk (*). The asterisk can be placed in the following ways:

  • At the end of a string, to match any items which begin with that string.
    • For example, CAT* would look for any items that have a category beginning with "CAT".
  • At the beginning of a string, to match any items which end with that string.
    • For example, *CAT would look for any items that have a category ending in "CAT".
  • At the beginning and the end of a string, to match items containing that string.
    • For example, *CAT* would look for any items that containing "CAT" anywhere in their category.

Require all rows to meet this condition

When the checkbox to "require all rows to meet this condition" is not selected, the condition requires any row on the order to contain products assigned to the given categories.

When it is selected, the condition requires all rows on the order to meet the condition - in other words, for the order to contain only products assigned to the categories provided and nothing else.

Have more questions? Submit a request