Discounts

October 8, 2026

Any offer can carry a fixed-amount or percentage discount, applied to the offered product the moment a shopper accepts. Discounts run through Shopify Functions — Shopify's own native discount pipeline — so they work at checkout with no extra setup, no scripts and no injected storefront code. They're scoped to the units the offer actually sells rather than the whole cart line.

A property of the offer, not a separate object

You set the discount on the offer itself. There's no separate discount to create, link or keep in sync, and nothing for the shopper to enter. Accepting the offer applies it.

Discounting is scoped to what the offer sells. If an offer sells one unit at $5 off and the shopper later raises that line to three units, the discount stays $5 rather than becoming $15 — the offer discounted the thing it offered, not everything that happens to share a line.

Native Shopify Functions

Discounts are applied by a Shopify Function reading configuration UpsellPlus keeps in sync on your shop's discount nodes. That matters for three reasons: it's the pipeline Shopify itself uses, so checkout needs no additional configuration; it isn't the deprecated Scripts system; and nothing is injected into your storefront to make it work.

Discount protection

By default, a discount applied to a cart line stays applied. If you want it re-checked, discount protection is a setting you turn on per offer: with it enabled, the discount is re-verified against the offer's current targeting on every cart evaluation and withheld if the cart no longer qualifies.

That choice matters for offers whose discount is conditional — a wholesale-only price, or a discount that should only apply alongside a qualifying product. Leave it off and the discount behaves like a one-time grant; turn it on and it behaves like an entitlement that has to keep being earned.

The protection fails closed. If a protected offer's targeting lists grow beyond what Shopify's function input can carry, the discount is withheld entirely rather than evaluated against a partial list — because a truncated exclusion list would silently discount things it was meant to exclude.

Working alongside your own discounts

Targeting can read which discount codes are applied to the cart, so an upsell discount can be suppressed when a shopper already has a code active — useful for protecting margin on stacked promotions.

If you run your own free-shipping discount codes, test them alongside upsell discounts before launching: the discount function declares a shipping discount class, which can take precedence over a merchant shipping code on the same order.

What you can build with it

Discount only the upsold item. Offer 20% off the add-on without touching the price of what's already in the cart.

Protect a conditional price. Turn on discount protection for an offer whose discount depends on cart contents, so removing the qualifying item removes the price.

Don't stack with codes. Suppress the upsell discount when a shopper has already applied a promo code.

Free gift at zero. Pair a 100% discount with auto-add behavior for a gift-with-purchase that needs no code.

Related Help Center articles

Try it on your store

Install UpsellPlus free and launch your first offer in minutes, or book a walkthrough with our team.