How to redirect customers to a new page after password recovery?

Hello,

Does anyone know how to redirect the customer to a new page after he requests to recover its password?

Cause by default it redirects to login and it seems like nothing worked, but in theory, it worked and the email should arrive in a few minutes. So I wanted to redirect the person to a page with a message saying this.

I already tried with the same code of login and account registration redirect but nothing.

Thanks!

Hi @blindspot ,

Please go to templates > customers/login.liquid file, find form ‘recover_customer_password’ and add code:

https://i.imgur.com/41PD5t7.png => https://i.imgur.com/cPHru4T.png

Code:

{% form ‘recover_customer_password’ , return_to: ‘link page’ %}

Ex: {% form ‘recover_customer_password’ , return_to: ‘/pages/contact-us’ %}

Hope it helps!

Yes it works!! Thanks a lot!! :slightly_smiling_face: