Smart Customization Condition Fields and Operators
Condition Fields and Operators
Condition rules compare a field from the customer's cart against a value you set, using an operator. Add rows with Add Condition on a Condition rule; the rule matches when all of its condition rows are true.
Available fields
- Cart total, Cart item count, Currency
- Product ID, Variant ID, SKU — matches if any line item in the cart matches.
- Product type, Vendor, Tags, Categories — matches if any line item in the cart matches; requires your product catalog to be synced (see below).
- Customer email, Customer country
- Discount code
- Source — the storefront the request came from (e.g. shopify, bigcommerce, woocommerce).
Available operators
Equals, Does not equal, Contains, Does not contain, Greater than, At least, Less than, At most, Is in list, Is not in list, Matches pattern.
Not every operator makes sense for every field. Use Greater than, At least, Less than, or At most for numeric fields like Cart total or Cart item count. Use Contains or Is in list for text fields like Tags or Categories. Is in list and Is not in list accept a comma-separated list of values (e.g. US, CA, GB for Customer country).
Searching your product catalog
When a condition's field is Product ID, Variant ID, or SKU, a catalog search box appears under the value field so you can search your synced products instead of typing an ID by hand. Selecting a result fills in the correct value automatically. Tags, Categories, Product type, and Vendor conditions similarly suggest values already seen in your synced catalog as you type.
This catalog data comes from your store's product sync, not from the live cart. If you haven't synced your product catalog yet from your integration's settings page, these fields will still work but won't offer suggestions, and Tags or Categories conditions won't have anything to match against. Contact support@partial.ly if you're not sure whether your catalog is synced.