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

Hook displayAdminProductsExtra

Informations

Display new elements in back office product page, Extra tab This hook launches modules when the back office product page is displayed
Hook displayAdminProductsExtra
Locations
BO
Type display
Origin core
Aliases

Located in

Origin File
core src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/product.html.twig

Call of the Hook in the origin file

{% set hooks = renderhooksarray('displayAdminProductsExtra', { 'id_product': id_product }) %}

Example implementation

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