Change navbar links based on customer tag?

CrunchyBytes
Tourist
6 0 1

Hello,

I'm wondering if there is a way to change the navigation bar links based on a customer tag. In this instance we have a (regular/not logged in) account and a (professional) account. We would like to have the regular/not logged in accounts have a certain navbar vs the professional having a different navbar. Is there an app or snippet of code for this? We are using the the "Modular" theme. 

KetanKumar
Shopify Partner
17100 1856 6413

@CrunchyBytes 


It can be done by doing some code customization. please send me a personal message and we can discuss what you'd like

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Galvins
Tourist
11 0 1

You can do that but you need to customize the snippet. You can check my private message.

0 Likes
KetanKumar
Shopify Partner
17100 1856 6413

@Galvins 

thanks i will check and let you know 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
LitExtension
Shopify Partner
667 67 119

Hi @CrunchyBytes

You can use this snippet to check:

{% for tag in customer.tags %}

  {% if tag contains 'professional'%}

    {% assign link_professional = 'your_link' %}

  {% else %}

    {% assign link_normal = 'your_link' %}

  {% endif %}

{% endfor %}

Hope this helps.

LitExtension - Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!
0 Likes
CrunchyBytes
Tourist
6 0 1

Hello, in which file do I place this? 

0 Likes
LitExtension
Shopify Partner
667 67 119

Hi @CrunchyBytes

You can use that snippet to change the file which you want to change navbar links.

LitExtension - Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!
0 Likes