Last updated: August 2026
A customer building a coffee subscription order adds a $45 bag, then a $30 grinder — cart total $75, right past your "free travel mug at $50" threshold. If your gift logic isn't watching the cart total in real time, that mug never shows up, and the customer checks out none the wiser that they qualified for anything.
"Free gift based on cart total" is the most common gift-with-purchase trigger because it maps directly to the metric you're trying to move: average order value. Spend $50, get a mug. Spend $100, get something bigger. But there's a difference between designing that promotion and getting Shopify to actually run it — natively, nothing watches the cart total and adds a product for you. This guide covers how to set that up with a rule builder, how to layer in tiered thresholds so bigger carts unlock better gifts, and a quantity-based variant for when the trigger should be "N items in the cart" instead of a dollar amount.
Why a cart-total trigger beats a flat spend-more message
"Spend $50 more for a free gift!" banners rely on the customer doing math and remembering to come back. A cart-total rule removes both steps: the moment the cart crosses the number you set, the gift appears — no code, no reminder banner, no customer action beyond shopping normally. That's the mechanical difference between a marketing message and an automation rule, and it's why cart-value triggers convert better than static promotional copy. The rest of this guide assumes you're setting up the rule itself, not just announcing the offer.
Step 1: Set up a single cart-total threshold gift
This is the baseline version: one gift, one dollar amount, added automatically once the cart clears it. Here's how to build it with AutoCart's rule builder.
- From the AutoCart dashboard, click Create New Rule and choose Store Automation (this applies to the cart page — use Checkout Automation instead if you want the gift added at checkout).
- Give the rule a Rule Title you'll recognize later, e.g. "Free mug — $50 cart total."
- Set the condition: Cart total is greater than or equal to your threshold (e.g. "$50").
- Browse your product catalog and choose the gift item.
- Pick how it's delivered — either automatic addition to cart, or an optional button that lets the customer choose whether to add the free gift.
- Under discount, set Fixed amount or Percentage and choose 100% so the gift rings up at $0.
- Optionally add a date/time window if the offer is seasonal — scheduling follows your store admin's timezone.
- Enable the rule and save.
One setup step that trips people up: after saving a new rule, toggle the App Embed in your theme settings off and back on. AutoCart's cart-page behavior runs through the embed, so a fresh rule sometimes needs that nudge before it shows up live. Test by adding items until you cross your threshold and confirming the gift appears in the cart drawer.
Step 2: Layer in tiered thresholds
A single $50 gift is a fine starting point, but tiered thresholds — a better gift at $50, a bigger one at $100, the best one at $150 — give customers a reason to keep adding to the cart instead of stopping right at the minimum. The mechanics are the same rule you just built, repeated once per tier:
- Create a separate rule for each threshold: "Free mug — $50," "Free mug + tote — $100," "Free travel kit — $150," each with its own Cart total is greater than or equal to condition and its own gift product.
- Because a cart at $120 technically satisfies both the $50 and $100 rules, you need to control which one wins — otherwise a customer could end up with every tier's gift stacked, or the wrong one showing. Use AutoCart's rule priority setting to rank the tiers so the highest-value rule the cart currently qualifies for takes precedence over the lower ones.
- Save each rule and test by walking a cart through each threshold in order ($49 → no gift, $50 → tier 1, $100 → tier 2 replaces tier 1, $150 → tier 3 replaces tier 2) to confirm only the highest qualifying tier shows.
The priority step is the one merchants skip, and it's the one that matters most — without it, tiered gifts are prone to showing the wrong tier or stacking gifts you never intended to give away together.
The exact-quantity variant: triggering on item count instead of dollars
Sometimes the trigger you want isn't a dollar amount at all — it's a specific number of items. "Buy any 2 from our sale collection, get a free tote" is a quantity rule, not a cart-value rule, and it needs a slightly different setup because AutoCart doesn't have a single "equals" operator for quantity — you build "exactly N" out of two bounding conditions:
- Create a new rule under Checkout Automation (automatically adding items based on collections or tags requires Store Automation to be the rule type, so double-check you're in the right mode before building collection-based conditions).
- Add a condition: Collection of Product in Cart, set to Any, with the quantity checkbox enabled and set to Greater than 1 — using your sale collection as the target.
- Add a second condition on the same rule: the same collection, quantity set to Less than 3. Together, "greater than 1" and "less than 3" bound the trigger to exactly 2 qualifying items — add a third and the rule stops applying, which is usually what you want for a "buy exactly 2" offer rather than "buy 2 or more."
- Click Browse to select the gift product, along with which variant and quantity to add.
- Turn on Give Discount on Selected Products if you want the gift priced at $0 automatically, and set the customer-facing message explaining the gift.
- Save the rule from the top-right Save button to activate it.
This is the right structure any time your promotion is phrased as a count ("buy 2, get 1 free," "any 3 from this collection") rather than a spend amount — the two-condition bracket is what turns a "more than" rule into an "exactly" rule.
Common mistakes with cart-total gift rules
- Setting the threshold at or just above your current AOV. If carts already average $48 and the threshold is $50, you're barely lifting spend — you're mostly giving away margin on orders that would have happened anyway. Set thresholds meaningfully above your current average.
- Forgetting rule priority on tiered offers. As covered above, overlapping thresholds without a priority order can show the wrong tier or stack gifts across tiers.
- Not testing the downgrade path. If a customer removes an item and drops from $110 back to $60, confirm the $100-tier gift is swapped out for the $50-tier gift (or removed entirely) rather than staying in the cart at the wrong tier.
- Mixing Store Automation and Checkout Automation without knowing the difference. Collection- and tag-based triggers only work under Store Automation; if a quantity rule isn't firing, check which automation type the rule is actually running under first.
- Only building one tier. A single threshold works, but tiered gifts consistently do more to lift AOV because they give customers a next milestone to chase instead of stopping once they qualify.
Cart total based free gift rules: frequently asked questions
Can Shopify automatically add a free gift when the cart hits a dollar amount? Not with native tools — Shopify's built-in discounts can make a product free, but the customer still has to add that product themselves. To trigger the add automatically at a cart-total threshold, you need Shopify Functions (Shopify Plus, developer required) or a rule-based app like AutoCart.
How do I set up tiered free gifts at different spend levels? Create one rule per threshold, each with its own cart-total condition and gift product, then set a priority order between the rules so the highest tier a cart currently qualifies for is the one that shows — otherwise overlapping thresholds can stack or conflict.
Can I trigger a free gift by item count instead of cart total? Yes. Use a quantity condition on a collection (e.g., "greater than 1") combined with a second bounding condition ("less than 3") to trigger on an exact count, such as "buy exactly 2, get 1 free," instead of a dollar threshold.
Does the gift get removed automatically if the cart drops below the threshold? With a rule-based app like AutoCart, yes — the rule re-evaluates as the cart changes, so a gift that no longer qualifies is removed before checkout. That protection doesn't exist with the native discount-code workaround.
Start with one threshold, then build out the tiers
If you're testing this for the first time, start with a single cart-total rule at a threshold set comfortably above your current AOV, confirm the gift adds and removes correctly as carts change, then layer in a second and third tier once the first is working. The priority step is what separates a clean tiered promotion from one that shows the wrong gift — don't skip it.
AutoCart handles the cart-total trigger, the tier priority, and the automatic removal in one rule builder, with no theme edits or custom code. For the full comparison of every method Shopify merchants use to run gift-with-purchase offers — including where the native discount workaround still makes sense — see our gift with purchase setup guide. If your promotion is closer to "buy one, get one" than "spend X, get Y," the Shopify BOGO guide covers that quantity-based variant in more depth.
Try AutoCart free on your Shopify store: apps.shopify.com/autocart-auto-add-to-cart

Install Now