Warning: You are browsing the documentation for PrestaShop 8, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page
Hook | displayAdminOrderMain |
---|---|
Locations | BO |
Type | display |
Origin | core |
Aliases | |
Description | This hook displays content in the order view page in the main column under the details view |
Origin | File |
---|---|
core | src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/view.html.twig |
<?php
array(
'id_order' => (int) Order ID
);
{{ renderhook('displayAdminOrderMain', {'id_order': orderForViewing.id}) }}
This hook has been implemented as an example in our modules examples repository - demovieworderhooks.