Shopify themes, liquid, logos, and UX
Hi,
We need to modify the default message to the custom message in I18n. I have to change the message through the Shopify admin. here is an example:
Default Message: " you can't add more {{name}} to the cart".
Custom Message: "Sorry, We do not have enough stock on hand for the quantity you select. Available Stock : {{count}} "
there is display the error message I18n Error: Missing interpolation value "count" for "Sorry, We do not have enough stock on hand for the quantity you select. Available Stock : {{ count }}"
Thanks in advance
Hi @David281
You could change the wording of this field by editing your theme languages:
I hope this helps you.
AVADA - Top Rated App for Email, SMS, Popups
Check our website for full features and start a FREE TRIAL.
Install another app to boost sales, 100% FREE
If your seeing this message on the frontend and your modifying the locale translations you also need to modify the theme code to pass the item count aka {{ count }} to the locale key using the "| t: " translation filter.
User | RANK |
---|---|
76 | |
64 | |
62 | |
48 | |
45 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023