[ic] Small Search Box: How to ignore a field in products.txt?

L C iluvsnm2 at yahoo.com
Mon Aug 13 12:12:36 EDT 2007


In products.txt, under prod_group, I have a group of
items which I've labeled "database only."

I do not want these items showing up in any search
results.

What do I need to add to the code below
(small_search_box component) to have the search ignore
any items defined as 'prod_group=database only'.  I'm
such a nubie so I kindly ask you to be specific!  I've
tried so many different things to no avail.

Thanks and Blessings,
Lisa

----
      <form action="[area search]" method=post>
	  <input type=hidden name=mv_session_id value="[data
session id]">
          [set asearch]su=yes/fi=products[/set]
      <table border="0" width="99%">
      <tr> 
	    <td COLSPAN=2 align="left">
	      <INPUT TYPE=hidden NAME=mv_profile
value=asearch>
	      <INPUT MAXLENGTH=30 NAME=mv_searchspec
type=text size=10>
	      <INPUT TYPE=hidden NAME=mv_search_field
VALUE="sku">
	      <INPUT TYPE=hidden NAME=mv_search_field
VALUE="description">
         <INPUT TYPE=hidden NAME=mv_search_field
VALUE="featured">	      
	      <INPUT TYPE=hidden NAME=mv_search_field
VALUE="comment">
         <INPUT TYPE=hidden NAME=mv_search_field
VALUE="sub_category">
	      <input type="image" alt="[L]Search Go[/L]"
width="45" border="0" src="__THEME_IMG_DIR__go.gif">
        </td></tr>
    <tr><td COLSPAN=2>

	      <a href="[area advancedsearch]"
class="barlink">[L]Advanced Search[/L]</a>
	    </td>
      </tr>
      </table>
      </form>

----
  


       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 


More information about the interchange-users mailing list