rahajason Posted September 5, 2023 Share Posted September 5, 2023 (edited) 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? Edited September 5, 2023 by rahajason more informations (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now