Can't Add More Than 5 Products To My Cart In SHOPIFY Website

Many of our customers tell us about this problem!
Unable to add more than 5 products when updating the cart on the product page.

Pls Help if anyone has experienced such problem with their store as well.

Thanks in Advance :slightly_smiling_face:

Site URL: www.polytag.shop

Theme: Wookie

I think it has to do with your stock.

For this one, I can add as much as I want, and as you can see on the right it has 95 in stock.

And for this one nothing happens when I press the + button, because as you can see on the right, it only has 1 in stock.

1 Like

Hey Kajderuyter!

The problem persists on the PRODUCT PAGE and not in the View Cart/ Shopping Cart.

I’ll attach a photo for your reference

It looks like there’s a function that takes the “size” attribute from the input and uses that as a max for the input.

Screenshot 2022-02-21 at 19.47.26.png

Like you said, you aren’t able to add more than 5 products, which would make sense if you look at this. Can you try to find the input in your code, increase the number and then try again? Let me know if you need help finding the input!

Would surely try it!

Yes, I would need help in finding the input as I am unable to find it.
Size is set at “9999” but still it doesn’t let me add more than 5 at the product page

Thanks :slightly_smiling_face:

The size is still 5 on the product page. Do you have multiple product page templates?

Yes, The Theme has multiple product page templates but I use only one of them.

Do you know how to work around this issue ?

Are you sure you edited the right product page template? Can you check if the other templates have the input with size=“5”, and if so, also change them?

Finally it’s done now! All Thanks to you for guiding at the right direction.
Thank you very much for your assistance Kajderuyter :slightly_smiling_face:

1 Like

No problem! Glad I was able to help :slightly_smiling_face: