Skip to content

Issue : Unable to find the hook displayCustomerAccountForm in the default template

Hervé H edited this page Aug 26, 2022 · 1 revision

When the debuguer give you the following error "Unable to find the hook displayCustomerAccountForm in the default template, you can read more about it here" , which point you to this page.

The issue is related to a missing hook in the default file related with the customer form.
In order to fix it, you need to add the following code in the file templates/customer/_partials/customer-form.tpl of your theme

{$hook_create_account_form nofilter}

In the classic theme, it is inserted like below image

Clone this wiki locally