Issue in spree narrow by feature

8 views
Skip to first unread message

sris...@gmail.com

unread,
Nov 18, 2014, 7:16:20 AM11/18/14
to ruby-s...@googlegroups.com

Am using "narrow by feature" in spree using sunspot solr. Here displaying option type with option values with check box for filtering products.

I need to use multiple selection , selecting more than one different option types.

In coding , selected option types & option values are passing in one array, so while selecting more than one option value, filtering is not happening properly.

Example:
params: "option_type"=>["Color%3A%40%40%40214", "Style%3A%40%40%40627"], "option_value"=>["Blue%40%40%40214", "Waist+lgth%40%40%40627"]

here i am selecting "narrow by feature" color(option type) - Blue(8) (option values). totally 8 products are displaying,
while multi selecting Style(option type) - Waist lgth(1) (option values).

Issue:
here only one product should display , but 9 products are displaying.




Reply all
Reply to author
Forward
0 new messages