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

Hook displayAdminCustomers

Informations

Display new elements in the Back Office, tab AdminCustomers This hook launches modules when the AdminCustomers tab is displayed in the Back Office
Hook displayAdminCustomers
Locations
BO
Type display
Origin core
Aliases [adminCustomers]

Located in

Origin File
core src/PrestaShopBundle/Resources/views/Admin/Sell/Customer/view.html.twig

Parameters details

    <?php
    array(
      'id_customer' = (int) Customer ID
    );

Call of the Hook in the origin file

{{ renderhook('displayAdminCustomers', {'id_customer': customerInformation.customerId.value}) }}