customers/reset_password
The customers/reset_password
template renders the password reset page, which hosts the form to reset the password for a customer account.
The customers/reset_password
template is located in the templates
> customers
directory of the theme:
You should include the password reset form in your customers/account
template or a section inside of the template.
The password reset form
Anchor link to section titled "The password reset form"The password reset form can be added with the Liquid form
tag and accompanying 'reset_customer_password'
parameter. Within the form tag block, you need to include the following:
Input | type |
name |
---|---|---|
Password | password |
customer[password] |
Password confirmation | password |
customer[password_confirmation] |
For example:
When working with the customers/account
template, you should familiarize yourself with previewing the template. To preview the customers/reset_password
template, perform the following steps:
Fill out the password recovery form on the login page.
Check your email for the "Customer account password reset" email.
Click the link in the email. This will take you to the customer password reset page.