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 actionCustomerBoughtProductGridPresenterModifier

Informations

Modify customer bought product grid template data This hook allows to modify data which is about to be used in template for customer bought product grid
Hook actionCustomerBoughtProductGridPresenterModifier
Locations
BO
Type action
Origin core
Aliases
Description This hook allows to modify data which is about to be used in template for customer bought product grid

Located in

Origin File
core src/Core/Grid/Presenter/GridPresenter.php

Call of the Hook in the origin file

$this->hookDispatcher->dispatchWithParameters('action' . Container::camelize($definition->getId()) . 'GridPresenterModifier', [
    'presented_grid' => &$presentedGrid,
]);