PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 30, 2023
Let's talk code, commerce and open source.

Hook actionCustomerAccountAdd

Aliases:

  • createAccount

Information

Successful customer account creation:

This hook is called when a new customer creates an account successfully

Hook locations:

  • front office

Hook type: action

Located in:

Parameters details

    <?php
    array(
      'newCustomer' => (object) Customer object
    );

Call of the Hook in the origin file

Hook::exec('actionCustomerAccountAdd', [
                'newCustomer' => $customer,
            ])