Discount Conditions
Every Discount Rule condition type and operator, with examples and the category, variation and guest gotchas that stop a rule matching.
Conditions decide which carts qualify for a Discount Rule. A Discount Rule has two filters:
- Conditions (Conditions tab): does this cart, Contact or Account get the rule at all?
- Which items get the discount (Actions tab, Apply the rule only to cart items matching the following conditions): which items in that cart are discounted?
Leave Conditions empty and every cart qualifies. Leave Which items get the discount empty and every item is discounted.
Cart offers vs. product offersWhole-cart offers like free shipping or "% off the cart" often need only Conditions. Offers on certain products need the products under Which items get the discount on the Actions tab, even if they're also in Conditions.
How a Condition Reads
In the Zoey Admin, go to Promotions > Discount Rules, open a rule and select Conditions.
Every rule starts with If ALL of these conditions are TRUE. Click the bold words to change them:
- ALL / ANY: every line must match, or just one.
- TRUE / FALSE: the lines must match, or must not match.

Click the green + to add a line. Click the red − to remove one. Click ... to enter a value; Zoey shows an empty ... in red and won't save the rule until it has a value.
Condition Types
| Type | Use it for | Example |
|---|---|---|
| Product attribute combination | The cart has (FOUND) or doesn't have (NOT FOUND) an item matching the lines below it. | Cart has any item in the "Gloves" category. |
| Products subselection | The total quantity or total amount of matching items. | Total quantity of "Gloves" items is at least 10. |
| Contact attribute combination | Something about the person ordering. | Contact Has Placed At Least 1 Order is No. |
| Account attribute combination | Something about the company ordering. | An Account attribute of your own, such as "Discount Tier", is Gold. |
| Conditions combination | A group of lines with its own ALL/ANY. | (Shipping State/Province is California) ANY (Subtotal equals or greater than 500). |
| Cart Attribute | The cart itself. | Subtotal equals or greater than 1000. |
Cart Attribute options: Subtotal, Total Items Quantity, Total Weight, Payment Method, Shipping Method, Shipping Postcode, Shipping Region, Shipping State/Province, Shipping Country.
Product lines (inside Product attribute combination and Products subselection): Price in cart, Quantity in cart, Row total in cart, Attribute Set, Category, SKU, Stock Qty Greater than, and any product attribute with Can Be Used for Building Promotions > Discount Rules and Sales ticked.
Contact and Account lines: any Contact or Account attribute, including your own. Drop-down and Yes/No attributes work best. See Discount by Account Attribute.
Operators
- is / is not: one value.
- is one of / is not one of: a list. Use these for more than one SKU or category. If you type a comma list with is on a product line, Zoey changes it to is one of when you save.
- equals or greater than, equals or less than, greater than, less than: numbers.
Rules That Trip People Up
Check these first
- A parent category doesn't include its subcategories. Pick each category, or assign the products to the parent too. Zoey warns when you pick a category with no products of its own.
- Configurable products: the variation (child product) is what's in the cart. Assign the variations to the category, or use SKUs.
- Bundles: include the bundle SKU and every SKU inside it.
- ALL vs ANY: two category lines under ALL means an item must be in both categories. Use ANY, or one line with is one of.
- Guests: Contact and Account conditions can't match a guest. Guests only qualify through Cart Attribute and product conditions.
Examples
| Offer | Conditions | Which items get the discount |
|---|---|---|
| $50 off orders over $1,000 | Cart Attribute > Subtotal equals or greater than 1000 | Empty |
| 10% off gloves when they buy 10 or more | Products subselection > total quantity equals or greater than 10, with Category is "Gloves" | Category is "Gloves" |
| First order only | Contact attribute combination > Has Placed At Least 1 Order is No. Set Uses per Customer to 1. | Empty |
| Gold Accounts only | Account attribute combination > your "Discount Tier" attribute is Gold | Empty |
For a first-order discount step by step, see Single-Use Discount for New Customers. For every other setting on the rule, see Discount Rules.
Related articles
Updated 9 days ago
