Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
In my shopify store when i use login in customer account login page "account/login/", i can access correctly to customer account page and works good if i use the same page or if i go to homepage/account/ page.
I've the issue when i try to go to login page again using browser search bar and typing account/login/, the account is not logged anymore.
How can i fix this?
Hi
'/account/login' would be the route to the login page
the right route should be simply '/account'
could this be the issue, that you are redirecting to login instead of account page?
I'm creating a mobile app of my website and app needs to see state of login page to know if the account is logged in or not. So when i use login page the account logged in correctly but if i go to account page, app check status of login page and sees that is logged out
Hi.
Can you use liquid? In theme liquid this is done with the conditional if customer, e.g.:
href="{%- if customer -%}{{ routes.account_url }}{%- else -%}{{ routes.account_login_url }}{%- endif -%}"
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025