I find many people having this issue – but no one seems to have a solution for this. So I try to ask again:
I want to hide products of subcategories within parent categories.
This means, when viewing a main/parent category I only want to see products if this single category and not also the products of all containing subcategories.
How I can I alter the products query in order to get this?
Might have something to do with the “include_children” parameter of the taxonomy query … ?! but how/where I can hook into the products list query?
Thanks in advance!
- The topic ‘Hide products of subcategories within main categories’ is closed to new replies.