Page 1 of 1

More Search questions

PostPosted: Fri Nov 05, 2004 11:52 pm
by Richard Ruda
We are successfully using search as follows:
( see http://www.shoplite.com/skateboard_decks.htm for example)
1. General search box at the top of every page which is set in the shopsite
back office to find very broad searches.
2a. For certain product sections we have a "Power Search" drop down box
which only searches within the relevant section.
2b. Code we assembled for this is as follows (without all the option
values):

<form method="POST" name="search_field"
action="http://www.shoplite.com/shop-bin/sc/productsearch.cgi?storeid=shopli
te">
<p align="left"><select size="1" name="search_field" style="font-family:
Arial; font-size: 8pt">
<option selected>Power Search Skateboard Decks<option value="Acme Skateboard
Decks">Acme</option>
<option value="REST OF DECKS WE WANT TO SEARCH FOR">REST OF DECKS</option>
</select><input type="submit" value="Search" name="B1" style="font-family:
Arial; font-size: 8pt"></p><center><input type="hidden" name="storeid"
value="shoplite"></form>

4. We want to add to this code (for certain searches) so that the post or
submit option value to shopsite's productsearch.cgi is sent WITH shopsite
"Advanced Search" set to on (checked) invisibly without re-setting the
static search options in the shopsite back office . We cannot get this to
work. We can see this code from shopsite:
"<input type="checkbox" name="adv_from_box" checked >" but can't incorporate
it into the code above.
Any assistance would be appreciated.
Richard