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

Learn how to update to the latest version.

Hook actionPresentProductListing

Informations

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

Located in

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

Call of the Hook in the origin file

Hook::exec('actionPresentProductListing',
            ['presentedProduct' => &$productListingLazyArray]
        )