Answer the question
In order to leave comments, you need to log in
How to filter categories by Woocommerce product attributes?
How is it possible to implement the display of categories of goods (by the property / attribute of the goods, in this case "manufacturer"), and not the goods themselves. The reason for this implementation is in the twisted catalog structure and a HUGE number of colors / shades of one product.
The hierarchy is as follows:
Category
- subcategory
--subsubcategory (this is the product, but it is like a category and it has many products with different colors from 5 and can reach up to 500 shades, therefore this is how the catalog structure is implemented)
---products of shades (with the attribute of the manufacturer)
So, the standard filter by attribute, and all other paid ones, display all products with the selected attribute, but you need ONLY THE PRODUCT CATEGORY -> SUBCATEGORY in which there is a product with the attribute /property
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question