Shopify themes, liquid, logos, and UX
Hi all,
I have an error message displaying on the gift message box that I added on the cart page for customers who want to send a message card with their gift.
The error message says: "You can only add this item in increments of undefined" - screenshot below.
I have added it using Shopify step by step gift wrap option at checkout.
I am using Dawn theme.
Can you please help me with this?
Thank you
Thank you for your answer. I am not familiar with code I just followed the Shopify step by step guide.
Do you know how can I fix it please?
Thank you
Hi, did you find a solution?
If you have met this issue. you just need do a minor change to fix this.
1. Open your theme code editor
2. Find the file assets/cart.js
3. Replace onChange function using below code
onChange(event) {
// console.log('event.target.type', event.target.type);
if(event.target.type == 'number')
{
this.validateQuantity(event);
}
}
Hope this helps!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025