• Welcome to KonaKart Community Forum. Please login or sign up.
 

Filter by tagId

Started by paulh, October 16, 2011, 09:43:54 am

Previous topic - Next topic

paulh

Is it possible to add functionality where I can pass FilterProdByTags.do?tagId=2&tagId=3&tagId=4 so u could use checkbox based filtering on facets... this would also enable sliders for ranges on prices assuming u registered the price of a product as a tagt...

This would be a subtle change in the present code of reading getParameterValues() instead of getParameter()

Otherise is the code available to customize this?

Thanks

paulh

Looks like all I need to do is loop around

kkAppEng.getProductMgr().filterCurrentProdsByTags(tagId);

in FilterProductByTagsAction

and read getParameterValues and I will be able to set multiple facet values at once

Is there a way of getting the distinct list of prices returned by a search? so u could make a facet on price? rather than maintain this as a tag which wouldnt work for multiple currencies.
NOT using Solr by the way.