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

Hook filterProductContent

Information

Filter the content page product:

This hook is called just before fetching content page product

Hook locations:

  • front office

Located in:

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

Call of the Hook in the origin file

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