KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: paulh on October 16, 2011, 09:43:54 am

Title: Filter by tagId
Post by: paulh on October 16, 2011, 09:43:54 am
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
Title: Re: Filter by tagId
Post by: paulh on October 17, 2011, 02:54:17 am
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.