Magento 2 Set Minimum Order Quantity

In some of the business models if the merchant ships only 1 or few qty of the product then it may affect the revenue due to the shipping cost of each product, qty of production and so on, also B2B websites allow their customers to purchase bulk qty only, so in this case, they may have to manage minimum and maximum qty for the order.

Native Magento provides a feature to manage minimum and maximum qty of the order from the Magento 2 admin, there is no extra extension or customization require for the same.

Follow these steps to configure the minimum qty allowed in the shopping cart.
Step 1: Log in to the Magento 2 Admin and STORES > Configuration

Magento 2 Store Configuration

Step 2: Navigate to CATALOG > Inventory
Step 3: Expand Product Stock Options
Step 4: Uncheck the “Use system value” checkbox located beside the “Minimum Qty Allowed in Shopping Cart” field then set the minimum qty as per your business requirement.

Minimum Qty Allowed in Shopping Cart
Minimum Qty Allowed in Shopping Cart – Magento 2

NOTE: You can set minimum qty based on customer group, so if you wanted to set like wholesale customers should not purchase less than 50 pieces and retailer customers should not purchase less than 10 pieces then you can set this type of scenario for your website using this feature.

Product Based Minimum Qty:

You can also set product based minimum qty using default Magento. This will help you if you wanted to set order minimum qty for specific products only.

Steps to configure minimum qty for a single product.
Step 1: Log in to the Magento 2 Admin.
Step 2: Navigate to the product listing page CATALOG > Products
Step 3: Edit the product in which you wanted to set minimum qty.
Step 4: Click on Advanced Inventory

Step 5: Uncheck the “Use Config Settings” checkbox located beside the “Minimum Qty Allowed in Shopping Cart” field and enter qty as per your business requirement.

Maximum Qty Allowed in Shopping Cart

You can also set maximum qty for the order using native Magento, You can set maximum qty for all the products from Inventory > Product Stock Options section and you can also set maximum qty specific to the product.

Maximum Qty Allowed in Shopping Cart – Magento 2 Admin

Following is the screenshot of how you can manage order maximum qty for a specific product.