[Skip to main content](#vessel-content)

#   Collapsible Filters logic not working

##

- **[tgowans1](/forum/user/37490-tgowans1 "View tgowans1's Profile")**
- [![tgowans1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37490-tgowans1 "View tgowans1's Profile") Topic Author
- [ Offline](/forum/user/37490-tgowans1)

Less More

- Posts: 16
- Thank you received: 2
-
-

8 years 8 months ago [\#289563](#289563) by [tgowans1](/forum/user/37490-tgowans1 "View tgowans1's Profile")  *[Collapsible Filters logic not working](/forum/45-filters-search/894109-collapsible-filters-logic-not-working#289563 "-- HikaShop version -- : 3.3  Hi,  In Configuration -&gt; Features -&gt; Filters -&gt; Collapsable filters I have the value set to &quot;Never&quot;, however the filters are still been collapsed on mobile devices.  On line 73 of Frontend -&gt; Views -&gt; Product -&gt; 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")* was created by *[tgowans1](/forum/user/37490-tgowans1 "View tgowans1's Profile")*

-- HikaShop version -- : 3.3

Hi,

In Configuration -&gt; Features -&gt; Filters -&gt; Collapsable filters I have the value set to "Never", however the filters are still been collapsed on mobile devices.

On line 73 of Frontend -&gt; Views -&gt; Product -&gt; filters.php Code:

if($this-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NDEwOS1jb2xsYXBzaWJsZS1maWx0ZXJzLWxvZ2ljLW5vdC13b3JraW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

8 years 8 months ago [\#289568](#289568) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Collapsible Filters logic not working](/forum/45-filters-search/894109-collapsible-filters-logic-not-working#289568 "-- HikaShop version -- : 3.3  Hi,  In Configuration -&gt; Features -&gt; Filters -&gt; Collapsable filters I have the value set to &quot;Never&quot;, however the filters are still been collapsed on mobile devices.  On line 73 of Frontend -&gt; Views -&gt; Product -&gt; 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,

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](/forum/user/37490-tgowans1 "View tgowans1's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NDEwOS1jb2xsYXBzaWJsZS1maWx0ZXJzLWxvZ2ljLW5vdC13b3JraW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tgowans1](/forum/user/37490-tgowans1 "View tgowans1's Profile")**
- [![tgowans1's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37490-tgowans1 "View tgowans1's Profile") Topic Author
- [ Offline](/forum/user/37490-tgowans1)

Less More

- Posts: 16
- Thank you received: 2
-
-

8 years 8 months ago [\#289664](#289664) by [tgowans1](/forum/user/37490-tgowans1 "View tgowans1's Profile")  Replied by *[tgowans1](/forum/user/37490-tgowans1 "View tgowans1's Profile")* on topic *[Collapsible Filters logic not working](/forum/45-filters-search/894109-collapsible-filters-logic-not-working#289664 "-- HikaShop version -- : 3.3  Hi,  In Configuration -&gt; Features -&gt; Filters -&gt; Collapsable filters I have the value set to &quot;Never&quot;, however the filters are still been collapsed on mobile devices.  On line 73 of Frontend -&gt; Views -&gt; Product -&gt; 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 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 ![:)](/media/kunena/emoticons/3.png ":)")

Thanks,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NDEwOS1jb2xsYXBzaWJsZS1maWx0ZXJzLWxvZ2ljLW5vdC13b3JraW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.067 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
