PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 30, 2023
Let's talk code, commerce and open source.

Hook actionGetAlternativeSearchPanels


Additional search panel:

This hook allows to add an additional search panel for external providers in PrestaShop back office

Hook locations:

  • back office

Hook type: action

Located in:

This hook has an $array_return parameter set to true (module output will be set by name in an array, see explaination here).

Parameters details

        'previous_search_panels' => (array) $searchPanels,
        'bo_query' => (string) $searchedExpression,

Call of the Hook in the origin file

                'previous_search_panels' => $searchPanels,
                'bo_query' => $searchedExpression,