How to hide nav menu items based on customer tags in Dawn Theme?

How to hide nav menu items based on customer tags in Dawn Theme?

tj2480
Shopify Partner
2 0 0

Does anyone know how to hide a nav menu item based on the logged in customer's tag for the Dawn Theme?

 

 

Replies 3 (3)

MOISCHKOWITZ
Shopify Partner
252 20 35

Should be as easy as this:

 

{% unuless customer %}
Menue Item to hide
{% endunless %}

 

 

> I hope you find my reply helpful. To let me know click on like!
> I'd love to help. Was your question answered? Mark it as an Accepted Solution
> WhatsApp: https://zeep.ly/UJ0nE | Email: mluebcke@gmail.com
MOISCHKOWITZ
Shopify Partner
252 20 35

unless, sorry not unuless 🙂

> I hope you find my reply helpful. To let me know click on like!
> I'd love to help. Was your question answered? Mark it as an Accepted Solution
> WhatsApp: https://zeep.ly/UJ0nE | Email: mluebcke@gmail.com
TWCIndia
Tourist
14 0 3

Hi

 

I want to hide a certain item from the main menu unless the customer is logged in. Is there a way to do this in Dawn theme? What code and where do I paste it please? If you could guide where to put the code as well. Thank you