- Priority: 0
- Status: Waiting on customer
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 05.05.26, 19:05
- Opened by: José Antonio Huerta Jiménez
Ticket #26497 - Error Module Faceted Search (Busqueda de facetas)
When I try to add a new template, I get the following error:
Force legacy layout to load legacy assets like AdminController::setMedia does
$this→getLegacyControllerContext()→loadLegacyMedia();
Only after can we add additional plugins (to be sure jquery is loaded before the plugins)
$this->getLegacyControllerContext()->addJqueryPlugin(['autocomplete', 'fancybox', 'tablefilter'])
if (method_exists($module→getInstance(), ‘getContent’)) { $moduleContent = $module→getInstance()→getContent();
} else {
Comments
Hi, José Antonio Huerta Jiménez.
But the Faceted Search module in not our. That's native Prestashop module.
You can report the issue here https://github.com/PrestaShop/ps_facetedsearch/issues
Ok Thanks
You are welcome!