Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there,
The store is goodchangestore.com and we're using the Ella theme.
I've recently started customising some content based on user location as we've expanded to another country. I've managed to customise the announcement banner and set up simple redirects to country specific landing pages.
e.g. code for announcement bar
{% if localization.country.iso_code == 'AU' %} <div> <div class="message"> <img src="https://cdn.shopify.com/shopifycloud/web/assets/v1/d4e9cde3edb3e1732ec50170e158d750.svg" alt="Australia" width="32" height="18"> FREE SHIPPING ANYWHERE IN AUS OVER $50 | <a href="https://www.goodchangestore.com/collections/gift-sets-and-starter-kits"> SHOP & SAVE UP TO 15% ON OUR BUNDLE DEALS </a></div> </div> {% else %} <div> <div class="message"> <img src="https://cdn.shopify.com/shopifycloud/web/assets/v1/cacb9f87701ae2707676064d036a97b2.svg" alt="New Zealand" width="32" height="18"> FREE SHIPPING IN NZ OVER $50 | <a href="https://www.goodchangestore.com/collections/gift-sets-and-starter-kits"> SHOP & SAVE UP TO 15% ON OUR BUNDLE DEALS </a></div> </div> {% endif %}
What I'd now like to achieve is the customise the shipping information on the product pages, as we'd like to vary the free shipping amount in each country.
I'm having trouble figuring out how to do this and would really appreciate some suggestions. Currently the shipping information is displayed as per the image below as a custom information block under product information in the theme editor. Can i customise this by location somehow or do I need to setup the page differently? Can't find where in the theme files this is called up.
I'd appreciate any suggestions! Cheers.
You can achive this via writing whole collapsible content using liquid in theme.
Made metafield name matched with ISO field name.
Rest your code will work.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025