How do I place the bar anywhere on my site with 2.0 Theme? •

Please watch our video tutorial:


If you prefer a step-by-step guide, kindly follow the steps below:

If you wish to place the Free Shipping Bar somewhere other than the top or bottom of the page, you can use the Manual Placement option.


Screen Shot 2022-04-08 at 4.19.22 PM.png


From here you have two options. You can place the code  <div id="fsb_placeholder"></div> in your theme code. Something like this:

Screen Shot 2022-04-08 at 4.21.24 PM.png


That often works, but there can sometimes be some unexpected results with some themes. Also, some themes don't have a body section that can be easily edited, and instead you'll see something like this,

mceclip0.png

with nowhere to place your placeholder code. 

So another option available in 2.0 themes is to place the bar visually using App Blocks. 

Screen Shot 2022-06-08 at 4.45.06 PM.png

That's what I'll walk you through. First, ensure that the bar is in fact set to manual placement in the app's dashboard:

Screen Shot 2022-04-08 at 4.19.22 PM.png


Next, you'll need to get into the theme customization space. For that click on: 
1 ) Online Store
2) Themes
3) Then click Customize
Screen Shot 2022-06-07 at 1.29.17 PM.png

From here, if you are on a 2.0 theme, you'll be able to choose the page you wish to customize. We'll begin with the home page.

Screen Shot 2022-06-08 at 5.21.01 PM.png

To add the bar as it's own section, you can click on Add section:

Screen Shot 2022-03-24 at 3.39.36 PM.png


Scroll to the bottom and you'll see a section called Apps. Among the options, you'll see Free Shipping Bar:

Screen Shot 2022-06-08 at 5.16.41 PM.png

Click on it to add it to your page. It will then be at the bottom of the sections.

Screen Shot 2022-06-08 at 5.23.47 PM.png

Now you can use the dotted tab to move the bar around in the layout:

a.png


You may find yourself trying to drag the bar by grabbing the dotted tab for the FSB Custom Placement block. But that won't work. You need to grab and move the dotted tab of the Apps element.

b.png

c.png


And you should be able to see the bar that has been prepared in the app configuration rendered into the preview window:

d.png

If you click on the section, you'll see that there are no customizable settings. All the settings are still set in the app. But this allows you to place the bar in your theme more easily.

If you want the bar to occupy the full width of the page, you can add the bar a different way. Rather than adding a section from the app, you'll add a custom liquid block.

e.png

When you click on the newly created block, you'll see an empty field where you can place your code. This is where you'll place the placeholder code:

<div id="fsb_placeholder"></div> 

And make sure you save.

f.png

After saving, the page will refresh and you should be able to see the bar:

g.png

You can then drag the bar to any spot on the page below the header. You cannot place the bar above the header using this approach.

We can use the App Block approach to customize placement such as placing the bar below the Add to cart button on product pages or above the subtotal in the cart page.

Switch over to the product page and choose Default product:

h.png

Screen Shot 2022-06-08 at 5.43.17 PM.png

A product page will display.

From here, you can choose to add the bar as a section or a custom liquid, just as in the above example. But you can also add the bar as part of the item description, placing the bar below the add to cart button. Here's how.

In the left side menu, click Product information to open the section and see all of its components.

j.png


At the bottom, click Add block. Select FSB Custom Placement.

k.png


The App Block will be added to the bottom of the section.

l.png


You'll then be able to use the dotted tab to drag it around the section. 

m.png


You can drag it to just under the Buy buttons.

n.png

Now you'll be able to see the bar placed underneath the Buy it now / Add to cart buttons.

o.png

A similar approach can be used on the cart page.  Using the top drop down, open the cart page layout:

p.png

Using the same approach as before,  you can click on Subtotal to open up the section and see the contents. In there you can click on Add block to add the FSB Custom Placement. In this example I dragged the block to above the subtotal. 

q.png

Please note that if you are not using a Shopify 2.0 theme, you might not be able to add a section to certain pages.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us