Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

Hook displayAdminOrderMain


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

Located in

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

Parameters details

      'id_order' => (int) Order ID

Call of the Hook in the origin file

{{ renderhook('displayAdminOrderMain', {'id_order':}) }}

Example implementation

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