Shopify themes, liquid, logos, and UX
My store is currently visible in the US, UK and International regions, but I want to add a separate header ‘menu collection’ for visibility in the UK only as I plan to include products that can only be delivered in the UK. I understand some code will need to be added but can anyone tell me how this is done please? I've currently got menu headings of home, products, blog and customer service but want to include another one for UK Only (working title) Many thanks in advance.
Hi @ColinH,
Please send the website link, I will check it for you
Hi @ColinH,
Please follow these steps:
- Step 1: Add item 'menu collection' to menu header
- Step 2: Please go to '...' > Edit code > snippets > header-dropdown-menu.liquid file and add code here:
Code:
{% unless localization.country.iso_code == 'GB' %}hidden{% endunless %}
That's great - Thanks very much for this. I'll try it out and let you know how it goes...
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025