Miva Merchant 4 Module FAQs » Search Manager (BROK_SEARCH)
What's happening is that the second search is searching for both of the terms. There are several ways to fix this. One is to change the token for the text search field to %searchbox1% (i.e. add the 1 to it). This will cause the term from the drop down to not populate that field.
I have also just modified the module to add a token %begin_searchlist#%...%end_searchlist%. Like the
%searchbox#|xx|% token, this lets you number the searchlists so only their value will show up in them (i.e. after the search is submitted, the term the customers selected from the list will dispalys as selected). So you could use the regular %searchbox|xx|% token to display your search field and this token to display the search lists. Then no fields from the select lists would be displayed in the search box.
For example:
%begin_searchlist1%|train|ship|rocket|%end_searchlist%
%begin_searchlist2%type|toy|grey|fun|%end_searchlist%
This would display two separate select lists.
Most Recent FAQ Entries:
Top 10
Malfunctioning Search Field Using %searchbox|xx|% and Search List Using %begin_searchlist%...%
I have a search field using the %searchbox|xx|% token and a search list using %begin_searchlist%...%end_searchlist% but after the customer searches for a term selected from the drop down list it appears in the search box and then if they select another term from the list the search doesn't work.
What's happening is that the second search is searching for both of the terms. There are several ways to fix this. One is to change the token for the text search field to %searchbox1% (i.e. add the 1 to it). This will cause the term from the drop down to not populate that field.
I have also just modified the module to add a token %begin_searchlist#%...%end_searchlist%. Like the
%searchbox#|xx|% token, this lets you number the searchlists so only their value will show up in them (i.e. after the search is submitted, the term the customers selected from the list will dispalys as selected). So you could use the regular %searchbox|xx|% token to display your search field and this token to display the search lists. Then no fields from the select lists would be displayed in the search box.
For example:
%begin_searchlist1%|train|ship|rocket|%end_searchlist%
%begin_searchlist2%type|toy|grey|fun|%end_searchlist%
This would display two separate select lists.
Last update: 2003-07-31 00:45
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- Alternate ways to display the product and attribute data ... (2008-09-02 18:40)
- Adding both "Add All to Basket" and "Add to ... (2008-09-01 09:46)
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
Top 10 
- 2921 views:
Adding Tokens to Evaluate Expressions - 2852 views:
Is there a way to "Limit" the number of ... - 2775 views:
Why won't you call me for technical support? I ... - 2665 views:
Are license keys valid for more than one store? ... - 2566 views:
I'm trying to enter a license key and get ... - 2555 views:
How do I install a module? - 2397 views:
How do I check for a module upgrade? - 2363 views:
How can display and change the parameters of an ... - 2210 views:
The total on my checkout pages are not correct. ... - 2011 views:
I have select and radio type attributes in my ...
















