- Posts: 1184
- Thank you received: 13
Filters disappeat after filtering
3 months 2 days ago #372342
by verzevoul
Filters disappeat after filtering was created by verzevoul
-- 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
-- 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
Please Log in or Create an account to join the conversation.
3 months 2 days ago #372344
by nicolas
Replied by nicolas on topic Filters disappeat after filtering
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.
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.
3 months 1 day ago #372355
by verzevoul
Replied by verzevoul on topic Filters disappeat after filtering
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
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.
3 months 1 day ago #372365
by nicolas
Replied by nicolas on topic Filters disappeat after filtering
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.
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.
3 months 9 hours ago #372371
by verzevoul
Replied by verzevoul on topic Filters disappeat after filtering
Great that did it yes!
So now if i enable the Dynamic display will work fine?
Thank you!
So now if i enable the Dynamic display will work fine?
Thank you!
Please Log in or Create an account to join the conversation.
3 months 6 hours ago #372372
by nicolas
Replied by nicolas on topic Filters disappeat after filtering
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.
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.296 seconds