π How to Place Free Shipping Bar in a Custom Position
Hoppy Free Shipping offers two primary placement types for the Free Shipping Bar:
- π Default Placements
- π§© Custom Placements
In most cases, the default placement areas work perfectly fine.
However, sometimes merchants may want more flexibility and prefer placing the Free Shipping Bar in a completely custom location depending on their storefront layout.
Thatβs exactly where the Custom Position feature becomes useful β¨
Using Custom Position, the Free Shipping Bar can be placed:
- Inside Shopify App Blocks
- Inside Custom Liquid sections
- Inside Theme Files
- Inside manually controlled storefront locations
This documentation explains how to properly enable Custom Position and how to place the Free Shipping Bar using both available methods.
β οΈ Understanding Workflow Differences
The Custom Position behavior depends on the workflow type selected while creating the Free Shipping Upsell setup.
π― Based on Goals (Multiple Placement)
The Based on Goals workflow includes multiple placement areas:
- Product Page
- Cart Drawer
- Cart Page
- Banner
For this workflow:
β Open the placement tab you want to customize
β Change its placement to Custom Position
Once enabled:
β A Shipping Bar Code Snippet becomes available
β οΈ Important:
The placement tab must actually be changed to Custom Position.
Otherwise, the Free Shipping Bar will continue using the default placement behavior.
π Based on Placement (Single Placement)
The Based on Placement workflow controls only one placement area.
For this workflow, two Custom Position methods become available:
- π Shipping Bar ID
- π§© Shipping Bar Code Snippet
π Shipping Bar ID
This method is mainly used with Shopify App Blocks.
The Shipping Bar ID connects the storefront App Block with the selected Free Shipping setup.
π§© Shipping Bar Code Snippet
This method provides more advanced placement flexibility.
The code snippet can be:
- Added inside a Custom Liquid block
- Added directly into Shopify Theme files
π οΈ Step 1 β Open Hoppy Free Shipping
Open the Hoppy Free Shipping app from your Shopify Admin.
π Step 2 β Open or Create a Free Shipping Upsell
You can either:
β Open an existing Free Shipping Upsell setup
β Or create a new setup
βοΈ Step 3 β Navigate to the Placement Settings
The next step depends on the workflow type currently being used.
π― Based on Goals Workflow
If you are using the Based on Goals workflow:
β Open the placement tab where you want to manually place the Free Shipping Bar
Examples:
- Product Page
- Cart Drawer
- Cart Page
- Banner
π Based on Placement Workflow
If you are using the Based on Placement workflow:
β Navigate directly to the Placement tab
Since this workflow controls only one placement, all placement-related settings will appear there.
π― Step 4 β Change Placement to Custom Position
Inside the Placement settings:
β Change the Display On (Include) or Placement option to:
Custom Position
Then:
β Click Save
β οΈ Important:
Enabling Custom Position removes the Free Shipping Bar from the default placement areas.
The Free Shipping Bar will now appear only where you manually place it.
βΉοΈ If using Based on Goals workflow, go to Method 2.
π Method 1 β Using Shipping Bar ID
This method is ideal when you want to place the Free Shipping Bar directly using Shopifyβs Theme Editor.
βΉοΈ This method is mainly available for the Based on Placement workflow.
π¨ Step 5 β Open Shopify Theme Editor
From Shopify Admin:
β Go to Sales Channels β Online Store
β Click Edit Theme
This opens the Shopify Theme Editor.
β Step 6 β Add the Free Shipping App Block
Inside the Theme Editor:
β Navigate to the section where you want the Free Shipping Bar to appear
β Hover around compatible sections until the blue-colored β icon appears
β Click Add Block
Then:
β Open the Apps category
β Select Free Shipping Upsell
The App Block will now be added to the selected storefront area.
π Step 7 β Add the Shipping Bar ID
Once the App Block is added:
β Enter the Shipping Bar ID inside the App Block settings
Then:
β Save the Shopify Theme
β Save the Free Shipping setup inside Hoppy Free Shipping as well
β οΈ Important:
Both saves are required.
Otherwise, the Free Shipping Bar may not appear correctly on the storefront.
π§© Method 2 β Using Shipping Bar Code Snippet
This method is useful when you want more advanced placement flexibility.
The Shipping Bar Code Snippet can be:
- Added using a Custom Liquid block
- Added directly into Shopify Theme files
βΉοΈ This is the only available Custom Position method for the Based on Goals workflow.
β Step 8 β Add a Custom Liquid Block
Inside Shopify Theme Editor:
β Navigate to the area where you want the Free Shipping Bar to appear
β Hover around compatible sections until the blue-colored β icon appears
β Search for Custom Liquid
Then:
β Add the Shipping Bar Code Snippet inside the Custom Liquid block
This allows the Free Shipping Bar to render in the selected storefront position.
π» Adding the Code Snippet Directly into Theme Files
If needed, the Shipping Bar Code Snippet can also be added directly into Shopify Theme code files.
This is useful when:
- App Blocks are unavailable
- Custom Liquid sections are unsupported
- Advanced storefront customization is needed
βοΈ Opening Shopify Code Editor
To open the Shopify Code Editor:
β Go to Sales Channels β Online Store
β Click the three-dots menu beside the Edit Theme button
β Click Edit Code
β οΈ Important:
We do not recommend modifying Shopify Theme files unless:
- You are comfortable working with Shopify code
- Or you understand what changes are being made
Incorrect modifications inside Theme files may affect storefront behavior.
π§© Identify the Correct Storefront Area
Before inserting the Shipping Bar Code Snippet, it is important to identify the exact storefront location where the Free Shipping Bar should appear.
One simple way to do this:
β Open your storefront in the browser
β Right-click near the area where you want the Free Shipping Bar
β Click Inspect
This opens the browser Developer Tools.
From there:
β Inspect the surrounding HTML structure
β Identify useful class names or section references
β Match those sections with the corresponding Shopify .liquid files in the Code Editor
This helps you locate the correct Theme file more accurately β¨
---
π Finding the Correct Theme File
After opening the Shopify Code Editor:
β Navigate through the Theme files on the left side
β Locate the .liquid file responsible for the area where you want the Free Shipping Bar to appear
β Search for any id/class reference using the Code Editorβs Search feature.
β Click on the most promising .liquid file
For example:
- Product-related sections may exist inside:
main-product.liquidproduct-template.liquid- Cart-related sections may exist inside:
cart.liquidcart-drawer.liquid- Custom sections may exist inside:
sections/*.liquid
β Add the Shipping Bar Code Snippet
Once the correct .liquid file is identified:
β Paste the Shipping Bar Code Snippet in the desired position inside the file
β οΈ Important:
Make sure the snippet is added carefully in the correct location.
Incorrect placement may cause:
- Layout issues
- Improper rendering
- Unexpected storefront behavior
πΎ Save the Theme File
After inserting the code snippet:
β Click Save
Then:
β Refresh the storefront preview
β Verify that the Free Shipping Bar appears correctly in the selected custom location β¨
π Final Result
Once configured successfully:
β The Free Shipping Bar can appear in fully custom storefront positions
β Shopify App Blocks can connect correctly using Shipping Bar ID
β Advanced storefront placement becomes possible using Code Snippets
β Merchants gain much more flexibility over storefront visibility β¨
Updated on: 03/06/2026
Thank you!