Hook actionProductSearchProviderRunQueryBefore

Information

Runs an action before ProductSearchProviderInterface::RunQuery():

Required to modify an SQL query before executing it

Hook locations:

  • front office

Hook type: action

Located in:

Call of the Hook in the origin file

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