Warning: You are browsing the documentation for PrestaShop 8, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page
Hook | displayAdminProductsExtra |
---|---|
Locations | BO |
Type | display |
Origin | core |
Aliases | |
Description | This hook launches modules when the back office product page is displayed |
Origin | File |
---|---|
core | src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/product.html.twig |
{% set hooks = renderhooksarray('displayAdminProductsExtra', { 'id_product': id_product }) %}
This hook has been implemented as an example in our modules examples repository - demoproductform.