1and1 Help Centre Categories

print article

How can I prevent certain items from showing up in the search?

First create an attribute for the item in question. You can name it "no_search"
Give it a value of "1" (Follow FAQ: How to create attributes for item rules. Now update product_search.shopscript file (eShop -> Shop design) as follows:


[....]
############## HTML output
<TABLE border=0>
<tr>
<td colspan=2>
<font face="$global_fontface" color="$global_fontcolor_dark" size="$global_text_size">
<% INCLUDE_VAR($text_search_found_items) %><br>
 
</font>
</td>
</tr>
<% SEARCH_ITEMLOOP %>

<% IF (!$no_search) %>
<% TEMPLATE %>
<% END_IF %>

<% END_SEARCH_ITEMLOOP %>
</TABLE>
<% END_IF %>
[....]