Hi everyone. I use the predictive search module in Busy Kitchen and by default it pulls from the product description. This is a major issue, and it shows too many results that are not relevant.
I've been stuck for days trying to get this predictive search module to not pull results from product descriptions.
I edited busy_kitchen/customer/main/search_result.tpl
PHP Code:
['posted_data[by_shortdescr]', false],
['posted_data[by_fulldescr]', false],
PHP Code:
<td width="5"><input type="checkbox" id="posted_data_by_shortdescr" name="posted_data[by_shortdescr]"{if $search_prefilled eq "" or $search_prefilled.by_shortdescr} disabled="disabled"{/if} /></td>
<td nowrap="nowrap"><label for="posted_data_by_shortdescr">{$lng.lbl_short_description}</label> </td>
<td width="5"><input type="checkbox" id="posted_data_by_fulldescr" name="posted_data[by_fulldescr]"{if $search_prefilled eq "" or $search_prefilled.by_fulldescr} disabled="disabled"{/if} /></td>
<td nowrap="nowrap"><label for="posted_data_by_fulldescr">{$lng.lbl_det_description}</label> </td>
I also edited busy_kitchen/customer/search.tpl
PHP Code:
<input type="hidden" name="posted_data[by_descr]" value="N" />
This is probably way easier than I am making it. I am sort of a noob when it comes to php so I was hoping one of you awesome individuals could help me!
