Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2011
    Location
    East TN
    Posts
    4
    Plugin Contributions
    0

    Default adding additional fields to default 'search' - v1.3.9h

    After two hours of plugging away with searches and reading I'm giving up and posting.

    I installed JT Websites UPC/ISBN mod earlier this evening.
    I need to have an additional field for a second model/part number.
    I'm going to use the UPC table for that, (products_upc) and
    I need the 'search' function to peer into the table.

    I populated the UPC table on two items and of course a 'search' does not produce any results.
    We have an older version of the parts list that customers may use the model number from and
    we need to parse that and return the newer model number.

    Some of the posts I've read through show having to edit more than a half dozen files.
    Then I find something that looks promising and it turns out to be an old version of ZC.

    What files should I be looking at for changing/editing?
    I guess I'm having a hard time figuring out how ZC parses the dB
    and maybe also suffering from weekend burnout on this project.


    Thanks,
    _mr

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

    Default Re: adding additional fields to default 'search' - v1.3.9h

    You would need to add your new fields to the:
    /includes/index_filters/default_filter.php

    and the file:
    /includes/pages/advanced_search_results/header_php.php

    and add the them your new field and search on the $keywords criteria ...
    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!]
    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!

  3. #3
    Join Date
    Oct 2011
    Location
    East TN
    Posts
    4
    Plugin Contributions
    0

    Default Re: adding additional fields to default 'search' - v1.3.9h

    Quote Originally Posted by Ajeh View Post
    You would need to add your new fields to the:
    /includes/index_filters/default_filter.php

    and the file:
    /includes/pages/advanced_search_results/header_php.php

    and add the them your new field and search on the $keywords criteria ...
    Thanks Linda, I'll start hunting.

    So far I've corrupted something real fine, when searching for something that is in the database it returns an 1064 error, if
    the keyword is not in the dB it goes to the advanced search page.
    *SIGH* I may just start over tonight.

    _mr

 

 

Similar Threads

  1. Adding additional fields to Customer records?
    By Ovaltine in forum Managing Customers and Orders
    Replies: 3
    Last Post: 28 Nov 2010, 11:29 PM
  2. Add additional custom fields to Search Feature?
    By KismetDesign in forum Addon Sideboxes
    Replies: 0
    Last Post: 15 Jul 2009, 03:56 AM
  3. Adding Additional Fields To A Product
    By phpmike in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 24 May 2008, 05:53 PM
  4. adding additional description fields to products
    By webgodjj in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Jun 2007, 06:05 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