How to Set Minimum Qty Allowed in Shopping Cart in Magento 2
E-commerce store owners adopt various revenue and inventory management statistics to maintain the profit margin and stock. Likewise you can also set minimum order amount in Magento 2 to balance between profit margins and feasible prices.
It may happen that the order management cost exceeds the profit margin. In such cases, the business incurs the loss and hence, the store owners can set minimum quantity allowed for checkout.
The default Magento 2 offers such an option that ensures considerable profit margin. The admin can configure minimum qty allowed in Magento 2 store. Moreover, the admin can set a minimum quantity for each customer group too.
If a customer does not satisfy the set condition from the backend, an error message is displayed to restrict them to add products to the cart.
In this way, the admin can increase average order value, overcome the packing and shipping expenses, and effectively manage the shipping of heavy products.
Apart from this, if you want to limit cart quantity based on each category, you can opt for Meetanshi’s Magento 2 Limit Quantity Per Category extension that allows admin to restrict product quantity ordered from each category for every customer group.
Implement the below method for effective marketing strategies and order management!
Steps to Configure Minimum Quantity Allowed in Magento 2:
- Login to Magento 2 admin panel
- Navigate to Stores > Settings > Configuration
- Select Inventory under Catalog section.
- Expand Product Stock Options section
- Set the minimum quantity as per your business requirement in Minimum Qty Allowed in Shopping Cart.
- You can select Customer Group for setting minimum quantity limit for specific groups.
- If you want to set a minimum quantity limit for all the group, you can simply enter the number by selecting ALL GROUPS.
- Click Save Config
Here, I have entered “1” in the minimum quantity allowed in the shopping cart. Therefore, when the customers want to purchase only 1 quantity, the message will be shown as “The fewest you may purchase is 2”.
If I wish to purchase quantities greater than the set minimum quantity, I am allowed to proceed with the checkout. For example, here, I have entered 3, i.e., greater than the minimum quantity 2 so it avoids any error message as shown in the above figure.
That’s it.
If you need help related to this post, feel free to ask in the Comment section below.
I would be happy to help you.
Do consider sharing this post with Magento 2 community via social media.
Thank you.
Jignesh Parmar
An expert in his field, Jignesh is the team leader at Meetanshi and a certified Magento developer. His passion for Magento has inspired others in the team too. Apart from work, he is a cricket lover.
2 Comments
this is great feature since I require min qty of 3 on most of my products and I will use it, but I also have products that I would like to offer as few as 1 . How do I allow for those products to be ordered in increments starting at 1?
Hello George,
The above setting is for the cart quantity.
If you want it for product then you need to set it in the product edit.
https://drops.meetanshi.com/tp8H8b
Thank You