Hook | displayAdminOrder |
---|---|
Locations | BO |
Type | display |
Origin | core |
Aliases | [adminOrder] |
Description | This hook launches modules when the AdminOrder tab is displayed in the Back Office |
Origin | File |
---|---|
core | src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/view.html.twig |
<?php
array(
'id_order' = (int) Order ID
);
{{ renderhook('displayAdminOrder', {'id_order': orderForViewing.id}) }}
This hook has been implemented as an example in our modules examples repository - demovieworderhooks.