Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Add a Free Shipping Bar in WooCommerce

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Occasionally, one of our readers will send us a message asking if it’s possible to offer free shipping in a WooCommerce store. It is, and we know that offering free shipping is one of the best ways to increase sales.

We’ve helped thousands of users create an online store and boost their conversions. Free shipping is a proven way to reduce cart abandonment and increase overall conversion rates. The challenge is that most store owners fail to highlight the free shipping offer.

In this article, we will teach you how to add a free shipping bar in WooCommerce to boost sales.

Adding a free shipping bar in WooCommerce

Adding a Free Shipping Bar in WooCommmerce

Shipping costs are one of the top reasons behind abandoned cart sales. Many online stores deal with this by offering free shipping.

Letting customers know about your free shipping offer is a great way to boost sales from your online store.

Here’s an example of a free shipping banner. It’s a prominent website element that stays at the top of the screen as the user scrolls down:

Free shipping bar example

As you can see, the example store above encourages users to spend a certain amount to get free shipping. This is great for boosting cart order value and overall sales volume.

You can enable incentivized free shipping by using the Advanced Coupon plugin for WooCommerce.

Regardless of how you enable free shipping, properly highlighting it on your site is key, and that’s where a free shipping bar comes in.

To create the shipping bar, we will be using OptinMonster. It’s a powerful tool for creating all types of WordPress popups.

Creating an OptinMonster Account and Connecting WordPress

First, you will need to visit the OptinMonster website and sign up for an account. It is the best lead generation software and conversion optimization plugin for WordPress.


Note: OptinMonster was co-created by Syed Balkhi, WPBeginner’s founder. It’s an extremely popular optin tool that we use here on WPBeginner, and we highly recommend it.

You can read our complete OptinMonster review for more details.

After you have signed up for OptinMonster, the next step is to install and activate the free OptinMonster plugin for WordPress. Please see our step-by-step guide on how to install a WordPress plugin.

This plugin connects the OptinMonster app to your WordPress site. After activating it, click on the OptinMonster menu in your WordPress dashboard. Then, click the ‘Connect Your Account’ button and connect WordPress to your OptinMonster account.

Connect OptinMonster to your WordPress site

Creating a Free Shipping Bar for WooCommerce

Now, you can create your free shipping banner bar.

First, go to the OptinMonster page in your WordPress dashboard and then click the ‘Add New’ button on the top right or click the ‘Create Your First Campaign’ button.

Create new campaign

A new popup window will open where you can choose templates or playbooks.

OptinMonster offers beautiful templates for your campaign. You can select one and customize it according to your needs. On the other hand, it also offers ready-to-use campaigns inspired by successful brands.

For this tutorial, we will select the ‘Templates’ option.

Select a template or playbook

This will take you to the OptinMonster campaign builder.

Here, you’ll need to select ‘Floating Bar’ as your campaign type.

Choose floating bar campaign

Next, scroll down and choose your campaign template. OptinMonster has a great range of professional templates to choose from. Bring your mouse cursor over the template and click the ‘Use Template’ button.

OptinMonster will now ask you to name your campaign. You can use any name that you like here.

Enter a name for your campaign

Once you are ready, just click the ‘Start Building’ button.

You will then see the OptinMonster builder interface, where there are different blocks that you can add to the template.

Customize the floating alert bar

By default, the floating bar will stick to the bottom of the screen. If you want it at the top of the screen instead, that’s easy to change.

Simply select the floating bar and then click on ‘Floating Bar Settings’ in the left-hand menu. Then, turn on the ‘Load Floating Bar at Top of Page?’ option.

Move the alert bar to the top

To change the text in the bar, simply click on it.

You can customize the text as needed. You can also change the font style, color, font size, and more. The preview of your campaign will automatically update to show how it will look live.

Here, we have changed the text and the font. We have also slightly increased the font size:

Edit text of free shipping bar

You can change the button on your free shipping bar, too.

Simply click on the button, and the settings will open up in the left-hand panel. You can change the text of the button there.

Edit button text and settings in free shipping alert bar

To direct customers to a page on your WordPress website about free shipping, you can enter the correct Redirect URL.

If you want to use a different color for your free shipping bar, that’s easy too. First, click on the ‘Advanced’ tab from the menu on your left and change the background color for the button.

Edit button color and effects

Next, you will need to select the display rules that control who should see the free shipping bar on your site.

Simply click on the ‘Display Rules’ tab at the top of your screen.

Setting your display rules in OptinMonster

By default, OptinMonster displays your floating bar after the user has been on any page of your site for 5 seconds.

You may want to have your free shipping bar load instantly. To do this, simply remove this rule. Click the minus icon on the right-hand side to do so:

Have your free shipping bar appear instantly

Now, you should be left with the rule ‘Current URL path is any page.’

Aside from that, you can also choose different display rules. For example, you can show the free shipping bar upon exit or to users from specific geographic regions or when they visit a particular product page.

Physical location display rules

The final step is to make your campaign live on your site. Click the ‘Publish’ tab at the top of the screen.

While you are building your campaign, it’s paused by default. You can switch it from Draft to Publish.

Publish free shipping bar

Once that’s done, simply click the ‘Save’ button and close the campaign builder.

Next, you’ll see the Campaign Output Settings for your free shipping alert bar. Make sure that the Status is Published, or just click the dropdown menu and change it from Pending to Published.

Free shipping bar output settings

Don’t forget to click the ‘Save Changes’ button when done.

Now, you can visit your WordPress blog or website and see your free shipping bar live.

Here’s a preview of how an alert bar looked on our demo shopping site.

Free shipping bar preview

We hope this article helped you learn how to add a free shipping bar in WooCommerce. You might also want to check out our list of the best WooCommerce plugins for your online store and our comparison of the best business phone services with smart call routing features.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

1 CommentLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.