{"id":7125,"date":"2017-04-05T15:14:15","date_gmt":"2017-04-05T15:14:15","guid":{"rendered":"https:\/\/blog.mageworx.com\/?p=7125"},"modified":"2022-11-09T12:31:53","modified_gmt":"2022-11-09T12:31:53","slug":"restricting-free-shipping-in-magento-2","status":"publish","type":"post","link":"https:\/\/www.mageworx.com\/blog\/restricting-free-shipping-in-magento-2","title":{"rendered":"Restricting Free Shipping in Magento 2"},"content":{"rendered":"\n<!-- SEO Ultimate (http:\/\/www.seodesignsolutions.com\/wordpress-seo\/) - Code Inserter module -->\n<!-- Google Tag Manager (noscript) -->\r\n<noscript><iframe src=\"https:\/\/www.googletagmanager.com\/ns.html?id=GTM-5DTCW7B8\"\r\nheight=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"><\/iframe><\/noscript>\r\n<!-- End Google Tag Manager (noscript) -->\n<!-- \/SEO Ultimate -->\n\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><p>Free shipping proved to be an effective tool for improving conversion rates and increasing customer loyalty. However, in some particular cases, you may need to disable this option.<\/p>\n<p>From this article you will learn:<\/p>\n<ul>\n<li>how to tweak free shipping settings in Magento 2,<\/li>\n<li>some ways to restrict free shipping for the <strong><em>minimum cart totals<\/em><\/strong> and <strong><em>certain locations <\/em><\/strong>(using the default settings),<\/li>\n<li>and how to <em>simplify this operation<\/em> with some 3d party tools.<\/li>\n<\/ul>\n<p>Let&#8217;s roll.<\/p>\n<h2>Enabling Free Shipping in Magento 2<\/h2>\n<p>In the new version of the eCommerce platform, there are two ways to set up free of charge shipping. That can be done by:<\/p>\n<ul>\n<li>using the standard <strong>Free Shipping method<\/strong> (<em>Stores &#8211; Configuration &#8211; Sales &#8211; Shipping Methods<\/em>)<\/li>\n<\/ul>\n<p>In this case, it&#8217;s implemented <em>regardless of a chosen carrier<\/em>. Also, you can define the <em>minimum order total<\/em> for a customer to qualify for free shipping.<!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7126\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-04-at-5.10.13-PM.png\" alt=\"Magento 2 free shipping options\" width=\"1438\" height=\"868\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-04-at-5.10.13-PM.png 1438w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-04-at-5.10.13-PM-600x362.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-04-at-5.10.13-PM-1200x724.png 1200w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-04-at-5.10.13-PM-768x464.png 768w\" sizes=\"auto, (max-width: 1438px) 100vw, 1438px\" \/><\/p>\n<ul>\n<li>setting <strong>Carrier specific Free Shipping<\/strong> (<em>Stores &#8211; Configuration &#8211; Sales &#8211; Shipping Methods<\/em>)<\/li>\n<\/ul>\n<p>In Magento 2, you can tweak the shipping settings for any carrier and make some of their shipping methods (if any) as free of charge.<\/p>\n<p>Like in the case above, under these settings you can also set the <em>minimum order total<\/em> required to qualify for free shipping.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7130\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-04-at-5.29.16-PM.png\" alt=\"Free Shipping in Magento 2\" width=\"1514\" height=\"872\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-04-at-5.29.16-PM.png 1514w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-04-at-5.29.16-PM-600x346.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-04-at-5.29.16-PM-1200x691.png 1200w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-04-at-5.29.16-PM-768x442.png 768w\" sizes=\"auto, (max-width: 1514px) 100vw, 1514px\" \/><\/p>\n<h2><\/h2>\n<h2>Restricting Free Shipping<\/h2>\n<p>In some eCommerce scenarios, it may be necessary to restrict free shipping for the <strong><em>minimum cart totals<\/em><\/strong> and <strong><em>certain locations<\/em><\/strong>.<\/p>\n<p><em>Examples<\/em><\/p>\n<p>Say, you have a UK-based business and want to offer free shipping for any order over \u20ac100 made from the main part of Great Britain. At the same time, due to high shipping costs, you\u2019d like to restrict this option for the Northern Ireland and some other overseas British territories.<\/p>\n<p>Or, you have a US-based store, and want to restrict free shipping for any order made by customers from <em>Alaska<\/em> or <em>Hawaii<\/em>.<\/p>\n<p>Unfortunately, the default Magento 2 isn\u2019t capable of restricting free shipping based on geography.<\/p>\n<p>But there are a couple of hacks to do that:<\/p>\n<ul>\n<li>via creating a set of <em>shopping cart price rules<\/em>,<\/li>\n<li>or, with a special extension, e.g. <strong><a href=\"https:\/\/www.mageworx.com\/magento-2-shipping-suite.html\">Shipping Suite for Magento 2<\/a><\/strong> by MageWorx<\/li>\n<\/ul>\n<h2><\/h2>\n<h2>Restricting Free Shipping With Shopping Cart Price Rules<\/h2>\n<p>As you may know, Magento 2 calculates shipping expenses using <em>zip\/ post codes<\/em>.<\/p>\n<p>Hence, you need to:<\/p>\n<ul>\n<li>figure out the zip codes associated with the regions you want to restrict free shipping for,<\/li>\n<li>go to <em>Marketing &#8211; Cart Price Rules<\/em>,<\/li>\n<li>hit the <em>Add New Rule<\/em> button.<\/li>\n<\/ul>\n<p>At the next step, fill in the <em>Rule Name<\/em> and <em>Description<\/em> fields, chose <em>Store Views<\/em> and <em>Customer Groups<\/em> to apply the rule to, and unfold the <em>Conditions<\/em> tab below. From here, you can add conditions for:<\/p>\n<ul>\n<li>the order subtotal,<\/li>\n<li>shipping zip\/ post codes for the regions you want to restrict free shipping for.<\/li>\n<\/ul>\n<p>This is how to do that for the non-continental parts of the US:<\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7150\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-07-at-3.38.18-PM.png\" alt=\"Magento 2 restric shipping rules\" width=\"1139\" height=\"706\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-07-at-3.38.18-PM.png 1139w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-07-at-3.38.18-PM-600x372.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-07-at-3.38.18-PM-768x476.png 768w\" sizes=\"auto, (max-width: 1139px) 100vw, 1139px\" \/><\/h2>\n<h2>Restricting Free Shipping With the <span style=\"color: #ff6600;\"><em><a style=\"color: #ff6600;\" href=\"https:\/\/www.mageworx.com\/magento-2-shipping-suite.html\">Shipping Suite Extension<\/a><\/em><\/span><\/h2>\n<p>An easier and more flexible way to do that is to resort to some shipping extension, e.g. <a href=\"https:\/\/www.mageworx.com\/magento-2-shipping-suite.html\">Shipping Suite<\/a> by MageWorx.<\/p>\n<p>After you install the extension, steps to follow:<\/p>\n<ul>\n<li>go to <em>Stores &#8211; Shipping Zones<\/em>,<\/li>\n<li>create a <em>Shipping zone<\/em> for the regions you\u2019d like to exclude from your <em>Free Shipping<\/em>, list (for examples, &#8220;<em>Overseas UK&#8221;<\/em>).<\/li>\n<\/ul>\n<p>Next,<\/p>\n<ul>\n<li>go to <em>Stores &#8211; Shipping Rules and Restrictions<\/em>,<\/li>\n<li>hit the <em>Add New Rule<\/em> button.<\/li>\n<\/ul>\n<p>When the rule is created, select a condition in which Shipping Zone IS the location you restrict free shipping for.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7132\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-05-at-4.31.42-PM.png\" alt=\"Restrict free shipping in Magento 2\" width=\"1231\" height=\"507\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-05-at-4.31.42-PM.png 1231w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-05-at-4.31.42-PM-600x247.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-05-at-4.31.42-PM-1200x494.png 1200w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-05-at-4.31.42-PM-768x316.png 768w\" sizes=\"auto, (max-width: 1231px) 100vw, 1231px\" \/><\/p>\n<p>Next, go to the <em>Actions&nbsp;<\/em>tab, make sure that the&nbsp;<em><label class=\"label admin__field-label\" for=\"rule_stop_rules_processing\" data-ui-id=\"shippingrules-quote-edit-form-fieldset-element-select-stop-rules-processing-label\">Stop Further Processing<\/label> <\/em>option is disabled and select <em>Free Shipping<\/em> method in the <em>Hide Shipping Method <\/em>section.<\/p>\n<p>When done, click SAVE.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7152\" src=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-07-at-3.47.22-PM.png\" alt=\"Screen Shot 2017-04-07 at 3.47.22 PM\" width=\"1176\" height=\"678\" srcset=\"https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-07-at-3.47.22-PM.png 1176w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-07-at-3.47.22-PM-600x346.png 600w, https:\/\/www.mageworx.com\/blog\/wp-content\/uploads\/2017\/04\/Screen-Shot-2017-04-07-at-3.47.22-PM-768x443.png 768w\" sizes=\"auto, (max-width: 1176px) 100vw, 1176px\" \/><\/p>\n<p>That\u2019s it.<\/p>\n<p><a href=\"https:\/\/www.mageworx.com\/magento-2-shipping-suite.html\">Follow the link<\/a> to learn more about the extension.<\/p>\n<p style=\"text-align: center;\">* * * * * *<\/p>\n<p>Do you have any hacks for optimizing shipping in Magento 2 stores? Feel free to share your expertise in the comments below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>Free shipping proved to be an effective tool for improving conversion rates and increasing customer loyalty. However, in some particular cases, you may need to disable this option. From this article you will learn: how to tweak free shipping settings in Magento 2, some ways to restrict free shipping for the minimum cart totals and [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":7129,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[425,426],"tags":[397],"class_list":{"0":"post-7125","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-magento-how-tos","8":"category-extensions-tips-and-tricks","9":"tag-shipping-suite-ultimate"},"_links":{"self":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts\/7125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/comments?post=7125"}],"version-history":[{"count":20,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts\/7125\/revisions"}],"predecessor-version":[{"id":13659,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/posts\/7125\/revisions\/13659"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/media\/7129"}],"wp:attachment":[{"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/media?parent=7125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/categories?post=7125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mageworx.com\/blog\/wp-json\/wp\/v2\/tags?post=7125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}