Customising shipping information based on Geolocation

New Member
3 0 0

Hi there,


The store is 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 == 'AU' %}
     <div class="message"> <img src="" alt="Australia" width="32" height="18">  FREE SHIPPING ANYWHERE IN AUS OVER $50 | <a href=""> SHOP &amp; SAVE UP TO 15% ON OUR BUNDLE DEALS </a></div>
 {% else %}
     <div class="message"> <img src="" alt="New Zealand" width="32" height="18">  FREE SHIPPING IN NZ OVER $50 | <a href=""> SHOP &amp; SAVE UP TO 15% ON OUR BUNDLE DEALS </a></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.


Screen Shot 2023-03-27 at 11.31.44 AM.pngScreen Shot 2023-03-27 at 11.32.22 AM.png 

Reply 1 (1)
Shopify Partner
526 68 77

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.

If your problem solved then Like & Accept this Solution.
For Design, Development and custom changes Hire Me or drop me a message or connect at Email ID: for quick consultation.
To support Buy Me a Coffee