The "Contains SKU" Automation condition is used to identify orders that contain (or do not contain) a particular SKU or set of SKUs.
The required SKUs should be provided as a comma-separated list, limited to 1,900 characters.
Wildcards are used to match SKUs 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, PROD* would look for any items that have a SKU beginning with "PROD".
- At the beginning of a string, to match any items which end with that string.
- For example, *PROD would look for any items that have a SKU ending in "PROD".
- At the beginning and the end of a string, to match items containing that string.
- For example, *PROD* would look for any items that containing "PROD" anywhere in their SKU.
The "Contains SKU" condition works as an OR condition by default.
Simply enter SKUs as a comma-separated list and orders containing any of the listed SKUs will be actioned.
For example, "PROD001,PRODU002,PROD003" will action orders which contain any of those SKUs. The order may also contain other SKUs which are not specified within the condition.
To apply an AND condition - in other words, to only action orders which contain all of the specified SKUs - the "Contains SKU" condition needs to be added multiple times.
You must add a new "Contains SKU" condition for each SKU (or list of SKUs) that must be on the order.
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 the given SKU(s).
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 the SKUs provided and nothing else.