Phoca Cart Filter collapsible categories
Posted: 08 Dec 2022, 11:15
Hey,
Does anybody know how the code should be modified in order to make the categories and subcategories in the filtering panel collapsible?
For example if we have this structure:
When you open the the products page the filtering panel should display only:
and when you click on one of them it should show the Subcategory, if clicked again show Sub-subcategory.
Cheers!
Does anybody know how the code should be modified in order to make the categories and subcategories in the filtering panel collapsible?
For example if we have this structure:
Code: Select all
Filter by Category:
Category A
Subcategory
Sub-subcategory
Sub-subcategory
Sub-subcategory
Category B
Subcategory
Sub-subcategory
Sub-subcategory
Sub-subcategory
Category C
Subcategory
Sub-subcategory
Sub-subcategory
Sub-subcategory
Code: Select all
Filter by Category:
Category A
Category B
Category C
Cheers!