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 displayAdminOrderTop

Informations

Display new elements in the Back Office, top of Order page This hook launches modules when the Order is displayed in the Back Office
Hook displayAdminOrderTop
Locations
BO
Type display
Origin core
Aliases

Located in

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

Call of the Hook in the origin file

{% set displayAdminOrderTopHookContent = renderhook('displayAdminOrderTop', {'id_order': orderForViewing.id}) %}

Example implementation

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