i have a solution for everybody that have more filters and want to close all other opened filter tabs

Phoca Cart - complex e-commerce extension
erapaglia
Phoca Member
Phoca Member
Posts: 18
Joined: 31 Mar 2022, 18:26

i have a solution for everybody that have more filters and want to close all other opened filter tabs

Post by erapaglia »

i have a solution for everybody that have more filters and want to close all other filter tabs if one filter tab is opened

on template index.php insert this jquery script on the footer and the filter tabs are closed if you open a different filter tab

<script>
$(".panel-collapse").click(function() {

$(".panel-collapse.collapse").removeClass("show");

return false;
});

</script>

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: i have a solution for everybody that have more filters and want to close all other opened filter tabs

Post by Jan »

Hi, thank you for your info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply