customers/activate_account
The customers/activate_account
template renders the customer account activation page, which hosts the form for activating a customer account.
The customers/activate_accoun
t template is located in the templates
> customers
directory of the theme:
You should include the customer account activation form in your customers/activate_account
template or a section inside of the template.
The customer account activation form
Anchor link to section titled "The customer account activation form"The customer account activation form can be added with the Liquid form
tag and accompanying 'activate_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/activate_account
template, you should familiarize yourself with previewing the template.
Preview the template
Anchor link to section titled "Preview the template"To preview the customers/activate_account
template, perform the following steps:
From your Shopify admin, add a fake customer on the Customers page using your own email.
Click the
...
button at the top right of the page for your newly created customer, and then click Send account invite.Check your email inbox for the Customer account invite email.
Click the link in the email. This will take you to the customer account activation page.