Add to cart issue

  • Posts: 1119
  • Thank you received: 114
7 years 1 month ago #265006

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

Attachments:
Last edit: 7 years 1 month ago by kyratn.

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
7 years 1 month ago #265040

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.055 seconds
Powered by Kunena Forum