{"id":32845,"date":"2022-05-09T21:56:14","date_gmt":"2022-05-09T21:56:14","guid":{"rendered":"https:\/\/keys.support\/?post_type=docs&#038;p=32845"},"modified":"2024-10-15T13:51:55","modified_gmt":"2024-10-15T13:51:55","password":"","slug":"limit-max-quantity-of-a-product-in-the-cart","status":"publish","type":"docs","link":"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/","title":{"rendered":"Limit Max Quantity of a product in the cart"},"content":{"rendered":"\n<p>To limit the maximum quantity the customer is allowed to purchase of one product, edit the product and go to Advanced Inventory (1)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"568\" height=\"371\" src=\"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e69e037.png\" alt=\"\" class=\"wp-image-32856\" style=\"width:496px;height:324px\" srcset=\"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e69e037.png 568w, https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e69e037-300x196.png 300w\" sizes=\"(max-width: 568px) 100vw, 568px\" \/><\/figure>\n\n\n\n<p>2. Uncheck &#8220;Use Config Settings&#8221; and set the max Qty allowed for this particular product (e.g. Free products have 1 unit allowed)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"727\" height=\"219\" src=\"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e6a540f.png\" alt=\"\" class=\"wp-image-32866\" style=\"width:632px;height:190px\" srcset=\"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e6a540f.png 727w, https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e6a540f-300x90.png 300w\" sizes=\"(max-width: 727px) 100vw, 727px\" \/><\/figure>\n\n\n\n<p>Save the changes.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Magento 2 maximum qty allowed in shopping cart\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/2zmDrZJwn20?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Configuration Settings<\/h2>\n\n\n\n<p>3. you can set the global Qty allowed in Stores &gt; Configuration &gt; Catalog &gt; Inventory &gt; Stock Options <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"375\" src=\"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e715342-1024x375.png\" alt=\"\" class=\"wp-image-32878\" srcset=\"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e715342-1024x375.png 1024w, https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e715342-300x110.png 300w, https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e715342-768x281.png 768w, https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e715342.png 1190w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>To limit the maximum quantity the customer is allowed to purchase of one product, edit the product and go to Advanced Inventory (1) 2. Uncheck &#8220;Use Config Settings&#8221; and set the max Qty allowed for this particular product (e.g. Free products have 1 unit allowed) Save the changes. Configuration Settings 3. you can set the [&hellip;]<\/p>\n","protected":false},"author":81,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_category":[],"doc_tag":[],"knowledge_base":[],"class_list":["post-32845","docs","type-docs","status-publish","hentry"],"acf":[],"year_month":"2026-06","word_count":70,"total_views":"68","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"admin","author_nicename":"dev_staedeli","author_url":"https:\/\/keys.express\/support\/en\/author\/dev_staedeli\/"},"doc_category_info":[],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Limit Max Quantity of a product in the cart - Keys Support<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Limit Max Quantity of a product in the cart - Keys Support\" \/>\n<meta property=\"og:description\" content=\"To limit the maximum quantity the customer is allowed to purchase of one product, edit the product and go to Advanced Inventory (1) 2. Uncheck &#8220;Use Config Settings&#8221; and set the max Qty allowed for this particular product (e.g. Free products have 1 unit allowed) Save the changes. Configuration Settings 3. you can set the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/\" \/>\n<meta property=\"og:site_name\" content=\"Keys Support\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-15T13:51:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e69e037.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/documentation\\\/limit-max-quantity-of-a-product-in-the-cart\\\/\",\"url\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/documentation\\\/limit-max-quantity-of-a-product-in-the-cart\\\/\",\"name\":\"Limit Max Quantity of a product in the cart - Keys Support\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/documentation\\\/limit-max-quantity-of-a-product-in-the-cart\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/documentation\\\/limit-max-quantity-of-a-product-in-the-cart\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/keys.express\\\/support\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/Snag_e69e037.png\",\"datePublished\":\"2022-05-09T21:56:14+00:00\",\"dateModified\":\"2024-10-15T13:51:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/documentation\\\/limit-max-quantity-of-a-product-in-the-cart\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/documentation\\\/limit-max-quantity-of-a-product-in-the-cart\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/documentation\\\/limit-max-quantity-of-a-product-in-the-cart\\\/#primaryimage\",\"url\":\"https:\\\/\\\/keys.express\\\/support\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/Snag_e69e037.png\",\"contentUrl\":\"https:\\\/\\\/keys.express\\\/support\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/Snag_e69e037.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/documentation\\\/limit-max-quantity-of-a-product-in-the-cart\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/keys.express\\\/support\\\/de\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Limit Max Quantity of a product in the cart\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/\",\"name\":\"Keys Support\",\"description\":\"Keys Support and It Works!\",\"publisher\":{\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/#organization\",\"name\":\"Keys Support\",\"url\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/keys.express\\\/support\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/KE-Logo-en.svg\",\"contentUrl\":\"https:\\\/\\\/keys.express\\\/support\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/KE-Logo-en.svg\",\"width\":248,\"height\":92,\"caption\":\"Keys Support\"},\"image\":{\"@id\":\"https:\\\/\\\/keys.express\\\/support\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Limit Max Quantity of a product in the cart - Keys Support","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/","og_locale":"en_US","og_type":"article","og_title":"Limit Max Quantity of a product in the cart - Keys Support","og_description":"To limit the maximum quantity the customer is allowed to purchase of one product, edit the product and go to Advanced Inventory (1) 2. Uncheck &#8220;Use Config Settings&#8221; and set the max Qty allowed for this particular product (e.g. Free products have 1 unit allowed) Save the changes. Configuration Settings 3. you can set the [&hellip;]","og_url":"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/","og_site_name":"Keys Support","article_modified_time":"2024-10-15T13:51:55+00:00","og_image":[{"url":"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e69e037.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/","url":"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/","name":"Limit Max Quantity of a product in the cart - Keys Support","isPartOf":{"@id":"https:\/\/keys.express\/support\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/#primaryimage"},"image":{"@id":"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/#primaryimage"},"thumbnailUrl":"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e69e037.png","datePublished":"2022-05-09T21:56:14+00:00","dateModified":"2024-10-15T13:51:55+00:00","breadcrumb":{"@id":"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/#primaryimage","url":"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e69e037.png","contentUrl":"https:\/\/keys.express\/support\/wp-content\/uploads\/2022\/05\/Snag_e69e037.png"},{"@type":"BreadcrumbList","@id":"https:\/\/keys.express\/support\/en\/documentation\/limit-max-quantity-of-a-product-in-the-cart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/keys.express\/support\/en\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/keys.express\/support\/de\/docs\/"},{"@type":"ListItem","position":3,"name":"Limit Max Quantity of a product in the cart"}]},{"@type":"WebSite","@id":"https:\/\/keys.express\/support\/en\/#website","url":"https:\/\/keys.express\/support\/en\/","name":"Keys Support","description":"Keys Support and It Works!","publisher":{"@id":"https:\/\/keys.express\/support\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/keys.express\/support\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/keys.express\/support\/en\/#organization","name":"Keys Support","url":"https:\/\/keys.express\/support\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/keys.express\/support\/en\/#\/schema\/logo\/image\/","url":"https:\/\/keys.express\/support\/wp-content\/uploads\/2025\/02\/KE-Logo-en.svg","contentUrl":"https:\/\/keys.express\/support\/wp-content\/uploads\/2025\/02\/KE-Logo-en.svg","width":248,"height":92,"caption":"Keys Support"},"image":{"@id":"https:\/\/keys.express\/support\/en\/#\/schema\/logo\/image\/"}}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/docs\/32845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/comments?post=32845"}],"version-history":[{"count":3,"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/docs\/32845\/revisions"}],"predecessor-version":[{"id":64857,"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/docs\/32845\/revisions\/64857"}],"wp:attachment":[{"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/media?parent=32845"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/doc_category?post=32845"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/doc_tag?post=32845"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/keys.express\/support\/en\/wp-json\/wp\/v2\/knowledge_base?post=32845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}