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 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
Description Required to return a previous state of an SQL query or/and to change a result of the SQL query after executing it

Located in

Origin File
core classes/controller/ProductListingFrontController.php

Call of the Hook in the origin file

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