Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default 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.ph...eyword=pc+case

    without search in description

    http://lowpricedhardware.ie/index.ph...eyword=pc+case

    thanks.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default 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.

  3. #3
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default 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.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: turn off search in description for normal search

    Quote Originally Posted by timdwyer42 View Post
    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.

  5. #5
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default Re: turn off search in description for normal search

    Yep both. And ok, thank you.

 

 

Similar Threads

  1. v151 Turn off advanced search in sidebox?
    By doooomed in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Feb 2013, 04:27 PM
  2. Remove (not turn off) Search Header Field
    By DBB1 in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 23 Dec 2011, 10:11 PM
  3. turn off entire search bar at top of page
    By secondnature in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Mar 2011, 10:53 AM
  4. Replies: 6
    Last Post: 2 Oct 2006, 02:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg