Hook displayAdminOrderMain

Informations

Admin Order Main Column This hook displays content in the order view page in the main column under the details view
Hook displayAdminOrderMain
Locations
BO
Type display
Origin core
Aliases

Located in

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

Parameters details

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

Call of the Hook in the origin file

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

Example implementation

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