Skip to Content
मेन्यू
This question has been flagged
1 Reply
11427 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
Related Posts Replies Views Activity
1
फ़र॰ 24
12825
1
मार्च 15
4991
2
मार्च 24
1429
0
जुल॰ 25
825
1
मई 25
1553