Intro to discounts
Overview
UpsellPlus offers two primary methods to apply discounts to upsell products: Shopify Functions and Shopify Scripts. By default, the app utilizes Shopify Functions, allowing you to simply enter a discount value when creating an upsell offer. When the upsell item is added to the cart, the specified discount is automatically applied.
To add a discount to upsells, you can just add in the amount or percentage you want to discount. When the item gets added to cart, the discount will be applied to the upsell.
You can use the latest Shopify Functions or use the legacy Shopify Scripts to apply this discount. By default, the app will use Shopify Functions. This makes it as easy as just entering a discount value and saving the offer.
If you want to set up the discounts using a script, you'll need the Shopify Scripts app. It is free and can be installed here.
We've built these script templates you can use by copying and pasting them into the Script Editor:
- Simple % or $ off for an upsell
- Discount products in an A/B test
- Limit the discount to 1 item
- Different discounts for different products in a multiproduct upsell
- Add a discount to Ai generated upsell products
More helpful resources:
- Using the offer ID to target a specific upsell offer with a discount
- How to customize discount codes
- Remove discounts to an upsell product when the conditions for getting the upsell are no longer met
- How to only apply a discount when a product is added as an upsell
Updated on: 20/03/2025
Thank you!