I want to filter on ALL product that are in a category that are not a child of a category.
example : I have 6 categories: A , A/B, A/B/C, A/D, A/D/E. I want all product not in A/B category and sub-categories(like A/B/C). In clear I want A, A/D and A/D/E.
In this example I can list all the categories I want but in fact I've too much categories to list them.
How can I do?