Skip to main content

Available fields and conditions

Use this reference to choose the fields and operators for a category rule. See Example rules for common combinations.

Available fields

FieldNotes
Brand
ConditionNew, Used, or Refurbished
Custom Field
Date Created
Date Modified
DescriptionHTML characters may need to be encoded. For example, use ® to match ®.
GTIN
ID
Inventory TrackingNone, Product, or Variant
Inventory LevelThe current stock level
MPN
Name
PriceThe price entered in the BigCommerce control panel. Depending on your store settings, it may not include sales tax.
PurchasabilityCan be purchased, Can be pre-ordered, or Cannot be purchased
Sale PriceThe sale price entered in the BigCommerce control panel. Depending on your store settings, it may not include sales tax.
Search Keywords
SKU
TypePhysical or Digital
UPC
(Any) Variant Sale PriceChecks sale prices across a product's variants.
Weight

Available operators

GroupOperatorNotes
TextContainsCase-insensitive. Add a separate condition for each value instead of a comma-separated list.
TextDoes not containCase-insensitive. Add a separate condition for each value instead of a comma-separated list.
TextExactly matchesCase-sensitive.
TextDoes not exactly matchCase-sensitive.
TextStarts withCase-insensitive.
TextDoes not start withCase-insensitive.
TextEnds withCase-insensitive.
TextDoes not end withCase-insensitive.
TextIs inAccepts a comma-separated list, such as ABC,DEF,XYZ. Case-insensitive.
TextIs not inAccepts a comma-separated list, such as ABC,DEF,XYZ. Case-insensitive.
NumberGreater than
NumberLess than
DateBefore
DateOn or after
DateMore thanChecks whether the date is more than a specified number of days ago.
DateLess thanChecks whether the date is less than a specified number of days ago.
BooleanIs true
BooleanIs false
OtherExistsTrue when the product field has a value greater than 0.
OtherDoes not existTrue when the product field has no value or has a falsy value.

Combine multiple conditions

Use AND and OR to evaluate more than one condition:

  • OR assigns a product when it matches at least one of the connected conditions.
  • AND assigns a product only when it matches all connected conditions.

For example, this rule assigns a product to the Skateboards category when Search Keywords contains Trucks OR SKU contains skateboard:

Rule joining Search Keywords and SKU conditions with OR

You can use AND conditions to narrow the results or exclude products. This example creates a Sale category for products with a product or variant sale price, while excluding products whose name contains purse:

Sale rule with conditions that exclude products containing purse in the name