We had an interesting case of a theme that doesn’t have the log out link! Customers were emailing the client asking how to log out once they placed their order, and there was no way to do it.

If you stumble upon the same theme, or need this line of code to use somewhere on the site, here it is:

{{ 'Log out' | customer_logout_link }}

You can edit the CSS per your needs targeting the #customer_logout_link.

Write a comment