Installs: 830

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 7

Open Issues: 1


2.0.0 2021-08-25 09:41 UTC

This package is auto-updated.

Last update: 2022-08-26 11:58:23 UTC


Add search forms to filter customers, orders and products



  • Copy the module into <thelia_root>/local/modules/ directory and be sure that the name of the module is BoSearch.
  • Activate it in your Thelia administration panel


Add it in your main Thelia composer.json file

composer require thelia/bo-search-module:~1.0


Once activated, inputs will appear on the top of the customer and the order list pages. Use them to filter displayed results. You will find the product search page in the back-office menu "Search products".


Two hooks are added by this module, allowing you to extend forms.

  • bosearch.customer-search.form: between the last customer's form input and the submit button.
  • bosearch.order-search.form: between the last order's form input and the submit button.

Then extend the forms in your extension module's EventListener class:

TheliaEvents::FORM_AFTER_BUILD . '.' . \BoSearch\Form\OrderSearchForm::ORDER_FORM_NAME => ['yourFunction', 128],
TheliaEvents::FORM_AFTER_BUILD . '.' . \BoSearch\Form\CustomerSearchForm::CUSTOMER_FORM_NAME => ['yourFunction', 128]