Collapsible Filters logic not working

  • Posts: 16
  • Thank you received: 2
  • Hikashop Business
6 years 8 months ago #289563

-- 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

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 years 8 months ago #289568

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.

The following user(s) said Thank You: tgowans1

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

  • Posts: 16
  • Thank you received: 2
  • Hikashop Business
6 years 8 months ago #289664

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,

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

Time to create page: 0.055 seconds
Powered by Kunena Forum