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.

An example of the customer reset password template in Dawn

Location

The customers/reset_password template is located in the templates > customers directory of the theme:

Content

You should include the password reset form in your customers/account template or a section inside of the template.

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:

Usage

When working with the customers/account template, you should familiarize yourself with previewing the template.

Preview the template

To preview the customers/reset_password template, perform the following steps:

  1. Fill out the password recovery form on the login page.

  2. Check your email for the "Customer account password reset" email.

  3. Click the link in the email. This will take you to the customer password reset page.

On this page