Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
11663 Visualizações

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
Cancelar
Autor Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
fev. 24
13350
1
mar. 15
5199
2
mar. 24
1814
1
out. 25
185
3
set. 25
658