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

Hook displayAdminOrder

Aliases:

  • adminOrder

Information

Display new elements in the Back Office, tab AdminOrder:

This hook launches modules when the AdminOrder tab is displayed in the Back Office

Hook locations:

  • back office

Hook type: display

Located in:

Parameters details

    <?php
    array(
     'id_order' = (int) Order ID
    );

Call of the Hook in the origin file

{{ renderhook('displayAdminOrder', {'id_order': orderForViewing.id}) }}

Example implementation

This hook has been implemented as an example in our modules examples repository - demovieworderhooks.