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 filterProductContent

Informations

Filter the content page product This hook is called just before fetching content page product
Hook filterProductContent
Locations
FO
Type
Origin core
Aliases
Description This hook is called just before fetching content page product

This hook has a $chain parameter set to true (hook will chain the return of hook module, see explaination here).

Located in

Origin File
core controllers/front/ProductController.php

Call of the Hook in the origin file

Hook::exec(
                'filterProductContent',
                ['object' => $product_for_template],
                null,
                false,
                true,
                false,
                null,
                true
            )