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 displayAdminProductsExtra


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

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.