2

How can I limit the maximum number of items allowed for the ENTIRE CART regardless if the items were from the same product or from different products?

1

Magento default just allows you to set up maximum quantity allowed in the shopping cart of a product only. Therefore, I think that you had better look for an extension to help you overcome this issue quickly.

For example, you can try this extension

http://bsscommerce.com/magento2/magento-minimum-maximum-order-quantity-per-category-magento-2.html

It can help you to set up both minimum and maximum order quantity of many products that belong to a category.

In your case, because you want to limit the maximum number of items allowed for the ENTIRE CART regardless if the items were from the same product or from different products, so using this extension, you can add many products into a category and then set up maximum order quantity for that category.

Finally, you can limit maximum numbers of products allowed in the shopping cart

0

I think this is useful for you.

Admin -> store-> Configuration -> catalog -> Inventory -> Product Stock Option

Change your "Maximum Qty Allowed in Shopping Cart" then, save and remove var/* then check it.

  • Raj! this will limit the total number of items from one product in the cart. so if I set that to 5 and I tried to add more than 5 items from Product A I will not be able. However if I added 10 items each from different product that will be allowable – Whaaaaat Sep 3 '16 at 10:35
0

You can use below extension for this. It's meet your requirements.

https://bsscommerce.com/magento-2-extensions/limit-cart-quantity-for-magento-2.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.