Articles on: Free Shipping Upsell

πŸ“ 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:


  1. πŸ†” Shipping Bar ID
  2. 🧩 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.liquid
  • product-template.liquid
  • Cart-related sections may exist inside:
  • cart.liquid
  • cart-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

Was this article helpful?

Share your feedback

Cancel

Thank you!