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

Hook displayAdminOrderTabContent

Informations

Display new elements in the Back Office, tab contents on order
Hook displayAdminOrderTabContent
Locations
BO
Type display
Origin core
Aliases

Located in

Origin File
core src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/details.html.twig

Call of the Hook in the origin file

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

Example implementation

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