Solved

Can a custom dropdown menu be added for logged in users?

toddythedude
Shopify Partner
2 0 0

hi, i wondering if its possible to add a custom dropdown menu to the user icon in the header, but only if the user is logged in.

 

does anyone have an idea, if its possible with liquid or custom javascript or exist a shopify settings for this (which i just not found) or something like an app for this?

 

thanks for your help 🙂

Accepted Solution (1)

Sweet_Savior_3
Shopify Partner
1190 96 115

This is an accepted solution.

Hello @toddythedude 

 

Welcome to Shopify Community.

 

Yes it is possible to show something to only logged in users.

 

You can add the HTML in between {% if customer %}{% endif %}

 

Let me know if I can help you in anyways.

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!

View solution in original post

Replies 2 (2)

Sweet_Savior_3
Shopify Partner
1190 96 115

This is an accepted solution.

Hello @toddythedude 

 

Welcome to Shopify Community.

 

Yes it is possible to show something to only logged in users.

 

You can add the HTML in between {% if customer %}{% endif %}

 

Let me know if I can help you in anyways.

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
toddythedude
Shopify Partner
2 0 0

thanks, i had a look and tried something and it is working fine for me 🙂