Jump to content

Edit History

rahajason

rahajason


more informations

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">&#xE876;</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? 

 

annotely_image (1).png

rahajason

rahajason


more informations

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">&#xE876;</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 and same 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? 

 

annotely_image (1).png

rahajason

rahajason


more informations

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">&#xE876;</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)

Prestashop version : 8.0.4
Faceted search : last version 3.13.1
php version : 8.0

Has anyone had this problem? 

 

annotely_image (1).png

rahajason

rahajason


more informations

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">&#xE876;</i>
        {l s='OK' d='Shop.Theme.Actions'}
      </button>
  </div>
  {$listing.rendered_facets nofilter}
</div>
{/if}

Par contre la requête réseau retourne bien des résultats (capture)

 

Prestashop version : 8.0.4
Faceted search : last version 3.13.1
php version : 8.0

Has anyone had this problem? 

 

rahajason

rahajason


more informations

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">&#xE876;</i>
        {l s='OK' d='Shop.Theme.Actions'}
      </button>
  </div>
  {$listing.rendered_facets nofilter}
</div>
{/if}

Par contre la requête réseau retourne bien des résultats (capture)

 

Prestashop version : 8.0.4
Faceted search : last version 3.13.1
php version : 8.0

Has anyone had this problem? 

Capture d’écran, le 2023-09-05 à 14.45.47.png

rahajason

rahajason


more informations

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">&#xE876;</i>
        {l s='OK' d='Shop.Theme.Actions'}
      </button>
  </div>
  {$listing.rendered_facets nofilter}
</div>
{/if}

 

Prestashop version : 8.0.4
Faceted search : last version 3.13.1
php version : 8.0

Has anyone had this problem? 

rahajason

rahajason


more informations

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.
 


{* 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">&#xE876;</i>
        {l s='OK' d='Shop.Theme.Actions'}
      </button>
  </div>
  {$listing.rendered_facets nofilter}
</div>
{/if}

 

Prestashop version : 8.0.4
Faceted search : last version 3.13.1
php version : 8.0

Has anyone had this problem? 

rahajason

rahajason

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.

 


{* 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">&#xE876;</i>
        {l s='OK' d='Shop.Theme.Actions'}
      </button>
  </div>
  {$listing.rendered_facets nofilter}
</div>
{/if}



Has anyone had this problem? 

×
×
  • Create New...