Filters disappeat after filtering

  • Posts: 1166
  • Thank you received: 13
  • Hikashop Business
4 days 13 hours ago #372342

-- HikaShop version -- : 6.5.0
-- Joomla version -- : 6.1.1

Hi!

When i click a filter, the system filters the products accordingly and then all the filters disappear from the filter module and it only shows the search filter (search filter is not added in the filter module btw).
I can't figure out what's happening.

Thank you

Attachments:

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

  • Posts: 85786
  • Thank you received: 14079
  • MODERATOR
4 days 9 hours ago #372344

Hello,

This is the "Dynamic display" option on your filters. When it is set to Yes, HikaShop recalculates the filters after each selection so that each filter only shows the values that still match the currently filtered products, and a filter that has no matching value left is hidden. When one selection narrows the results down a lot, this can hide all the other filters at once.

Please edit your filters (Display > Filters in the HikaShop menu), set "Dynamic display" to No on each of them, and try again. The filters will then stay visible after you filter.

The following user(s) said Thank You: verzevoul

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

  • Posts: 1166
  • Thank you received: 13
  • Hikashop Business
3 days 16 hours ago #372355

Hi,

i disabled dynamic display but the same thing is happening.
I should be able to reset the filters but they still hidden.

Thank you

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

  • Posts: 85786
  • Thank you received: 14079
  • MODERATOR
3 days 9 hours ago #372365

Hello,

If it is not the "Dynamic display" setting, the cause is the AJAX refresh of the filters: when you click "Filter", HikaShop reloads each filter block in the background, but on your SEF setup that background request returns the full page instead of only the filter block. The script then puts the wrong block (your search box) in place of the Material / Volume / Family filters, so only the search filter stays visible.

A normal full page reload of the same filtered URL shows all the filters correctly, so your products and your filters are fine, only the AJAX refresh path is affected.

I've made a patch on our end which should help. Download the install package of HikaShop on our website and install it on yours in order to get the patch. It should then work properly.

The following user(s) said Thank You: verzevoul

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

  • Posts: 1166
  • Thank you received: 13
  • Hikashop Business
2 days 16 hours ago #372371

Great that did it yes!
So now if i enable the Dynamic display will work fine?

Thank you!

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

  • Posts: 85786
  • Thank you received: 14079
  • MODERATOR
2 days 13 hours ago #372372

Hi,

It should not change anything. The issue I fixed is not linked to the dynamic display.
I thought it was based on what you said in your first message.

The following user(s) said Thank You: verzevoul

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

Time to create page: 0.065 seconds
Powered by Kunena Forum