Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to look at the current version, PrestaShop 8. Read the current version of the documentation

Hook actionProductWithoutPriceGridQueryBuilderModifier

Informations

Modify product without price grid query builder This hook allows to alter Doctrine query builder for product without price grid
Hook actionProductWithoutPriceGridQueryBuilderModifier
Locations
BO
Type action
Origin core
Aliases
Description This hook allows to alter Doctrine query builder for product without price grid

Located in

Origin File
core src/Core/Grid/Data/Factory/DoctrineGridDataFactory.php

Call of the Hook in the origin file

$this->hookDispatcher->dispatchWithParameters('action' . Container::camelize($this->gridId) . 'GridQueryBuilderModifier', [
    'search_query_builder' => $searchQueryBuilder,
    'count_query_builder' => $countQueryBuilder,
    'search_criteria' => $searchCriteria,
]);