Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    521
    Plugin Contributions
    3

    Default Searching only in the titles of products

    (This can also be applied to v1.5.0 as well I suppose)

    Is there a way to wire the Basic/Quick Search of a store to only look in the Titles while having Advanced Search look into everything?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Searching only in the titles of products

    In the tpl_search_header sidebox template change:
    Code:
      $content .= zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();
    to read:
    Code:
      $content .= zen_draw_hidden_field('search_in_description', '0') . zen_hide_session_id();
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v139h Limit the search default to only search titles and not description
    By amyleew in forum General Questions
    Replies: 6
    Last Post: 31 Dec 2013, 07:22 AM
  2. Can I make the Search Sidebox Search the Titles Only ?
    By milobloom in forum General Questions
    Replies: 4
    Last Post: 30 Apr 2011, 06:20 AM
  3. coding the new products title, featured products title, category titles
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Aug 2010, 12:08 AM
  4. Only Search in Titles
    By LG_UK in forum General Questions
    Replies: 1
    Last Post: 7 May 2009, 01:03 PM
  5. searching searching for this link
    By alwinch in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Oct 2008, 06:41 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR