account_edit

The account_edit.twig view hosts the page on which a customer edits the details of their registered account (such as their password or saved address).


Account form

The view hosts the account form. .

We'd recommend hosting the form in a partial, account_form.

You can detect whether a visitor if a trade customer using the variable {% if global.customer.trade %}. As you will want to include a company name field if the customer is editing a trade account.