Skip to content
Gaurav TiwariDocs

Reward Bigger Carts with Cart Goals

Updated November 22, 2026

Free shipping over $50 is one of the oldest ways to lift order value, but only if shoppers know how close they are. WooCommerce can offer free shipping above an amount, yet it never tells the shopper they’re $8 away, and a discount for bigger carts needs a coupon they have to find and type.

Cart Goals shows a progress bar toward up to three spend goals in the cart and checkout. Each goal grants its reward by itself when the cart gets there: free shipping, or a discount Stackless adds to the cart. Drop below the goal and the reward comes off again.

Turn On Cart Goals

  1. Open Stackless → Dashboard and turn on Cart Goals in the Checkout section.
  2. Open Stackless → Settings → Cart Goals.
  3. Fill in at least one goal and click Save changes.

Nothing shows and no reward is given until you save a goal.

Set Up the Goals

The Goals table has three rows. Fill in the ones you need:

  • Cart amount: the spend that reaches the goal, in your store currency, such as 50 or 49.99.
  • Reward: Not used, Free shipping or Discount, added automatically.
  • Discount: for a discount reward, an amount with % off (up to 100) or a fixed amount off the cart in your currency.
  • Name in messages: up to 80 characters. Leave it empty for an automatic name such as “free shipping” or “10% off”.

Goals are saved lowest amount first. The Status column says whether each goal is ready, and warns when WooCommerce coupons or shipping are turned off, because then that goal can’t be shown or granted.

The amount compared with each goal is the cart subtotal after coupons and before shipping, fees and any tax added on top. A goal’s own discount doesn’t count against it. Rewards are checked on the server on every cart change and again when the order is placed.

How the Rewards Work

  • Free shipping: every paid shipping rate in the cart becomes free, whichever method the shopper picks. It shows only for carts that need shipping.
  • Discount: a coupon Stackless adds to the cart when the goal is reached and removes when the cart drops below it. It shows in the totals as “Cart goal:” and the reward name, for example “Cart goal: 10% off”.
  • Free shipping and a discount can both apply. When a cart reaches more than one discount goal, only the highest one applies.
  • Shoppers can’t use a goal’s code below its amount. A typed code gets “This coupon is added automatically when your cart reaches” and the goal amount.
  • If a shopper removes a goal discount from the cart, it stays off for that visit unless they enter it again.

Under Other coupons, Let goal coupons combine with other coupons is off by default. Off, a coupon the shopper enters replaces the goal discount, and the goal discount comes back when that coupon is removed. On, both apply, unless the other coupon is set to individual use. The Frequently Bought Together set discount always combines with goal discounts.

If a reward has to change at the moment the order is placed, the order is stopped once with “The rewards on your cart changed. Review your order, then place it again.”

The Progress Bar

The bar shows a message, a progress bar toward the next goal and, with more than one goal, a row for each with “Earned” or the amount still to go. Change the messages in the Messages section:

  • Before a goal is reached: “Add {amount} more for {reward}” by default.
  • When every goal is reached: “You have {reward}” by default.

{amount} is the money left to the next goal, {reward} the reward name and {threshold} the goal amount. Each message takes up to 160 characters.

A goal ahead of the shopper is listed only when its reward can be granted. A free shipping goal is hidden for a cart that needs no shipping, and a discount goal is hidden while another coupon blocks it.

The settings screen has a Preview of your saved goals at sample cart amounts. Save to update it.

Choose Where the Bar Shows

Under Where the bar shows, Show on has three boxes, all ticked by default:

  • Mini cart (classic mini cart and the Mini-Cart block): the classic mini cart widget, and the drawer of the Mini-Cart block on block themes.
  • Cart page: below the cart table on the classic cart, and in the order summary of the Cart block.
  • Checkout order summary: in the Checkout block’s order summary, and on the classic checkout Above the order summary (default) or Below the order summary.

In the Mini-Cart block, the bar is a Cart goals bar block (stackless/cart-goals) that Stackless places above the drawer’s footer. Move or remove it in the Site Editor like any other block. It updates as items are added or removed and when the drawer opens.

Rewards apply whether the bar is shown or not. The bar never shows on product pages or the order received page.

There are no color settings. To match your theme, set CSS custom properties on .stackless-cart-goals, such as --stackless-cart-goals-fill for the bar color.

Multiple Currencies

With Multi-Currency on, goal amounts and fixed discounts are converted to the shopper’s currency, and the bar shows every amount in it. Percentages stay as they are.

Limits

  • Up to three goals, each with one reward. No free gift, no item-count goal, and no discount limited to some products.
  • Free shipping makes every paid rate free, including express rates. It can’t be limited to some methods or zones.
  • Discount goals don’t stack with each other.
  • Other coupons, including the Frequently Bought Together set discount, lower the amount counted toward a goal.
  • Discount goals need coupons turned on under WooCommerce → Settings → General.
  • Goal amounts are converted only with Stackless Multi-Currency. With another currency switcher they stay in your store currency.
  • A discount reward is stored on the order as a coupon with a code like stackless_goal_ab3xk9. The friendly “Cart goal:” label shows only in the cart and checkout.
  • A side cart from another plugin shows the bar only if it uses WooCommerce’s mini cart template.

For Developers

stackless_cart_goals_amount changes the amount compared with every goal. It receives the amount in the smallest unit of the cart’s currency, such as cents, and the cart. This leaves gift cards out of goal progress:

add_filter('stackless_cart_goals_amount', function ($amount, $cart) {
    $unit = 10 ** wc_get_price_decimals();
    foreach ($cart->get_cart() as $item) {
        if (has_term('gift-cards', 'product_cat', $item['product_id'])) {
            $amount -= (int) round((float) $item['line_total'] * $unit);
        }
    }
    return $amount;
}, 10, 2);
  • stackless_cart_goals_cart_eligible: bool $eligible, WC_Cart $cart. Return false to hide the bar and give no reward for that cart.
  • stackless_cart_goals_automatic_coupons: string[] $codes, coupon codes your store adds by itself. Goal discounts always combine with them.
Share

Was this helpful?

Still stuck? Open a support ticket