Personalized checkout and custom promotions with Shopify Scripts
I added max product quantities/weights to main-cart-items.liquid in my theme, and I would like to change this error message ("Value must be [max]" on the cart item's quantity field) if possible, but I have no clue where it's coming from, since it's not in en.default.json or anything. It displays when the quantity is greater than the max in quantity__input . Where these messages come from, and is it possible to change or replace them?
I see that in cart.js the updateQuantity function includes
message = window.cartStrings.quantityError.replace('[quantity]', updatedValue);
Is
window.cartStrings.quantityError
related to this message, or is it something else?
The alert is a plain box/tooltip that displays when you hover over the quantity field or a styled box that pops up below it with an exclamation point in a yellow square when you try to proceed to checkout.
Thanks
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024