Forums / General Questions / turn off search in description for normal search

turn off search in description for normal search

Locked

Started by timdwyer42 on 30 Nov 2009, 12:12 AM · Views: 1,692

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 Nov 2009, 12:12 AM
#1
timdwyer42 avatar

timdwyer42

Zen Follower

Join Date:
Apr 2009
Posts:
149
Plugin Contributions:
0

turn off search in description for normal search

Hi is there a setting to turn off search in description for normal search ( not advanced search )

from my own testing search results are far more accurate without search in description

example search "pc case"

with search in description

http://lowpricedhardware.ie/index.php?main_page=advanced_search_result&search_in_description=1&keyword=pc+case

without search in description

http://lowpricedhardware.ie/index.php?main_page=advanced_search_result&search_in_description=0&keyword=pc+case

thanks.

30 Nov 2009, 2:12 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: turn off search in description for normal search

Please describe what you mean by "normal search".

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Nov 2009, 9:51 AM
#3
timdwyer42 avatar

timdwyer42

Zen Follower

Join Date:
Apr 2009
Posts:
149
Plugin Contributions:
0

Re: turn off search in description for normal search

well I mean in the regular search box, if someone just puts in a term and clicks search. By default it seems to search in describtion.

30 Nov 2009, 4:55 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: turn off search in description for normal search

timdwyer42:

well I mean in the regular search box
So, you're referring to something in the header of your website? Or in a sidebox?

You can change the default of "1" to "0" by manually editing the value for search_in_description in the appropriate sidebox template file.

The Developers Toolkit is handy for that sort of thing:
https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Nov 2009, 10:09 PM
#5
timdwyer42 avatar

timdwyer42

Zen Follower

Join Date:
Apr 2009
Posts:
149
Plugin Contributions:
0

Re: turn off search in description for normal search

Yep both. And ok, thank you.