How to show the bar in a custom position
Overview
Use Manual Position to place the bar yourself, for example in your cart page or between two sections of your product page. You add the XB: Free shipping app block in the theme editor, or paste a code snippet in your theme.
Before you start
- Turn on the app embed. See How to enable the app embed.
- Save the bar at least once. Its ID appears only after the first save.
Steps
1. Select Manual Position
- Open Free Shipping Bar Upsell, click the bar name, then click Placement.
- Under Page to display, select Manual Position.
- Copy the ID with the copy icon.

If the field shows "Save or Publish to show ID", click Save in the bar at the top of the page first.
2. Add the XB: Free shipping block in the theme editor
- Click Add liquid block to your theme. The theme editor opens. You can also open it from Online Store > Themes > Customize.
- Open the page where you want the bar, for example a product page.
- Click Add section (or Add block inside a section), open the Apps tab, then select XB: Free shipping. To find it faster, type its name in the search box.

3. Connect the block to your bar
- In the block settings, paste the ID into Free shipping ID.
- Drag the block to the place you want.
- Click Save in the theme editor.

The bar shows where you placed the block:

The block shows the bar only when the bar uses Manual Position and is Active.
Use the code snippet instead
If you or your developer edit theme code, copy the code snippet from the Placement step and paste it in any theme file where you want the bar. It looks like this, with your ID in data-id:
<div class="xbfsbu-block" data-id="YOUR-FREE-SHIPPING-BAR-ID"></div>
To show the bar in your theme's cart drawer, paste the snippet in the cart drawer code. See Why is the free shipping bar not showing in my cart drawer?