This question has been flagged
1 Reply
10066 Views

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?

Avatar
Discard
Author Best Answer

Sorry, I forgot the '!' domain operator , I use domain="['!',('categ_id','child_of',[5,25,37])]".

I've to read the doc before posting.

Avatar
Discard