Articles on: Discounts

How to customize discount codes for upsells

sentenceWhen a customer adds a discounted upsell item to cart, a discount code will be displayed on the order summary and confirmation.

This helps you to understand where a discount originated from and the customer to understand which discount they received.

With Shopify Functions:



Type in the word/sentence you'd like to personalize the code under the "Discount message" field when you use Functions:

Discount message

With Script Editor:



Checkout upsells

custom discount messages


If you want to change the copy of the checkout upsell discount message, you can do that with Shopify Scripts.

Go to our apps > Script Editor > Click into the live script that contains this line item discount being applied to the upsell > Search the code for ‘message’. This will highlight the discount message.


script editor

Post-purchase checkout offers - NEW

Post-purchase offers edit the original order with an additional product. Discounts for these type of offers are common and work well to improve AOV. The discount message will display on the customers order confirmation.

To change the discount message for post-purchase upsells, we’ve added an option to select what you would like it to say in our app admin.

Go to your post-purchase offer in the app > scroll down > find the field 'Discount message to appear on order confirmation' > Fill our your discount message > Save

message customization field in the app

‍The custom discount code will show in your order timeline and for the customer in checkout and their confirmation email.

order summary example

Updated on: 04/12/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!