{"id":1297,"date":"2020-10-19T15:22:56","date_gmt":"2020-10-19T15:22:56","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/10\/19\/set-minimum-qty-allowed-in-shopping-cart-in-magento-2\/"},"modified":"2025-07-17T10:25:59","modified_gmt":"2025-07-17T04:55:59","slug":"set-minimum-qty-allowed-in-shopping-cart-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/set-minimum-qty-allowed-in-shopping-cart-in-magento-2\/","title":{"rendered":"How to Set Minimum Qty Allowed in Shopping Cart in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">E-commerce store owners adopt various revenue and inventory management statistics to maintain the profit margin and stock. Likewise you can also&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/set-minimum-order-amount-in-magento-2\/\">set minimum order amount in Magento 2<\/a>&nbsp;to balance between profit margins and feasible prices.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The default\u00a0Magento 2\u00a0offers 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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this way, the admin can increase average order value, overcome the packing and shipping expenses, and effectively manage the shipping of heavy products.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apart from this, if you want to limit cart quantity based on each category, you can opt for Meetanshi\u2019s&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-limit-quantity-per-category.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Limit Quantity Per Category<\/a>&nbsp;extension that allows admin to restrict product quantity ordered from each category for every customer group.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Implement the below method for effective marketing strategies and order management!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Configure Minimum Quantity Allowed in Magento 2<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/10\/Annotation-on-2020-10-21-at-09-45-06.png\" alt=\"Minimum QTY allowed in shopping cart Magento configuration\" class=\"wp-image-11097\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Login<\/strong>&nbsp;to Magento 2 admin panel<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to&nbsp;<strong>Stores &gt; Settings &gt; Configuration<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select&nbsp;<strong>Inventory<\/strong>&nbsp;under&nbsp;<strong>Catalog<\/strong>&nbsp;section.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Expand&nbsp;<strong>Product Stock Options<\/strong>&nbsp;section<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Set the minimum quantity as per your business requirement in&nbsp;<strong>Minimum Qty Allowed in Shopping Cart.<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You can select Customer Group for setting minimum quantity limit for specific groups.<\/li>\n\n\n\n<li>If you want to set a minimum quantity limit for all the group, you can simply enter the number by selecting ALL GROUPS.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Click&nbsp;<strong>Save Config<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/10\/Annotation-on-2020-10-07-at-09-49-01.png\" alt=\"Minimum quantity in shopping cart - frontend - in Magento 2\" class=\"wp-image-10889\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Here, I have entered \u201c1\u201d 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 \u201cThe fewest you may purchase is 2\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/10\/Annotation-on-2020-10-21-at-10-34-32.png\" alt=\"Minimum quantity in shopping cart - frontend - in Magento 2\" class=\"wp-image-11102\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do consider sharing this post with Magento 2 community via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>E-commerce store owners adopt various revenue and inventory management statistics to maintain the profit margin and stock. Likewise you can also&nbsp;set minimum order amount in&#8230;<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1297","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1297"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1297\/revisions"}],"predecessor-version":[{"id":13951,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1297\/revisions\/13951"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}