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 actionPresentProduct

Informations

Product Presenter This hook is called before a product is presented
Hook actionPresentProduct
Locations
FO
Type action
Origin core
Aliases
Description This hook is called before a product is presented

Located in

Origin File
core src/Adapter/Presenter/Product/ProductPresenter.php

Call of the Hook in the origin file

Hook::exec('actionPresentProduct',
            ['presentedProduct' => &$productLazyArray]
        )