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 -%}"
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024