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 actionProductSearchProviderRunQueryAfter

Informations

Runs an action after ProductSearchProviderInterface::RunQuery() Required to return a previous state of an SQL query or/and to change a result of the SQL query after executing it
Hook actionProductSearchProviderRunQueryAfter
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('actionProductSearchProviderRunQueryAfter', [
            'query' => $query,
            'result' => $result,
        ])