Hi,
I'm experiencing a bug on the faceted search module, every time I check a filter the corresponding products are displayed but the filter module disappears, I saw a ticket here: https://github.com/PrestaShop/PrestaShop/issues/22488 but I did not find my happiness, I updated the module and the same bug remains.
After a few debugs, I noticed that the $listing variable in the themes > classic > modules > ps_facetedsearch > ps_facetedsearch.tpl folder is after the ajax request.
{* themes > classic > modules > ps_facetedsearch > ps_facetedsearch.tpl *} {if $listing.rendered_facets} <== the listing variable here is empty after ajax query <div id="search_filters_wrapper" class="hidden-sm-down"> <div id="search_filter_controls" class="hidden-md-up"> <span id="_mobile_search_filters_clear_all"></span> <button class="btn btn-secondary ok"> <i class="material-icons rtl-no-flip"></i> {l s='OK' d='Shop.Theme.Actions'} </button> </div> {$listing.rendered_facets nofilter} </div> {/if}
On the other hand, the network query does return results (capture)
LAST UPDATE :
============
On a new install, same version with classic theme, the module works correctly, I copied my custom theme and used it in the new install, the module continues to work, so the bu doesn't come from the theme.
Prestashop version : 8.0.4
Faceted search : last version 3.13.1
php version : 8.0
Has anyone had this problem?