The basic format of the search form is
- Code: Select all
<form action="[-- SHOPPING_CART_URL BASE --]/productsearch.cgi?storeid=[-- STORE_ID --]" method="post">
<input type=hidden name="storeid" value="[-- STORE_ID --]">
[-- STORE.Search --]<br>
<input type="text" name="search_field" class="search" size="13">
<input type="submit" value="[-- STORE.Go --]" style="font-size: 9pt">
</form>
You could replace the line
<input type="text" name="search_field" class="search" size="13">
with a "select" statement and have your search terms listed as select options like this
- Code: Select all
<select name="search_field" size="30" >
<option selected value="Gloves">Gloves</option>
<option value="Fox Racing">Fox Racing</option>
<option value="Street and BMX Jackets">Street and BMX Jackets</option>
<option value="Boots">Boots</option>
</select>
You can add as many options as you need. The part in the value="..." is what will be submitted to the search and the part after the > will be what is displayed in the pulldown. They don't have to be the same text so you could use keywords for what is actually searched for and generic terms for the text the shopper will see.