account_create

The account_create.twig view hosts the page where a customer registers for a customer account.

The view also hosts a trade account application form, where the URL will be /account/trade-application


Account form

This view hosts the account creation form.

The form is usually hosted in a partial, account_form.

At a minimum, the account creation form must have the following fields:

First Name
Surname
Email Address
Password


Trade applications

You can detect whether a visitor is viewing the page through the URL /account/trade-application (and therefore applying for a trade account) with the variable {% if customer.trade %}.