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

#   Multiple Issues with Product Limit function in version 3.2.0 of Cart

##

- **[jschroeder](/forum/user/13561-jschroeder "View jschroeder's Profile")**
- [![jschroeder's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13561-jschroeder "View jschroeder's Profile") Topic Author
- [ Offline](/forum/user/13561-jschroeder)

Less More

- Posts: 165
- Thank you received: 3
-
-

9 years 1 month ago [\#279840](#279840) by [jschroeder](/forum/user/13561-jschroeder "View jschroeder's Profile")  *[Multiple Issues with Product Limit function in version 3.2.0 of Cart](/forum/27-checkout/892232-multiple-issues-with-product-limit-function-in-version-3-2-0-of-cart#279840 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.24  Hi, I discovered a couple of bugs in the version 3.2.0 of the cart. I have a product &quot; 50 Exterior Wash Tickets&quot; which I sent you a link to that I set a limit of 2 items that can be purchased inside each cart session. However, if you try to place more than 2 items to the cart a message pops up saying limit reached quantity reduced for product. However, instead of just reducing the quantity to 2 if you are over the maximum quantity of 2 it displays that message but adds nothing to the cart at all. There is some sort of bug in the ajax or something not communicating back to update the quantity and update the cart.  The 2nd issue is when you actually get to the checkout process.If you have the quantity set to a limit of 2 products if you try to reduce the quantity to 1 product it fails and you cannot reduce the quantity. It instead says &quot;Limit reached. You can't add the product: 50 Exterior Wash Tickets&quot;. This is a bug because you are reducing the quantity not adding to the quantity.  These are both really large issues because it makes limiting the quantity or total cart value impossible currently. I attached screenshots of all my settings and the errors. Please let me know what the fix is for this.")* was created by *[jschroeder](/forum/user/13561-jschroeder "View jschroeder's Profile")*

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.0.24

Hi, I discovered a couple of bugs in the version 3.2.0 of the cart. I have a product " 50 Exterior Wash Tickets" which I sent you a link to that I set a limit of 2 items that can be purchased inside each cart session. However, if you try to place more than 2 items to the cart a message pops up saying limit reached quantity reduced for product. However, instead of just reducing the quantity to 2 if you are over the maximum quantity of 2 it displays that message but adds nothing to the cart at all. There is some sort of bug in the ajax or something not communicating back to update the quantity and update the cart.

The 2nd issue is when you actually get to the checkout process.If you have the quantity set to a limit of 2 products if you try to reduce the quantity to 1 product it fails and you cannot reduce the quantity. It instead says "Limit reached. You can't add the product: 50 Exterior Wash Tickets". This is a bug because you are reducing the quantity not adding to the quantity.

These are both really large issues because it makes limiting the quantity or total cart value impossible currently. I attached screenshots of all my settings and the errors. Please let me know what the fix is for this.

[ ![product-limit.PNG](/forum/attachment/40727) ](/forum/attachment/40727 "product-limit.PNG")

[ ![add-to-cart-popup.PNG](/forum/attachment/40728) ](/forum/attachment/40728 "...cart-popup.PNG")

[ ![checkout-error.PNG](/forum/attachment/40729) ](/forum/attachment/40729 "...kout-error.PNG")

- [ ![product-limit.PNG](/forum/attachment/40727) ](/forum/attachment/40727 "product-limit.PNG") [ ](/forum/attachment/40727?download=1 "product-limit.PNG")
- [ ![add-to-cart-popup.PNG](/forum/attachment/40728) ](/forum/attachment/40728 "...cart-popup.PNG") [ ](/forum/attachment/40728?download=1 "...cart-popup.PNG")
- [ ![checkout-error.PNG](/forum/attachment/40729) ](/forum/attachment/40729 "...kout-error.PNG") [ ](/forum/attachment/40729?download=1 "...kout-error.PNG")

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

9 years 1 month ago -  9 years 1 month ago [\#279875](#279875) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Multiple Issues with Product Limit function in version 3.2.0 of Cart](/forum/27-checkout/892232-multiple-issues-with-product-limit-function-in-version-3-2-0-of-cart#279875 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.24  Hi, I discovered a couple of bugs in the version 3.2.0 of the cart. I have a product &quot; 50 Exterior Wash Tickets&quot; which I sent you a link to that I set a limit of 2 items that can be purchased inside each cart session. However, if you try to place more than 2 items to the cart a message pops up saying limit reached quantity reduced for product. However, instead of just reducing the quantity to 2 if you are over the maximum quantity of 2 it displays that message but adds nothing to the cart at all. There is some sort of bug in the ajax or something not communicating back to update the quantity and update the cart.  The 2nd issue is when you actually get to the checkout process.If you have the quantity set to a limit of 2 products if you try to reduce the quantity to 1 product it fails and you cannot reduce the quantity. It instead says &quot;Limit reached. You can't add the product: 50 Exterior Wash Tickets&quot;. This is a bug because you are reducing the quantity not adding to the quantity.  These are both really large issues because it makes limiting the quantity or total cart value impossible currently. I attached screenshots of all my settings and the errors. Please let me know what the fix is for this.")*

Hello,

Thanks for your return ! The bug for reduce the quantity is very interesting !
We were able to **reproduce it**, and so we will investigate about this, and provide as quick as possible a solution !

For your first part of your message, some information, it's not a bug, it's a change of behavior **chosen and wanted**.
Let's explain why, before as you said when a customer try to add 10 product, when there is a limit quantity of 2, only 2 products where added to cart, but **if the shop don't display product quantity in cart**, that wasn't really understandable for customer, especially if after added customer continue his shopping and discover at the end the results...

Regards

Last edit: 9 years 1 month ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

- **[jschroeder](/forum/user/13561-jschroeder "View jschroeder's Profile")**
- [![jschroeder's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13561-jschroeder "View jschroeder's Profile") Topic Author
- [ Offline](/forum/user/13561-jschroeder)

Less More

- Posts: 165
- Thank you received: 3
-
-

9 years 1 month ago [\#279905](#279905) by [jschroeder](/forum/user/13561-jschroeder "View jschroeder's Profile")  Replied by *[jschroeder](/forum/user/13561-jschroeder "View jschroeder's Profile")* on topic *[Multiple Issues with Product Limit function in version 3.2.0 of Cart](/forum/27-checkout/892232-multiple-issues-with-product-limit-function-in-version-3-2-0-of-cart#279905 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.24  Hi, I discovered a couple of bugs in the version 3.2.0 of the cart. I have a product &quot; 50 Exterior Wash Tickets&quot; which I sent you a link to that I set a limit of 2 items that can be purchased inside each cart session. However, if you try to place more than 2 items to the cart a message pops up saying limit reached quantity reduced for product. However, instead of just reducing the quantity to 2 if you are over the maximum quantity of 2 it displays that message but adds nothing to the cart at all. There is some sort of bug in the ajax or something not communicating back to update the quantity and update the cart.  The 2nd issue is when you actually get to the checkout process.If you have the quantity set to a limit of 2 products if you try to reduce the quantity to 1 product it fails and you cannot reduce the quantity. It instead says &quot;Limit reached. You can't add the product: 50 Exterior Wash Tickets&quot;. This is a bug because you are reducing the quantity not adding to the quantity.  These are both really large issues because it makes limiting the quantity or total cart value impossible currently. I attached screenshots of all my settings and the errors. Please let me know what the fix is for this.")*

Philip thank you for the response back. In your first response back I don't think it makes very much sense to have it behave in that manner. The message is saying that the product was reduced which means to the customer it was still added to the cart. This is confusing to the customer and is a ui/ux issue. The better thing to do is have the popup language file message say the maximum allowed purchase quantity of this item is "2" and your quantity in the cart was reduced to reflect this. The problem is the default message is saying it is being reducing but in fact this is not actually happening nothing is added at all.

The 2nd issue and not being able to reduce the quantity is a bigger issue though.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MjIzMi1tdWx0aXBsZS1pc3N1ZXMtd2l0aC1wcm9kdWN0LWxpbWl0LWZ1bmN0aW9uLWluLXZlcnNpb24tMy0yLTAtb2YtY2FydD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

9 years 1 month ago [\#279914](#279914) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Multiple Issues with Product Limit function in version 3.2.0 of Cart](/forum/27-checkout/892232-multiple-issues-with-product-limit-function-in-version-3-2-0-of-cart#279914 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.24  Hi, I discovered a couple of bugs in the version 3.2.0 of the cart. I have a product &quot; 50 Exterior Wash Tickets&quot; which I sent you a link to that I set a limit of 2 items that can be purchased inside each cart session. However, if you try to place more than 2 items to the cart a message pops up saying limit reached quantity reduced for product. However, instead of just reducing the quantity to 2 if you are over the maximum quantity of 2 it displays that message but adds nothing to the cart at all. There is some sort of bug in the ajax or something not communicating back to update the quantity and update the cart.  The 2nd issue is when you actually get to the checkout process.If you have the quantity set to a limit of 2 products if you try to reduce the quantity to 1 product it fails and you cannot reduce the quantity. It instead says &quot;Limit reached. You can't add the product: 50 Exterior Wash Tickets&quot;. This is a bug because you are reducing the quantity not adding to the quantity.  These are both really large issues because it makes limiting the quantity or total cart value impossible currently. I attached screenshots of all my settings and the errors. Please let me know what the fix is for this.")*

Hi,

We were able to reproduce the issue with the limit not being enforced properly upon update of the quantity when the quantity is already reached.

Based on your feedback, we also corrected the error message so that it properly says that the product couldn't be added to the cart and give the maximum amount possible to the customer.

Please download the install package on our website and install it on yours and that will add the different patches for all of that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MjIzMi1tdWx0aXBsZS1pc3N1ZXMtd2l0aC1wcm9kdWN0LWxpbWl0LWZ1bmN0aW9uLWluLXZlcnNpb24tMy0yLTAtb2YtY2FydD90bXBsPW1hcmtkb3du) 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.081 seconds

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