Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2015
    Location
    United Kingdom
    Posts
    12
    Plugin Contributions
    0

    Default Can I enhance how the search from the header works?

    Looking for a way to set Search header to look in products_model if the search text starts with a number anyone have any ideas on this been looking over /pages/advanced_search_result header.php but no look not sure if this is the right place to look to add this sort of info in any help would be welcome.

  2. #2
    Join Date
    Jan 2004
    Posts
    65,335
    Blog Entries
    7
    Plugin Contributions
    229

    Default Re: Can I enhance how the search from the header works?

    Strictly speaking it already does search products_model:
    Code:
    OR p.products_model
    LIKE '%:keywords%'
    But, if you want to customize it, you can alter how it builds $where_str in advanced_search_result/header_php.php
    .

    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.

 

 

Similar Threads

  1. v151 How to disable the Categories menu from above the header and show them in the header
    By kk2956 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Jun 2014, 11:14 PM
  2. how can I remove the logo "Computer store the.." from the header and put my own.
    By fkalanda in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jul 2013, 09:23 PM
  3. How can I change the font color of the links in the lower part fo the header
    By Marlake in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Jul 2011, 06:00 PM
  4. How to add the search to the main nav in the header?
    By melindaf in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Sep 2009, 11:09 AM
  5. How can I move my search box from the header to a sidebox?
    By stormysar in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Jul 2009, 01:53 AM

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