[Skip to main content](#vessel-content)

#   Add to cart issue

##

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

9 years 8 months ago -  9 years 8 months ago [\#265006](#265006) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  *[Add to cart issue](/forum/3-bug-report/889354-add-to-cart-issue#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")* was created by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")*

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](https://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](https://www.hikashop.com/forum/checkout/889298-hikashop-3-cart-notify-popup.html#264737)

Thanks

- [ ![product&#95;2017-03-14.png](/forum/attachment/37023) ](/forum/attachment/37023 "...2017-03-14.png") [ ](/forum/attachment/37023?download=1 "...2017-03-14.png")
- [ ![product2.png](/forum/attachment/37024) ](/forum/attachment/37024 "product2.png") [ ](/forum/attachment/37024?download=1 "product2.png")

Last edit: 9 years 8 months ago by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODkzNTQtYWRkLXRvLWNhcnQtaXNzdWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

9 years 8 months ago [\#265040](#265040) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add to cart issue](/forum/3-bug-report/889354-add-to-cart-issue#265040 "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")*

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](/forum/user/38342-kyratn "View kyratn's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODkzNTQtYWRkLXRvLWNhcnQtaXNzdWU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
