A merchant wanted to customize the checkout discount error message to inform customers when codes cannot be combined, specifically displaying: “Discounts are unable to be combined but we’ve added the most generous code to your order.”
Resolution for Standard Themes:
The original poster solved this using Shopify’s Default Theme Content Editing Tool
Access via: Online Store > Themes > “…” menu > Edit Default Content > Checkout and System section
Use the Filter Items search to locate specific checkout messages and customize the text
Ongoing Issue with TASTE Theme:
A user reported difficulty editing the discount rejection message in the TASTE theme
The message appears to use a variable {{ discount-rejection-message }} that pulls content from elsewhere in the code
Attempts to replace or append text to this variable in the “Discount Code Not Honoured” section have not worked
Status: Unresolved - two additional users have encountered the same problem with no solution posted yet
The thread remains open with users seeking help locating where the {{ discount-rejection-message }} variable is defined in custom themes.
Summarized with AI on October 27.
AI used: claude-sonnet-4-5-20250929.
I want to add a comment in the discount code section of the checkout when someone uses a code that isn’t valid to their order or wants to combine codes, but another automatic code is applied instead.
something that says;
‘Discounts are unable to be combined but we’ve added the most generous code to your order’.
Hi there, @rennay ! Thanks for taking the time to reach out to the Shopify Community Forums with your question! My name is Imogen. It’s great to meet you!
If you’re looking to edit the wording of specific sections of your checkout (or really any pages within your theme), then you should definitely look into our Default Theme Content Editing Tool! This allows you to edit the wording that appears in certain sections of your checkout, and also change the wording that appears when presenting specific errors in the checkout! The document I’ve linked shows the steps you need to follow to use the tool, but I’ll provide some supporting steps below for you!
First, login to your admin and go to ‘Online Store > Themes’. Then, click the ‘…’ icon next to the ‘customize’ button.
From there, you’ll be in the Default Contenting Editing Tool! You will want to click the three ‘…’ on the far right, and then select the ‘Checkout and System’ option.
From there, you’ll be looking at content specific to your checkout and triggered messages. You can user the ‘Filter Items’ bar to filter what specific wording/messages you want to change. So, for example, if you know the specific wording you want to change that you see in the checkout, you can type that wording into the ‘Filter Items’ box. From there, the message will generate as an option below in a text box. You can click that box, then write in whatever content you want, and then save the change! Then, whenever that specific wording would be presented to a customer, your custom wording is shown instead!
Hey, @rennay ! Glad you were able to get this resolved on your own! I was writing out a response outlining to use this tool as you replied! It looks like you used this tool to accomplish this, anyway! That’s great to hear! Feel free to follow up on this thread if you need assistance with anything else in the future!
Thanks for this! I’m trying to edit discount rejection error text, but I am using TASTE theme and I have different options. Pretty sure I need to edit THEME CONTENT > CHECKOUT + SYSTEM > DISCOUNT CODE NOT HONOURED section which appears to be pulling in a {{ discount-rejection-message }} from elsewhere in the code
{{ discount-rejection-message }}
I’ve tried replacing the {{ discount-rejection-message }} with text, and adding some extra text at the end, but nothing seems to make a difference! Please help! I’m happy editing the code but I can’t find the {{ discount-rejection-message }} in there…