Multiple values for the same metafield?

TMHouse
Visitor
2 0 9

I am trying to get multiple filter values on the same object. Products on our store might be any of the following colours: White, Blue, Black, Red or Green. A product may have no colours, one colour, or multiple colours in any variation (E.G. a product might be white, blue and green).

I want customers to be able to filter to, say, all products which are both red and green (I'd also like them be able to filter any products which are not any of "white", "blue" or "black", thus showing all products which are red, green, both or neither but no products which are any other colours). 

Can I assign multiple values to the same metafield? How so? If not, how can I let users search this way?

Replies 3 (3)

weirdrealms
Tourist
4 0 2

Does anyone have a solution for this?

gejmer
Visitor
2 0 1

This is the exact same challenge I'm facing.

 

Someone must know how to assign multiple values to the same metafield? If not, how can I let users search this way?

 

Thanks,

Jimmy

hc100
Shopify Partner
1 0 0

same here. looking for a solution