Hi Community, please help!
I need to have three versions of text including a different discount code showing on my announcement bar for three different markets - Ireland, UK and Switzerland. The text is all in english for these markets but I need to have a slightly different discount code for UK and Ireland and for Switzerland there is no discount code. We are using ‘markets’ and I thought I could just ‘localize’ the accouncement bar but it is not working - just showing the same text across all three markets. Shopify have now told me that I can’t do it because I don’t have Shopify plus - could you recommend a workaround? It is for this week only. Advice appreciated!
Topic summary
A merchant needs to display different announcement bar text and discount codes across three markets (Ireland, UK, Switzerland) using Shopify Markets. All markets use English, but require distinct discount codes—UK and Ireland each have separate codes, while Switzerland shows no discount code.
The Problem:
- Localization through Shopify’s native settings isn’t working
- Shopify support indicated this feature requires Shopify Plus
- Solution needed urgently for a one-week promotion
Proposed Solution:
A workaround using Liquid code in the theme’s announcement bar file:
- Add conditional logic based on
localization.country.iso_code - Display market-specific messages for GB, IE, and CH
- Alternative: use
request.hostif markets have separate domains - No-code option: geo-targeting apps like Quick Announcement Bar (Hextom)
This approach works with standard Shopify Markets without requiring a Plus subscription.
You can still target different markets without Shopify Plus by adding a small Liquid condition in your announcement bar section.
Go to Online Store,Themes, Edit code, open announcement bar.liquid (or where the text lives), and use:
{% if localization.country.iso_code == ‘GB’ %}
Enjoy 10% off — Code: UK10
{% elsif localization.country.iso_code == ‘IE’ %}
Enjoy 10% off — Code: IE10
{% elsif localization.country.iso_code == ‘CH’ %}
Free shipping this week ![]()
{% else %}
Welcome! Shop our latest offers ![]()
{% endif %}
This works with Shopify Markets and detects the visitor’s country,no Plus plan or app needed.
If they use separate domains, you could also target with request.host.
If they prefer no code, apps like Quick Announcement Bar (Hextom) can do geo-targeting too.
Hi - I don’t have shopify plus