I would like to make some checkboxes that essentially replace the search text box. in doing so, i would control the search terms. is there a way that i could make a text box that says "apple", and if they check it, and hit search, it will search my products for any that contain the word "apple", even if they don't type in any search terms themselves?
(2003/11/06)Yes, you can add the field (this requires that the "use template formatting" option is being used):
<input type="checkbox" name="Search_search" value="apple" />
to the search form (by adding it to the template. I.e. you could put it next to the %searchbox% token or replace that token with the field.
The "Search_search" field is the field that carries the search term to the module. So this checkbox, if selected would search for "apple". Since it is possible to "concatenate" search terms with this module, you can actually have a set of checkboxes and the customer can check off which terms they want:
<input type="checkbox" name="Search_search" value="apple" /> Apple
<input type="checkbox" name="Search_search" value="orange" /> Orange
<inptu type="chedkbox" name="Seach_search" value="banana" /> Banana
Last update: 2005-01-12 08:43
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- I have the UPS Custom Integration configured so that ... (2008-07-11 10:21)
- I would like to conditionally display something for a ... (2008-07-03 17:37)
- Is there any way to configure specific global headers ... (2008-06-02 18:28)
- I pay my affiliates with gift certificates from your ... (2008-05-29 10:42)
- Is there any way to add a negative number ... (2008-05-22 13:51)
Top 10 
- 2521 views:
Adding Tokens to Evaluate Expressions - 2510 views:
Why won't you call me for technical support? I ... - 2489 views:
Is there a way to "Limit" the number of ... - 2402 views:
Are license keys valid for more than one store? ... - 2308 views:
I'm trying to enter a license key and get ... - 2270 views:
How do I install a module? - 2133 views:
How do I check for a module upgrade? - 2132 views:
How can display and change the parameters of an ... - 1960 views:
The total on my checkout pages are not correct. ... - 1843 views:
I have select and radio type attributes in my ...
















