Skip to content

Tutorial: A Cart Upsell Above a Threshold ​

An offer in the cart that only appears once a shopper has spent enough to be worth asking. About 15 minutes. Needs Pro for the cart-total condition.

Everything in the cart competes with the checkout button, so an offer there has to be worth the interruption. That means showing it to the shoppers most likely to say yes, not to everyone.

In this tutorial you'll build one that only appears above a cart total, using the Cart page type, an inline list and a display condition.

What needs Pro

The Cart Upsell template, its Others Also Bought sort, and the Cart Total condition (the "only above $X" part) are Pro. The Cart page type, the Inline list display and the cart positions are free. On the free plugin you can build a similar block from the Cross-sells (Cart) template, just without the threshold: skip to the free version.

Step 1: Start from the Cart Upsell template ​

Go to Recommend → New Recommend, and under Ready-Made Recommendations, choose Cart Upsell ("A premium upsell once the cart hits a value.").

The builder opens on Setup with:

  • Show On: Cart. It reads what's in the shopper's cart.
  • Position On Page: Cart · After totals
  • How Products Are Chosen: Rules (Default)
  • Filter Type: Pairs With The Cart
  • Sorting: Others Also Bought ("Commonly bought later by the same customers"), Based on orders from: Last 90 Days
  • On Design: Inline list, heading "Complete your setup"
  • On Display Conditions: one condition, Cart Total Is Over 40

Everything is in place. The work is tuning it to your store.

Step 2: Set the threshold for your store ​

Open the Display Conditions tab. The template's 40 is a placeholder; the right number comes from your own data.

A good starting point is your average order value. Shoppers already above it are clearly comfortable spending, and they're the ones an upsell won't annoy. You'll find it under WooCommerce → Analytics → Overview (or Orders).

Change the condition to:

Cart Total · Is Over · your average order value

The amount is in your store's base currency.

Too low is worse than too high

Set it at 10 and everyone sees it, so it becomes wallpaper. Set it at three times your average order and few shoppers see it, but the ones who do are worth it. Start high and lower it if the views are too few. You can see the count in Analytics.

Step 3: Choose products worth adding ​

Back on Setup, Filter Type is Pairs With The Cart. It finds products that share categories and tags with what's already in the cart, and it already leaves out the cart's own products.

Turn on Additional Filters, click Add Filter, choose Price, and set it to Is Under roughly 30% of your threshold.

Here's why: someone with 80 in their cart will add a 20 item without rethinking the purchase. Ask them for another 80 and they'll open a new tab to think about it. A cart upsell works when it's small compared with what's already committed.

If you switch to specific filters

The cart's own products are only left out automatically in Pairs With The Cart mode. If you change Filter Type to Choose Specific Filters, add Exclude Cart Items Pro. Recommending something that's already in the cart makes the whole block look broken.

Step 4: Check the sorting ​

Still on Setup, the template sorts by Others Also Bought. Like the bought-together sort, it reads co-purchase data that Pro mines from your orders. On a store with little history it has nothing to go on, so add a second rule as a fallback:

RuleSetting
Others Also BoughtBased on orders from: Last 90 Days
PopularityPopularity window: Last 30 Days

Rules are blended, each counting the same. Where there's co-purchase data it leads; where there isn't, popular items fill in. Without a working rule, the products would come back in random order on every view.

Step 5: Keep it short ​

Click Continue to go to Design:

  • Display Style: keep Inline list. The cart's side column is narrow, and a grid squeezed beside the totals looks cramped. Rows read naturally there.
  • Products to Show: set it to 2. Not four. A shopper about to check out won't weigh up four options; they'll ignore all of them and click the button.
  • Heading Shown to Shoppers: "Complete your setup" works if you sell kits. Otherwise try "Add before you check out" or "Others added these too".

Step 6: Save and test both sides ​

Click Save Changes. The Recommendation goes live straight away.

Open a private window and test the condition from both directions:

  1. Below the threshold. Put one cheap item in the cart and go to the cart page. The block should not appear.
  2. Above the threshold. Add enough to go over it and reload. The block appears.

Testing only the "above" case is the classic mistake. A condition that always passes looks exactly like one that works, until it shows an offer to someone it shouldn't.

These cart positions work on both the classic cart and WooCommerce's Cart block.

Step 7: Check it isn't competing ​

If you already have a block at Cart · After totals (for example, one built from the Cross-sells (Cart) template), you now have two Recommendations wanting one spot. Only one can render there; the other is held back. The builder's Live Preview tells you: "Another placement wins this location."

Decide which one wins instead of finding out later:

  • Set the priority order. On All Recommendations, drag this row above the other one Pro. The higher row wins.
  • Or give it its own spot. Move one of them to Cart · Before table, so they're not competing at all.

On a cart below your threshold, the condition fails first, so it never competes and the other block shows as usual.

The free version ​

On the free plugin there's no Cart Total condition, so you can't hide the block below a threshold. You can still build something useful:

  1. Go to Recommend → New Recommend and choose Cross-sells (Cart) under Improve Existing WooCommerce Slots. It's set to Cart, Cart · After totals, Inline list, with the heading "You may be interested in…".
  2. On Setup, add a Price filter set to Is Under a small amount. A cheap add-on is rarely wrong to show, whatever the cart is worth, so the price limit does the job the threshold would have done.
  3. Under Sorting, add Popularity. The template's Frequently Bought Together rule needs Pro to mine your orders, so on the free plugin it has no data and stands aside. Without another rule, the order would be random.
  4. On Design, set Products to Show to 2.

Or try Cart · Empty cart instead. A shopper looking at an empty cart came to buy something. A popular-products block there is genuinely helpful, needs no condition, and doesn't compete with anything.

If you don't want WooCommerce's own cross-sells showing as well, turn on Settings → General → Hide Cross-sell Products. Remember, that hides them everywhere.

Step 8: Read the numbers a week later ​

Go to Analytics, choose Last 7 days, and find this Recommendation under Your Recommendations:

  • Views near zero: the threshold is too high, or something is stopping it from showing.
  • Plenty of views, CTR under about 1%: the products are wrong, not the position. Change the filters before you move the block.
  • Healthy CTR, Conv. near zero: shoppers are interested but not buying. It's usually price, so try a lower price limit.
  • Revenue climbing: try raising Products to Show to 3, and watch whether CTR holds up.

Change one thing at a time. There's no A/B testing in this release, so comparing one week with the next is the honest method, and it only works if you change one thing per week.

What you learned ​

  • Conditions decide whether the block shows; filters decide what's in it. The threshold is a condition; the price limit is a filter.
  • Test the negative case. A condition that never blocks looks just like one that works.
  • Two blocks at one position compete, and the Live Preview warns you before your storefront does.
  • Mined sorts need a fallback. Add Popularity alongside any bought-together sort.
  • The cart is a bad place for big choices. Two products, small and related.

Next ​