Available fields and conditions
One of the easiest ways of seeing how this app can be used is to view our example rules.
The available product fields that can be used to create category conditions are:
|Condition||New, Used or Refurbished|
|Description||HTML characters may need to be encoded, e.g. ® for ® to match.|
|Inventory Tracking|| None, Product or Variant based inventory tracking
|Inventory Level||i.e. stock level|
|Price||This is the price that is entered into admin and may not include sales tax depending on your BigCommerce settings.|
|Purchasability||Can be purchased, Can be pre-ordered, or, Cannot be purchased|
|Sale Price|| This is the price that is entered into admin and may not include sales tax depending on your BigCommerce settings.
|Type||Physical or Digital|
|(Any) Variant Sale Price|
The available operators that can be used to create category conditions are:
|Text||Contains||Case insensitive. Does not support comma-separated keywords. Each word to be matched should be a separate condition.|
|Does not contain||As above|
|Exactly matches||Case sensitive|
||Does not exactly match||As above|
|Starts with||Case insensitive|
|Does not start with||Case insensitive|
|Ends with||Case insensitive|
|Does not end with||Case insensitive|
|Is in||A list of comma-separated values, e.g. SKU is in “ABC,DEF,XYZ”. Case insensitive.|
|Is not in||A list of comma-separated values, e.g. SKU is in “ABC,DEF,XYZ”. Case insensitive.|
|On or after|
|More than||Where the date is more than so many days ago|
|Less than||Where the date is less than so many days ago|
|Other||Exists||True if the product field has a value greater than 0|
|Does not exist|| True if the product field does not have a value or that value is "falsey", e.g.
The app provides support for multiple conditions to be evaluated when considering whether a product should be assigned to a category, using AND and OR.
For example, in the below example, a product will only be assigned to the Skateboards category if “Trucks” is mentioned in its Search Keywords OR it has “skateboard” in its SKU.
This is helpful when your product catalogue doesn’t have a single consistent way of identifying products.
Similarly, you can use AND conditions when there are multiple factors to consider when evaluating which products should be assigned, or perhaps reasons to exclude products.
The below example shows creating a sale category for all products with a sale price set, bar “purses” as denoted by the product name.