- Posts: 16
- Thank you received: 2
Collapsible Filters logic not working
8 years 8 months ago #289563
by tgowans1
Collapsible Filters logic not working was created by tgowans1
-- HikaShop version -- : 3.3
Hi,
In Configuration -> Features -> Filters -> Collapsable filters I have the value set to "Never", however the filters are still been collapsed on mobile devices.
On line 73 of Frontend -> Views -> Product -> filters.php
always return 1 (true) regards of the setting in configuration (Never, Mobile Device or Always).
Am i missing something or is this a bug?
Thanks,
Tom
Hi,
In Configuration -> Features -> Filters -> Collapsable filters I have the value set to "Never", however the filters are still been collapsed on mobile devices.
On line 73 of Frontend -> Views -> Product -> filters.php
Code:
if($this->collapsable)
always return 1 (true) regards of the setting in configuration (Never, Mobile Device or Always).
Am i missing something or is this a bug?
Thanks,
Tom
Please Log in or Create an account to join the conversation.
8 years 8 months ago #289568
by nicolas
Replied by nicolas on topic Collapsible Filters logic not working
Hi,
I suppose that you're displaying the filters with the filters module, and in that case, the same setting is also in the settings of the module and override the setting of the HikaShop configuration.
So please check on that.
I suppose that you're displaying the filters with the filters module, and in that case, the same setting is also in the settings of the module and override the setting of the HikaShop configuration.
So please check on that.
The following user(s) said Thank You: tgowans1
Please Log in or Create an account to join the conversation.
8 years 8 months ago #289664
by tgowans1
Replied by tgowans1 on topic Collapsible Filters logic not working
Hi Nicolas,
Thanks for the reply, I had been using a modified version (from 3.1.1) of the filter module so I didn't realise the "filter_collapsable" option had been added. I've now updated the module and everything is working
Thanks,
Thanks for the reply, I had been using a modified version (from 3.1.1) of the filter module so I didn't realise the "filter_collapsable" option had been added. I've now updated the module and everything is working
Thanks,
Please Log in or Create an account to join the conversation.
Time to create page: 0.046 seconds