Unable to update Notices Cart for Too many items in cart for Dawn theme

Topic summary

Goal: change Dawn theme’s cart error for exceeding stock to show the maximum available and the product name. Attempts to use [quantity] and {{ product }} in Edit Language > Notices Cart fail—[quantity] can’t be resolved and {{ product }} renders literally.

A helper notes there isn’t a simple, built‑in fix and suggests deeper debugging. They indicate showing a runtime number in that message isn’t supported via language strings.

As a workaround, they propose a static/general message, but confirm automatic updates would require custom AJAX/JavaScript and likely developer help. No code or steps were provided.

Update: a participant resolved the need by installing and configuring a third‑party app that displays the desired max‑quantity message. They criticize support for not recommending such apps.

Another user asks which app was used; no answer so far. No native solution or theme changes were confirmed, so the thread remains open with an outstanding request for the app name.

Summarized with AI on January 18. AI used: gpt-5.

Hi,

May be someone could help me. I am trying to update the error message (using Edit Language), for Notices Cart. The error message I am trying to update if for Too many items in the cart.
Currently, when a customer tries to add more quantity than in stock, the error message says something like You can’t add more…

However, I want it to tell the customer how many max they can add. Something like:

Only [quantity] of {{ product }} are available. Please reduce the quantity of {{ product }} and/or select from other options.

When I put the above text and test it, I am getting error message that it could not resolve [quantity]. Also it shows {{ product }} instead of the actual product. I am not what I am doing wrong. Specially {{ product }} works in other messages in the Edit Language section. Thanks.

@PosanaShop - this might need some debugging, can you add me as collaborator? I can try it, there i no straight forward 1/2 line answer for this

Hello Suyash! I have the same issue and would like some from of this message show up: “Only [quantity] of {{ product }} are available. Please reduce the quantity of {{ product }} and/or select from other options.”

would you be able to help with that?

Thanks!

@David281 - are you getting any notice when you have many items?

Hello, suyash! thank you for your response!

for reference, I have 14 products available, and when I try to add to my cart more than 14, I received the message “You can’t add more (whatever products used) to the cart.” I would like to change the message to let the buyer know how many they can add max instead of fidgeting trying to figure out how many they can add.

The Message:

@David281 - I am not sure about message which changes number on run time but you can put a general message that you can not add more than 14 items

@suyash1 - A general message is exactly what I’m looking for! will the message update if I change the quantity or do I have to rewrite it manually? What can I do to have it implemented?

Thanks!

Updating message will need Ajax JavaScript coding, it is bit complicated, you will need to hire a developer for it.

Few shopify experts here can help you with that.

Hey there! I would like to say that I’m very dissatisfied with the support from Shopify. It’s not just you but the whole support team. Instead of telling me easy fixes (which I found myself) you guys try to make me hire a developer which is COMPLETELY unnecessary. The fix was an app that I slightly configured its settings and it does EXACTLY what I want. And there are many of those apps which you guys could’ve recommended. Very disappointed in Shopify support team.

I agree, the suggestions here always seem so extreme and advanced! Are you willing/able to share which app you used to do this? I’ve been combing the forums all day and am just in awe that this isn’t a simpler fix.