Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I am trying to link up the password recovery page at the bottom of the login form. The code looks like this -
<a href="{{ routes.account_recover_url }}">Recover</a>
After clicking on the links from the website, it shows a 404 error. The recovery URL is -
https://[website]/account/recover
Why this is happening? Can anyone help, please?
Also currently having this issue. Were you able to resolve it? And if so, how?
Me too
Hey Abdullah,
You have to understand that the template page in your Theme, Templates -> Customers -> reset_password.JSON will only appear when the user clicks on a links inside an email sent to his email inbox after submitting his email in the reset password form in the login page.
Which means, the user goes to yourShopifyStoreName.com/account/login#recover, then submits his Email, then the user will receive an Email with a link inside it. When the user clicks that link, it will direct him to the reset_password.JSON template page.
What you are looking for is kinda like this:
<a href="{{ routes.account_login_url }}#recover">FORGOT YOUR PASSWORD?</a>
Thumbs up, if you found this useful.