Page 1 of 1

Phoca Cart Filter collapsible categories

Posted: 08 Dec 2022, 11:15
by Drex
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:

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
When you open the the products page the filtering panel should display only:

Code: Select all

Filter by Category:
Category A
Category B
Category C
and when you click on one of them it should show the Subcategory, if clicked again show Sub-subcategory.

Cheers!

Re: Phoca Cart Filter collapsible categories

Posted: 17 Dec 2022, 02:39
by Jan
Hi, I think, for this completely new module needs to be written, e.g. based on some AJAX, when opening root category, subcategories will be loaded by AJAX :idea:

Jan