Language: English

๐Ÿ“ 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 โœจ