Display conditions control when an order bump appears. Instead of showing the same offer to everyone, you can target what’s in the cart, the customer’s order history, product stock, the customer’s country or their user role.
Every condition must pass for the bump to show. For example, a bump can show only when the cart contains Product X, the customer has ordered before, and the subtotal is over $100.
Rules fall into four groups:
- Cart rules check the current cart, for guests and logged-in customers alike.
- Customer history rules check the logged-in customer’s past orders.
- Product rules check the stock of products in your store.
- Checkout context rules check the customer’s country and user role.
Add display conditions
- Open an order bump for editing and find the Display Conditions panel.
- Click Add rule. The first rule reads Show If, and each rule after it reads And If.
- Choose the rule from the dropdown, then set its options.
You can add as many rules as you need. More rules means more precise targeting, and a smaller audience.
Cart rules
Cart rules respond to what the customer is buying right now. When a rule looks at cart totals, the bump it’s evaluating is left out of the calculation, so adding the bump can’t change whether it shows.
Cart Contents
Checks whether the cart is empty or contains particular items.
- Is empty and Is not empty check whether there’s anything in the cart. A checkout always has items, so these are rarely useful.
- Contains (Products), Contains (Categories), Contains (Tags) and Contains (Global Product Attributes) check for the products, categories, tags or attribute terms (like a color or size) that you select.
The “Contains” options also take a matching operator:
- At least one of the selected passes if any of your selections are in the cart.
- All of the selected passes only if every selection is in the cart. Use it for bundle-style offers.
- None of the selected passes only if none of your selections are in the cart. Use it to exclude products.
Example: A camera store shows a lens cleaning kit to anyone buying a camera. They set Cart Contents to Contains (Categories) with At least one of the selected, and choose their Cameras and Camera Lenses categories.
Cart Total Quantity
Counts all the items in the cart, whatever they are. Enter a whole number and choose a comparison operator.
Example: An apparel store shows a bulk discount when someone buys 5 or more items: Is greater or equal to 5.
Cart Subtotal
The cart’s product total before coupons, shipping and fees. It includes tax when your store displays prices including tax. Enter an amount without the currency symbol.
Example: A store with free shipping at $100 shows an expedited shipping upgrade to customers close to it: Is greater or equal to 75.
Cart Subtotal After Discounts
The same total as Cart Subtotal, minus coupon discounts. If this bump has a discount of its own, it isn’t counted. Use it when your threshold should match what the customer pays after their coupons.
Example: A store with free shipping at $100 after coupons shows an expedited shipping bump: Is greater or equal to 100.
Quantity of Product in Cart
Counts how many of the products you select are in the cart. With several products selected, their quantities are added together.
Example: A coffee roaster shows a subscription offer when someone buys 3 or more bags: select “Coffee Beans 12oz”, choose Is greater or equal to and enter 3.
Quantity of Category in Cart
Counts the cart lines with products from the categories you select. In CheckoutWC 11.5.0 it counts each product line once, whatever its quantity, so two bottles of the same wine count as 1.
Example: A wine shop shows an accessories bump when someone buys more than 2 different wines: select the Wine category, choose Is greater than and enter 2.
Cart Coupons
- Has coupon passes when any of the coupon codes you enter is applied. Separate codes with commas. Leave the codes empty to match any coupon.
- Has no coupon passes when no coupons are applied.
Codes are matched without regard to upper or lower case.
Example: A store shows a premium upgrade only to customers paying full price: Has no coupon.
Customer history rules
Customer history rules look at a logged-in customer’s past orders, so you can treat first-time buyers differently from regulars or remind customers to reorder.
Customer History: Total Spent, Customer History: Average Order Value and Customer History: Total Orders need CheckoutWC 11.5.1 or later. In earlier versions they read 0 for every customer.
How the history rules count orders:
- Total Orders counts all of the customer’s orders, whatever their status, including pending, failed and cancelled orders.
- Total Spent adds up the customer’s paid orders: those with the Processing or Completed status.
- Average Order Value divides Total Spent by Total Orders.
- The quantity, days and date rules count only orders with the Completed status.
- Customer History: Days Since Order and the Quantity of Product Ordered and Quantity of Category Ordered rules look at the customer’s most recent completed orders, up to your Blog pages show at most setting under Settings » Reading (10 by default). The other days and date rules look at all completed orders.
How the rules treat guests:
- Total Orders, Average Order Value, Quantity of Product Ordered and Quantity of Category Ordered count 0 for a guest, and compare that against your value.
- Total Spent and every days and date rule fail for guests, so a bump that uses them never shows to guests. To show an offer to guests, make a separate bump with User Role set to Guest.
Total Spent, Average Order Value and Total Orders
- Customer History: Total Spent compares the customer’s lifetime spending on paid orders.
- Customer History: Average Order Value compares their average spend per order.
- Customer History: Total Orders compares how many orders they’ve placed.
All three take a comparison operator and a number.
Examples:
- First-time buyers: Total Orders Is equal to 0. Guests count as 0 orders, so they see the offer too.
- Returning customers: Total Orders Is greater than 0.
- Your best customers: Total Spent Is greater than 500. Total Spent fails for guests, so guests never see this offer.
On the thank you page, the order the customer just placed already counts toward Total Orders, so use Total Spent or the quantity rules for post-purchase offers instead of “Total Orders Is equal to 0″.
Customer History: Quantity of Product Ordered
How many of the selected products the customer has bought in their completed orders.
Example: A supplement company offers a subscription to customers who’ve bought 3 or more bottles of protein powder: select the protein powder products, choose Is greater or equal to and enter 3.
Customer History: Quantity of Category Ordered
How many items from the selected categories the customer has bought.
Example: A skincare brand offers a loyalty upgrade to customers who’ve bought 10 or more skincare items: select Skincare, choose Is greater or equal to and enter 10.
Days since an order
These rules count the days since an order, and take a number of days and a comparison operator:
- Customer History: Days Since Order: choose First order or Last order. In CheckoutWC 11.5.0 this rule always measures from the customer’s most recent completed order, whichever you choose.
- Customer History: Days Since Product Ordered: choose First order or Last order and the products. With several products, an order with any of them counts.
- Customer History: Days Since Category Ordered: choose First order or Last order and the categories. With several categories, an order with any of them counts.
A days rule fails when the customer has no matching completed order. So “Days Since Order Is greater or equal to 0″ passes for any customer with at least one completed order.
Category example: A store selling seasonal products shows a reminder bump when it’s been about six months since a customer ordered sunscreen. They set Days Since Category Ordered to Last order, select “Sunscreen”, choose Is greater than and enter 180.
Example: A skincare brand sells a moisturizer that lasts about 30 days. To show a refill bump, they set Days Since Product Ordered to Last order, select the moisturizer, choose Is greater than and enter 25.
Dates of orders
These rules compare an order against a calendar date:
- Customer History: Date of Order: choose First order or Last order, then Was placed on, Was not placed on, Was placed after or Was placed before, and pick a date.
- Customer History: Date of Product Ordered and Customer History: Date of Category Ordered: choose First ordered or Last ordered, the products or categories, then On, Not on, After or Before, and pick a date.
Example: A store offers grandfathered pricing to customers who first bought before a price increase. They set Date of Order to First order, choose Was placed before and pick January 1, 2024.
Product rules
Product rules check the stock of products in your store, whether or not they’re in the cart.
Product Inventory
Select the products, then choose Is in stock, Is out of stock or Is on backorder. With several products selected, every one must match.
Example: Show an alternative when your best seller sells out: select “Popular Widget” and choose Is out of stock, then offer a similar product in the bump.
Quantity of Product in Stock
Compares the stock quantity of the products you select against a number. With several products, their stock is added together. Products that don’t manage stock count as 0.
Example: Show a “limited stock” offer when fewer than 10 are left: select the product, choose Is less than and enter 10.
Checkout context rules
Shipping Country and Billing Country
Check the country in the customer’s shipping or billing address. Select one or more countries with a matching operator:
- At least one of the selected passes for any of your countries.
- None of the selected passes for every country except yours.
- All of the selected isn’t useful here, since an order has one shipping and one billing country.
Example: A US store shows shipping insurance only to customers outside North America: Shipping Country, None of the selected, United States and Canada.
Billing country example: A store running a European promotion shows a regional offer: Billing Country, At least one of the selected, United Kingdom, Germany and France. Use Billing Country rather than Shipping Country when you want to target where the customer is paying from, not where the order is going.
User Role
Checks the customer’s WordPress user role. The list includes every role on your site, plus Guest for customers who aren’t logged in. It uses the same matching operators as the country rules.
Example: A store shows a volume discount to wholesale accounts: User Role, At least one of the selected, “Wholesale Customer”.
Operator reference
Numeric comparison operators
Quantity, amount and days rules compare a calculated value against the number you enter.
| Operator | Matches | Example |
|---|---|---|
| Is equal to | Exactly the value | Cart Total Quantity = 5 |
| Is not equal to | Anything but the value | Total Orders ≠ 0 (has ordered before) |
| Is greater than | Above the value | Subtotal > 100 |
| Is less than | Below the value | Stock < 10 |
| Is greater or equal to | The value or above | Days since order ≥ 30 |
| Is less than or equal to | The value or below | Average Order Value ≤ 50 |
“Is greater than 5” means 6 or more. To include 5, use Is greater or equal to.
Matching operators
Rules that check a list (products, categories, tags, attributes, countries and roles) use these.
| Operator | Passes when | Use it for |
|---|---|---|
| At least one of the selected | Any selection matches | Targeting a group: camera or lens or tripod |
| All of the selected | Every selection matches | Requiring several items: camera and lens and tripod |
| None of the selected | No selection matches | Excluding items: no sale items |
Practical examples
Cross-sell to camera buyers
Show a memory card to anyone buying a camera.
- Cart Contents: Contains (Categories), At least one of the selected, your camera categories.
Upgrade for large orders
Offer expedited shipping on orders of $150 or more.
- Cart Subtotal: Is greater or equal to 150.
Returning customer offer
Show an exclusive bundle to logged-in customers with at least one completed order.
- Customer History: Days Since Order: Last order, Is greater or equal to 0.
Guests and customers with no completed orders won’t see it.
Replenishment reminder
Suggest a refill to customers who bought protein powder more than 25 days ago and don’t have it in the cart.
- Customer History: Days Since Product Ordered: Last order, “Protein Powder”, Is greater than 25.
- Cart Contents: Contains (Products), None of the selected, “Protein Powder”.
International shipping insurance
Offer insurance on international orders over $100.
- Shipping Country: None of the selected, United States and Canada.
- Cart Subtotal: Is greater than 100.
Wholesale exclusive
Show a volume discount to wholesale accounts ordering 10 or more items.
- User Role: At least one of the selected, “Wholesale Customer”.
- Cart Total Quantity: Is greater or equal to 10.
Low stock urgency
Promote a limited item in the cart while stock is low.
- Cart Contents: Contains (Products), At least one of the selected, “Limited Edition Widget”.
- Quantity of Product in Stock: “Limited Edition Widget”, Is less than 20.
Win back lapsed customers
Offer a deal to returning customers who haven’t ordered in 90 days.
- Customer History: Days Since Order: Last order, Is greater than 90.
The rule fails for customers with no completed orders, so new customers and guests won’t see it.
Common issues
There’s no “or” between rules
Every rule on a bump must pass. To show the same offer under different conditions, create a bump for each one. For example, to show an offer when the cart contains a camera or the customer is a VIP, create one bump with the camera rule and another with the VIP rule.
The bump doesn’t show when it should
- Walk through every rule with your test order. If one of five rules fails, the bump doesn’t show.
- Test customer history rules while logged in as a customer with the right Completed orders.
- Total Spent, Average Order Value and Total Orders need CheckoutWC 11.5.1 or later. On 11.5.0 and earlier they read 0 for every customer.
- Total Spent counts only Processing and Completed orders, so a customer whose orders are all on hold or pending reads 0.
- Check you selected the right products, categories or countries. Similar names are easy to mix up.
- Check the offer product is purchasable and in stock or on backorder. A bump with an unavailable product doesn’t show.
- Check the operator: “Is greater than 5” doesn’t include 5.
The bump shows when it shouldn’t
- Add a rule to narrow the audience. To keep guests out, add a User Role rule with None of the selected and Guest.
- Remember that guests count as 0 for Total Orders, Average Order Value and the quantity ordered rules, so “Total Orders Is equal to 0″ shows to every guest.
- Total Orders counts failed and cancelled orders too, so a customer whose only order failed isn’t a first-time buyer to that rule.
- Check whether you chose At least one of the selected or All of the selected. They behave differently.