Change shopify default messages

Hello, I want to modify this message that appears by default when trying to buy but the quantities in the inventory are not available, something like “Units available”

Please include the theme name.

on which side do I look at the name of the theme?

so it was placed in the code

Hi @Aleon ,

Please send your site and if your site is password protected, please send me the password. I will check it.

https://elarenal.com.gt/

Is the URL of my site, not have password is in Live

Hi @Aleon ,

Can you send me the link to show the notification? I checked the product and cart page, but couldn’t find the message.

https://ak6ail2n69cif1ea-25864962099.shopifypreview.com

I’m sorry,

this the URL of my site, do not have password is in Preview, is an preview of Live

Is in the field of quantity, you place a larger quantity

Hi @Aleon ,

Please change code:


=>


Hope it helps!

I understand that this prevents the number of units error message as the text cannot be changed

Now I have a problem, this prevents me from entering high amounts in the quote button, in short, it would not work for me either, because the idea is that I have quantity limits for the buy button, and in the quote button it is the quantity of any unit

Hi @Aleon ,

Please change all code:


Hope it helps!

just that value should go before oninvalid and oniput like this

1 Like

Hi @Aleon ,

My code just helps you to change the display, if you want to display with any text you can change it by yourself. :grin: