I have some categories and subcategories for each of them. And finally, some products under these subcategories.
What I want is to choose some attributes of these categories and subcategories products to show in products page as a search filter.
For example, I have these:
Categories:
computers:
laptops
weight
color
pc
motherboard
casing-box
So, for example, I want the color
, weight
, and motherboard
as filters.
In this case, if a user selects Computers
category, he can see the motherboard, color, and weight as filters available in the sidebar, but if he selects laptops
, he can only see the weight
and the color
as filter in the sidebar.
How can I do this in WordPress?
Is it possible to do this in Advanced AJAX Product Filters plugin
?
If not is there any way to do this with any plugin or any code snippets?