Need help with redirect
Currently I have a link that redirects the visitor to the order history page if the visitor is logged in. When the visitor is not logged in the link redirects to the log in page. Once they have logged in the conditional statement allows them to access links to view order history, update profile, ect., as a should, with no log in form on the page.
What I need is if the visitor is logged in, the link needs to redirect to the log in page without the log in form - only the options ie view order history, update profile, etc.
As it stands, if the visitor is already logged in, the link is directed to the log in page with the log in form instead of their account access.(local testing)
What do I need to do to change this so that when a logged in visitor selects the Your Account link the will redirect to the log in page with the conditions of log in met?