Been reading through this thread but can't seem to find something like this.
- Have a 'My Account' and 'Login' button in header of shop.
- Both buttons lead to 'username-password' or 'new-registration' page
- Once user has 'logged in', 'Login' button changes to 'Log out' button and 'My Account' button leads to customers account page.
- So when customer clicks on 'log out', customer is logged out' and button changes back to 'login'
Can anyone help with this functionality?