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.
