Gift message box error

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

hI @Fakokundefathia

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!