{"id":2736,"date":"2024-12-31T20:26:17","date_gmt":"2024-12-31T20:26:17","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/how-to-add-a-free-shipping-bar-to-magento-2\/"},"modified":"2025-05-21T18:03:59","modified_gmt":"2025-05-21T12:33:59","slug":"add-a-free-shipping-bar-to-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/add-a-free-shipping-bar-to-magento-2\/","title":{"rendered":"How to Add a Free Shipping Bar to Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The word FREE has a positive impact on customers\u2019 shopping behaviour. Offering free shipping to customers can be an effective marketing strategy for your brand. Read this blog post to learn how to&nbsp;<em><strong>add a free shipping bar to Magento 2<\/strong><\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The product priced at $110 with free shipping looks like a better deal than the one at $100 + $10 shipping.&nbsp; Data also suggest that high additional costs, such as shipping and taxes, are customers\u2019 main reasons for abandoning carts. Highlighting the free shipping bar on your site can be profitable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Furthermore, adding cart value thresholds, i.e. free shipping above a certain cart value, can boost the average order value.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog post, I will share the complete method to implement such free shipping bar functionality in&nbsp;<a href=\"https:\/\/business.adobe.com\/products\/magento\/magento-commerce.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s begin..!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Method to Add a Free Shipping Bar to Magento 2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">By default, the Magento platform provides no functionality to add a free shipping bar. Therefore, you may need to&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/magento-2-module-development\/\" target=\"_blank\" rel=\"noreferrer noopener\">create a custom module<\/a>&nbsp;to implement such features, which can consume time and resources. We have an alternate and easy-to-follow way for you!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/meetanshi.com\/magento-2-free-shipping-bar.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Free Shipping Bar<\/a>&nbsp;extension is the best method to add a free shipping bar in Magento 2. The reason? It\u2019s the easiest way\u2026<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Just follow these steps to add a free shipping bar in Magento 2:<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-install-magento-2-free-shipping-bar-extension\">Step 1: Install Magento 2 Free Shipping Bar Extension<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Download the Magento 2 Free Shipping Bar extension zip file, and extract it to the root of your&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/magento-2-folder-structure\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento directory<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, run the following commands:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>php bin\/magento setup:upgrade<\/code><\/li>\n\n\n\n<li>For Magento version 2.0.x to 2.1.x \u2013&nbsp;<code>php bin\/magento setup:static-content:deploy<\/code><\/li>\n\n\n\n<li>For Magento version 2.2.x &amp; above \u2013&nbsp;<code>php bin\/magento setup:static-content:deploy \u2013f<\/code><\/li>\n\n\n\n<li><code>php bin\/magento cache:flush<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This will install the Magento 2 extension on your store.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Configure General Settings<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Log into your Magento admin panel and click&nbsp;<strong>Stores &gt; Configuration<\/strong>&nbsp;in the left menu. Click the&nbsp;<strong>Free Shipping Bar<\/strong>&nbsp;under&nbsp;<strong>Meetanshi<\/strong>, and configure the following settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Free Shipping Bar:&nbsp;<\/strong>Enable the extension to add the free shipping bar on the front end.<\/li>\n\n\n\n<li><strong>Free Shipping Threshold:&nbsp;<\/strong>Enter the threshold value for different customer groups and notification text, which will be shown to the customers. You can use the variable&nbsp;<code>leftValue<\/code>&nbsp;for the amount remaining to make the order eligible for free shipping.<\/li>\n<\/ul>\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\/2023\/03\/Configure-Magento-2-free-shipping-bar.png\" alt=\"Configure Magento 2 free shipping bar\" class=\"wp-image-30527\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Now, scroll down a bit and configure the following settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Free Shipping Availability Success Message:&nbsp;<\/strong>Enter the message that will be shown to the customers on successfully meeting the free shipping criteria.<\/li>\n\n\n\n<li><strong>Bar Position:&nbsp;<\/strong>You can choose the position of the free shipping bar in Magento 2 from the following:\n<ul class=\"wp-block-list\">\n<li>Content Top<\/li>\n\n\n\n<li>Content Bottom<\/li>\n\n\n\n<li>Page Top<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Stick Shipping Bar:&nbsp;<\/strong>Enable this option if you want to stick the bar to the page, i.e. even after the page scrolls.<\/li>\n\n\n\n<li><strong>Close Button:&nbsp;<\/strong>Enable this option to provide a button to close the bar for the customers.<\/li>\n\n\n\n<li><strong>Calculate Subtotal:&nbsp;<\/strong>You can set the free shipping eligibility criteria based on the amount, including or excluding tax.<\/li>\n\n\n\n<li><strong>Display Bar In:&nbsp;<\/strong>Display the bar only on mobile or desktop devices. You can also choose to show it on both.<\/li>\n\n\n\n<li><strong>Display On Pages:&nbsp;<\/strong>Select the pages where you want to show the free shipping bar in Magento 2.<\/li>\n<\/ul>\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\/2023\/03\/Configure-extension-to-add-free-shipping-bar-to-magento-2.png\" alt=\"Configure extension to add free shipping bar to Magento 2\" class=\"wp-image-30526\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-customize-the-shipping-bar-design\">Step 3: Customize the Shipping Bar Design<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Meetanshi\u2019s Magento 2 Free Shipping Bar extension also allows you to customize the look and feel of the bar. Expand the&nbsp;<strong>Shipping Bar Design Settings&nbsp;<\/strong>section and configure the following settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Bar Size:&nbsp;<\/strong>Choose the bar size from&nbsp;<strong>Small<\/strong>,&nbsp;<strong>Medium<\/strong>, and&nbsp;<strong>Large<\/strong>.<\/li>\n\n\n\n<li><strong>Bar Load Delay Time:&nbsp;<\/strong>Enter the time (in seconds) after the page load to show the bar.<\/li>\n\n\n\n<li><strong>Auto Hide Bar After:&nbsp;<\/strong>Enter the time (in seconds) to auto-hide the bar after the page load.<\/li>\n\n\n\n<li><strong>Font Family:&nbsp;<\/strong>Select fonts from the following eight available options.<\/li>\n\n\n\n<li><strong>Text Align:&nbsp;<\/strong>Set the text alignment from Left, Center, and Right.<\/li>\n\n\n\n<li><strong>Colour Options:&nbsp;<\/strong>Set the colour of text,&nbsp; shipping value, close button, and bar background.<\/li>\n\n\n\n<li><strong>Animation Effect:&nbsp;<\/strong>Choose from over 20 animation effects for the bar.<\/li>\n\n\n\n<li><strong>Custom CSS:&nbsp;<\/strong>Add custom styling to the free shipping bar in Magento 2.<\/li>\n<\/ul>\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\/2023\/03\/Customize-Magento-2-shipping-bar-design.png\" alt=\"Customize Magento 2 shipping bar design\" class=\"wp-image-30528\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Woohoo!! You\u2019re ready to go now.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hit the&nbsp;<strong>Save&nbsp;<\/strong>button, and the stunning free shipping bar is ready on the front end.<\/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\/2023\/03\/Magento-2-Free-Shippinh-Bar-in-Frontend.png\" alt=\"Magento 2 Free Shipping Bar in Frontend\" class=\"wp-image-30531\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Looks good!! Isn\u2019t it?  <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><div class=\"meetanshi-cta\">\r\n<div class=\"cta-content-wrapper\">\r\n<span>Magento 2 Free Shipping Bar<\/span>\r\n<p>Easily create and display free shipping bar to drive more purchase.<\/p>\r\n<a href=\"https:\/\/meetanshi.com\/magento-2-free-shipping-bar.html\" target=\"_blank\" class=\"btn-primary\">Get Now<\/a>\r\n<\/div>\r\n<div class=\"cta-image-new\">\r\n<img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/11\/magento-2-free-shipping-bar.png\" alt=\"Magento 2 Free Shipping Bar\">\r\n<\/div>\r\n<\/div><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Adding a free shipping bar in Magento 2 can benefit your business in multiple ways. It can make the free shipping offer more visible to the customers and encourage conversions. Meetanshi\u2019s Magento 2 Free Shipping Bar is the best extension for that!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I hope the above tutorial has helped you add a free shipping Bar to Magento 2. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">~~ Thanks for reading ~~ Happy Selling ~~<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The word FREE has a positive impact on customers\u2019 shopping behaviour. Offering free shipping to customers can be an effective marketing strategy for your brand&#8230;.<\/p>\n","protected":false},"author":32,"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-2736","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/2736","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\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=2736"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/2736\/revisions"}],"predecessor-version":[{"id":14047,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/2736\/revisions\/14047"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=2736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=2736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=2736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}