Forums / General Questions / turning off search in descriptions

turning off search in descriptions

Locked

Started by magicpants on 14 Jun 2006, 12:15 AM · Views: 1,190

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Jun 2006, 12:15 AM
#1
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

turning off search in descriptions

I know this must be super simple but I searched the forums and couldn't find any help on this...

how do i turn off the "search in descriptions" for the search feature? I want it to just search the titles. We're using the search in header sidebox.

Currently using ZEN CART v. 1.3.6

14 Jun 2006, 5:24 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: turning off search in descriptions

I do not think that there is a switch for this...you could search the code files for whee this is called out and maybe alter it there.

Admin > developers tools > search for the term and in catalog files

Zen-Venom Get Bitten

18 Jun 2006, 1:09 AM
#3
magicpants avatar

magicpants

Zen Follower

Join Date:
Aug 2005
Posts:
314
Plugin Contributions:
0

Re: turning off search in descriptions

Okay! This is the kind of coding I like!

In tpl_search_header.php, find this:

$content .= zen_draw_hidden_field('search_in_description', '1');

Change to this:

$content .= zen_draw_hidden_field('search_in_description', '0');

Currently using ZEN CART v. 1.3.6