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

Hook displayAdminOrderMain


Admin Order Main Column:

This hook displays content in the order view page in the main column under the details view

Hook locations:

  • back office

Hook type: display

Located in:

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.