[ic] How to modify existing search to display additional results

Thanh Luong interchange-users@icdevgroup.org
Tue Sep 10 14:37:01 2002


Right now i have search result for make/model/and year
together.  I would like to modify the search so when
customers search using make/model/year (eg.
Toyota/Supra/97) they will get a listing of all
products that match Toyota/Supra/97 
AND a list of all the universal products, instead of
just product that match Toyota/Supra/97. (universal
products have a value of "universal" under make,
model, and year fields) 

here is the current code for that page.

[tmp matchlimit]20[/tmp]

<table width="95%" border="0">
<tr>
<td>
<br>

<big><b>Search By: Make/Model/Year</b></big>
<br><br>

<p>
<form action="[area search]" method=post>
<input type=hidden name=mv_session_id value="[data
session id]">
[seti asearch]
fi=products
st=db
su=yes
co=yes
ml=[scratch matchlimit]
[/seti]
<input type=hidden name=mv_profile value=asearch>
<table border="0">
<tr>
<td>&nbsp;&nbsp;<b>Make</b></td>
<td>&nbsp;&nbsp;<b>Model</b></td>
<td>&nbsp;&nbsp;<b>Year</b></td>
</tr>
<tr>
<td>
<input type=text name=mv_searchspec size=20
maxlength=30>
<input type=hidden name=mv_search_field value=make>
&nbsp;&nbsp;</td>
<td>
<input type=text name=mv_searchspec size=20
maxlength=30>
<input type=hidden name=mv_search_field value=model>
&nbsp;&nbsp;</td>
<td>
<input type=text name=mv_searchspec size=20
maxlength=30>
<input type=hidden name=mv_search_field value=year>
&nbsp;&nbsp;</td>
<td>
<input type=hidden name=mv_search_page
value=results_with_options>
<input type="image" alt="Search"
src="__THEME_IMG_DIR__go.gif" border=0>
</td>
</tr>
</table>
</form>
</p>
</td>
</tr>
</table>

thanks in advance
tom





__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute