WooCommerce - Create list with Subcategories only from current Category
Budget: $10 – $30 USD
Hi.
I would like as the title say, to be created a function listing the Subcategories and if exist subcategories of subcategories of the current categories that I'm currently viewing.
Example:
Let's say that I have the following Categories:
Office - Schools - Protection
If I'm in the Office Category I would have:
Category: Office
Subcategories: Tables - Chairs - Cabinets
Table subcategories: Round - Square
Chairs subcategories: Operative - Multipurpose - Directionals
So I would have a list, like a dropdown menu with all subcategories and the child-categories like in the image below. The main category that they all belong would have a link with text "All".
If nedded I can provide my "not so good" working example and the css.
I would like as the title say, to be created a function listing the Subcategories and if exist subcategories of subcategories of the current categories that I'm currently viewing.
Example:
Let's say that I have the following Categories:
Office - Schools - Protection
If I'm in the Office Category I would have:
Category: Office
Subcategories: Tables - Chairs - Cabinets
Table subcategories: Round - Square
Chairs subcategories: Operative - Multipurpose - Directionals
So I would have a list, like a dropdown menu with all subcategories and the child-categories like in the image below. The main category that they all belong would have a link with text "All".
If nedded I can provide my "not so good" working example and the css.