Multiple Range Filter

3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 31, 2014   (RSS)

By Perchpole - March 31, 2014

I am trying to put together a filter for a range of products. Each item in the store can be assigned to one or more "ranges" by means of a multi-select menu in the editor. (value=num, label=title)

When a person views a product I want to list of all the other products which are assigned to the same ranges. This would be easy if a product were limited to a single range - but multiple ranges is making my head hurt!

Here are the products and the assignments:

ProductA = range2
ProductB = range4
ProductC = range1,range2
ProductD = range1,range3
ProductE = range2, range4

ProductC is in both range1 and range2 So, if the customer is looking at ProductC, the list of other products should be:

ProductA (in range2)
ProductD (in range1)
ProductE (in range2)

Any help would be most appreciated!

:0)

Perchpole

By Perchpole - March 31, 2014

Chris -

This is spot on! Thanks.

:0)

Perch