Skip to main content

Add to cart issue

More
9 years 6 months ago - 9 years 6 months ago #265006 by kyratn
Add to cart issue was created by kyratn
Hi,

There is an issue with adding product variants to cart. It looks like there is some kinda limit....

As example you can try this product: goo.gl/XEN4w6
It has 3 size variants: XS, S, M

Please try to add them all one by one and you will see the issue.

1. Add XS size to cart = fine
2. Add S size to cart = fine
3. Add M size to cart = Product not added to the cart. Too much quantity selected for product....

Added screenshots of product settings.

The issue has arrived after Nicolas has added some fixes to vex pop in this topic: www.hikashop.com/forum/checkout/889298-h...fy-popup.html#264737

Thanks
Last edit: 9 years 6 months ago by kyratn.

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #265040 by nicolas
Replied by nicolas on topic Add to cart issue
Hi,

Thanks for the feedback. I was able to reproduce the problem.
When the variants of a product had a limited stock each, and that you were adding several different variants of the product to the cart, the total quantity of the variants in the cart was taken into account to check the available stock of each variant instead of the total quantity of the corresponding variant only.
I've added a patch for that and it looks like it works properly now.
The following user(s) said Thank You: kyratn

Please Log in or Create an account to join the conversation.

Time to create page: 0.187 seconds
Powered by Kunena Forum