Dynamic filters forgetting the available filter options

  • Posts: 41
  • Thank you received: 2
  • Hikashop Business
3 weeks 16 hours ago #367929

-- HikaShop version -- : 5.0.2
-- Joomla version -- : 4.4.2
-- PHP version -- : 8.2
-- Browser(s) name and version -- : Chrome/Opera GX latest versions

Good day,

We have an interesting problem using dynamic filters. Let me tell how the problem came.

When you use the "Termékek keresése" filter on the top of the page, type "abn" then press enter. Then, you'll see filters above the products. Select "ABN" for the "Márka" filter, wait a second for the filtering and then under "Anyag", select "textil" - there would be two other options than textil, one is minden (all), and plüss is the other. But then, if you open the "Anyag" filter after the filtering is done, you'll see three more options than before; gumi, műanyag and poliészter - and after selecting one of them, they will return no results. The interesting thing is that if we click on "Szűrés törlése" (Clear filters) - and reapplying "ABN" for Márka, and "textil" for Anyag, it starts to work as expected.

Could you help us with that? Also, it has a lot of modifications on the front and backend as well, so it would need some time to check all functions after an upgrade to the latest version. - Hope that's not the root of the problem

Thank you,
FRIK

Please Log in or Create an account to join the conversation.

  • Posts: 84199
  • Thank you received: 13659
  • MODERATOR
3 weeks 12 hours ago #367930

Hi,

The main modification I recall on dynamic filters was the

Filters with their "dynamic display" setting turned on will now keep their values once they are used until the filters are reset.

in HikaShop 4.7.4:
www.hikashop.com/support/documentation/5...ashop-changelog.html
Since you already have the modifications for this included in the 5.0.2, updating to the latest version shouldn't change anything.
No one else reported a similar issue either, and I've never seen that kind of behavior.
So it could well be due to customization. That's hard to say.
This will require looking deeper into it. We'll need a backend access and a FTP access.
Could you provide these via our contact form ?
www.hikashop.com/support/contact-us.html

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 2
  • Hikashop Business
2 weeks 6 days ago #367934

Hi nicolas,

Thank you in advance. I sent the accesses through email.
FRIK

Please Log in or Create an account to join the conversation.

  • Posts: 84199
  • Thank you received: 13659
  • MODERATOR
2 weeks 6 days ago #367952

Hi,

From what I understand, the issue is a timing issue with the caching on dynamic filter data.
However, I have a hard time pin pointing precisely what the solution could be.
So, I recommend you to go in your PHPMyAdmin and add an entry with the namekey "filter_dynamic_caching" and the value "0" in the hikashop_config table.
This will deactivate the caching on the dynamic filter data. On your website, it won't impact the rendering as you only have a couple thousand products but it will prevent the timing issue with the caching.

Please Log in or Create an account to join the conversation.

  • Posts: 41
  • Thank you received: 2
  • Hikashop Business
2 weeks 5 days ago #367959

Hi Nicolas,

Thank you very much, adding the entry to the config table solved the problem. Now it works perfectly!

Regards,
FRIK

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum