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

#   Accardion like filter display

##

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

Less More

- Posts: 47
- Thank you received: 3
-
-

2 years 1 month ago [\#363611](#363611) by [diacotm](/forum/user/52238-diacotm "View diacotm's Profile")  *[Accardion like filter display](/forum/31-development/908689-accardion-like-filter-display#363611 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : Firefox dev  Hi, Hope you do great, Is it possible to display each filter accordion like? For example, the title of filter display and by click on it its content will be open and display. Thanks in advance")* was created by *[diacotm](/forum/user/52238-diacotm "View diacotm's Profile")*

-- HikaShop version -- : 5.0.2
-- Joomla version -- : 5.1.2
-- PHP version -- : 8.1.13
-- Browser(s) name and version -- : Firefox dev

Hi,
Hope you do great,
Is it possible to display each filter accordion like? For example, the title of filter display and by click on it its content will be open and display.
Thanks in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50LzkwODY4OS1hY2NhcmRpb24tbGlrZS1maWx0ZXItZGlzcGxheT90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

2 years 1 month ago [\#363612](#363612) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Accardion like filter display](/forum/31-development/908689-accardion-like-filter-display#363612 "-- HikaShop version -- : 5.0.2 -- Joomla version -- : 5.1.2 -- PHP version -- : 8.1.13 -- Browser(s) name and version -- : Firefox dev  Hi, Hope you do great, Is it possible to display each filter accordion like? For example, the title of filter display and by click on it its content will be open and display. Thanks in advance")*

Hi,

It's actually quite easy, with pure HTML to have an expand/collapse system with the summary / details tags :
[ stackoverflow.com/questions/15095933/pur...-collapse-expand-div](https://stackoverflow.com/questions/15095933/pure-css-collapse-expand-div)
For example:
[ jsfiddle.net/thurstanh/emtAm/2/](https://jsfiddle.net/thurstanh/emtAm/2/)
However, the code displaying the title of the filter and the filter itself is not easily accessible to be able to change the HTML elements to use summary / details.
You'll have to make an override of the class filter:
[ www.hikashop.com/support/documentation/6...ntation.html#classes](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#classes)
in order to override the method "titlePosition" for the class of your filter type. You can base yourself on the titlePosition method of the class hikashopFilterTypeClass in the filter class file.
So, it's possible, but it requires PHP developer skills.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50LzkwODY4OS1hY2NhcmRpb24tbGlrZS1maWx0ZXItZGlzcGxheT90bXBsPW1hcmtkb3du) 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.058 seconds

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