1

I would like to ask if there is a setting in the admin to limit customers quantity order.

Example. product limit per user is 4.

First transaction is 4 ordered products. Next transaction should not allow me to checkout because I already reached my quantity limit.

Is there a setting like that or should I create a module? Because if there is a default setting and I create a module, that module would be a waste.

Thanks. I hope someone answers.

  • Also. When I order the same product. The First order in cart disappears and the last order is only displaying. Is there any way to display both or if I ordered 1 on the first order and ordered 2 on the second one. qty in cart should be 3. Not override the 1 in to 2 – Miguel Intoy Nov 15 at 2:31
2

In Magento 2 backend, you can set Maximum Qty Allowed in Shopping Cart in

Catalog > Product > Add/Edit > Advanced Inventory

enter image description here

You can globally change this setting as well here for all products in Configuration.

enter image description here

But once user place order with Max. Qty then after user can again add same number of QTY and they can place order again. So you just need to check how you can restrict that thing with your custom extension.

You can follow this as a reference if you want to add any restriction.

Hope this will help you!

  • I can still order with this setting. Is there any other way that if I can limit user with a specific qty? like if the user reached the max limit she/he cannot order again? – Miguel Intoy Nov 15 at 2:36
  • Yes, you can create your custom code for that. Default Magento is not provide this feature. – Kishan Savaliya Nov 15 at 2:38
  • Oh okay. Thank you for the answer! – Miguel Intoy Nov 15 at 2:39
  • You're welcome :) – Kishan Savaliya Nov 15 at 2:39
  • 1
    You can follow this answer. You can do your changes easily with this.. magento.stackexchange.com/questions/101543/… – Kishan Savaliya Nov 15 at 2:41

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.