All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Filtering Results with Mutiple Filters Issue

Jemes 8 Jul 2014 12:59 question, complete

I have a results page with multiple filters groups within it.

I would like to be able to filter each individual group with an OR but combine all the filters with an AND.

For Example I would like to be able to select T-Shirt, Blue, Red and M. This would show me all T-shirts that are blue or red and size medium. A user could then also select jumpers and see all T-Shirts or Jumpers that are red or blue and a size of medium.

Type:
T-shirt
Jumper
Jeans

Color:
Blue
Red
Green

Size:
S
M
L

I’ve tried the code below but when I select T-shirt and then more than one color I get no results returned?

http://pastie.org/private/qwt7i737oyw...

Any help would really helpful.

Jemes

Replies

  1. Low 8 Jul 2014 13:05

    You're looking for the Category Group parameter syntax: instead of using the category parameter, use category:groupname.

  2. Jemes 8 Jul 2014 14:05

    Perfect, many thanks.