Error message for quantity on Debut product page

How can I change the message that pops up when someone selects more items than are currantly in stock? Using Debut. TIA!

Hi @cvette

This should be included in your theme’s language settings.

Go to your Shopify admin > online store > click ā€œactionsā€ next to your published theme > choose ā€œedit languageā€ > type ā€œin stockā€ into the search box > edit the text > save changes.

Hope this helps! :slightly_smiling_face:

Thank you so much for your help! This message is coming up on the product page, not in the cart. Does that change where I change the message as I cant seem to find it where you direct me

@cvette you can simply display it none with CSS would you mind sharing URL so I can give you exact class of CSS to put in theme to not display this message.

Dont mind sharing at all and please excuss my ignorance when it comes to this. Sorry! Which page would you like the url too? Is this the correct one?

please provide password to view the store

none

kindly ADD this to your theme.scss.liquid file at bottom

.product-form__error-message {
display:none;
}
1 Like

@cvette if you want the error message not to show even if there is out of stock order then simply in product option under inventory check continue selling if out of stock this will solve the issue and you have to do this for each product under inventory option.

Thank you so much, you have been a great help! Is there a way to get it to state ā€œquanity select not in stockā€ or something along those lines?

{{ ā€˜general.accessibility.error’ | t }}
{% include ā€˜icon-error’ %}
{{ ā€˜products.product.quantity_minimum_message’ | t }}