Help with hiding Free Shipping text on specific product pages

Topic summary

Hiding the “Free Shipping” message on wholesale product pages in the Broadcast theme. The merchant uses Online Store 2.0 and created a JSON-based product template but is struggling to implement the change.

Examples provided: a regular product page and a wholesale product page, to illustrate where the message should remain vs. be hidden.

Suggested approaches:

  • Create a new product template specifically for wholesale items, assign wholesale products to it, and remove the free shipping code from that template.
  • Use a Shopify Liquid conditional tied to the template/page name (e.g., an if-statement checking the template string) to prevent rendering the message on wholesale pages. A brief code snippet was shared to demonstrate the conditional.

Notes: Liquid is Shopify’s templating language; Online Store 2.0 product templates are JSON, with Liquid used inside sections/snippets. The conditional code snippet is central to the proposed solution.

Status: No confirmation of implementation or success yet; the thread remains open without a definitive resolution.

Summarized with AI on February 12. AI used: gpt-5.

Hey all hope you’re well.

I was hoping for some assistance with the following:

I am using the Broadcast theme.

I have a free shipping message next to the price on all products. I am now launching a wholesale section of the site, but on these specific wholesale products, i want to hide this message.

I created a template via the 2.0 theme capabilities but these are JSON files so struggling to implement this.

Website is:

Regular product page: https://www.flowerfix.co.uk/collections/send-flowers/products/babys-breath

This is a wholesale product page https://www.flowerfix.co.uk/products/ivory-wax-flower?variant=43035142455514

Thank you in advance for your help.

1 Like

@flowerfixuk ,

Create the new template with different name then assign that product to the new template & remove the free shipping code.

@flowerfixuk

{% if template contains 'collection' %}
    Do something
{% endif %}

Use like this code into.
Specify your Page name .
Thank you.