Login Logout

Highlighted
New Member
6 0 0

Hi all,

 

Whenever I test my site and try to log in the navigation stays as "log in." I'd like to change it so after a customer logs in that navigation feature changes to log out or my account so it is intuitive to use. Any help here?

0 Likes
Highlighted
Shopify Partner
1283 170 404
You'll need to find that in your code and use liquid to determine if the customer is logged in or not:

{% unless customer %}
Log in
{% else %}
Log out
{% endunless %}
If my solution helped you, please like and accept as solution!
If you'd like to make any edits to your store, please send me a personal message and we can discuss what you'd like to accomplish :D
0 Likes
Highlighted
New Member
6 0 0

Awesome, if I am using the Debut theme do you know which part of the code this would be in? Realistically I'd like it to say Log Out when someone is logged in.

0 Likes
Highlighted
New Member
2 0 1

hello Ninthony, I need help with this also.  I need a Shopify developer for many tasks.. Can you help?

0 Likes
Highlighted
Tourist
9 0 1

Hey @forever-stoked , in your Checkout -> Settings you can change the customers preference to activate the login/logout thing on your store. If you still need help let me know the details on my email. (developer.rutherford@gmail.com)

0 Likes