I found the solution. Just put the hidden value shown below in the form that performs the search, ex: keywordsearchbox.ftl
<input type="hidden" name="AVAILABILITY_FILTER" value="true" /> HTH On Wed, Jan 26, 2011 at 12:54 PM, Jonatan Soto <[email protected]>wrote: > Hi, > > Is there a way to hide products that have been discontinued when doing a > keyword search? > > There are a couple of methods that constrains the search, but not for the > product itself. > > ProductSearch#ProductSearchContext.finishCategoryAndFeatureConstraints > ProductSearch#ProductSearchContext.finishKeywordConstraints > > Any ideas? > > TIA > > -- > ----- > > Jonatan Soto > -- ----- Jonatan Soto
