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

Hook actionProductSearchProviderRunQueryBefore

Informations

Runs an action before ProductSearchProviderInterface::RunQuery() Required to modify an SQL query before executing it
Hook actionProductSearchProviderRunQueryBefore
Locations
FO
Type action
Origin core
Aliases

Located in

Origin File
core classes/controller/ProductListingFrontController.php

Call of the Hook in the origin file

Hook::exec('actionProductSearchProviderRunQueryBefore', [
            'query' => $query,
        ])