Results 1 to 3 of 3

Searching in admin for Products Model

This is a discussion on Searching in admin for Products Model within the osCMax v1.7 General Mods Discussion forums, part of the osCmax v1.7 Forums category; Is there a way to search from the admin section in max and find the products number of a product ...

      
  1. #1
    New Member
    Join Date
    Feb 2005
    Posts
    11
    Rep Power
    0


    Default Searching in admin for Products Model

    Is there a way to search from the admin section in max and find the products number of a product or search a description item? I often have to lookup a product with the Products Model number (stock number), but since it is not in the Description, there is no way to find it in Admin?

    Any mod suggestions?

    D

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: Searching in admin for Products Model

    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Feb 2005
    Posts
    11
    Rep Power
    0


    Default RE: Searching in admin for Products Model

    THANK YOU! One quick follow up. I noticed that the code that I had to enter would not search the descriptions as well, any suggestions what to add to this so that the admin search will search descriptions also?

    Below is contribution code added.

    Also, is there a way to use this search field to search for customer's telephone number, street address or last name, first name? We have 800 smiths....

    Thanks.

    $products_query = tep_db_query("select p.products_id,
    p.products_model,
    pd.products_name,
    p.products_quantity,
    p.products_image,
    p.products_price,
    p.products_date_added,
    p.products_last_modified,
    p.products_date_available,
    p.products_status,
    p2c.categories_id from " . TABLE_PRODUCTS . "
    p, " . TABLE_PRODUCTS_DESCRIPTION . "
    pd, " . TABLE_PRODUCTS_TO_CATEGORIES . "
    p2c
    where p.products_id = pd.products_id and
    pd.language_id = '" . (int)$languages_id . "' and
    p.products_id = p2c.products_id and
    (pd.products_name like '%" . tep_db_input($search) . "%' or
    p.products_model like '%" . tep_db_input($search) . "%')
    order by pd.products_name");

Similar Threads

  1. Admin orders - Display more characters in Model# field??
    By JonCloud420 in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 10-19-2006, 09:06 PM
  2. How can I speed up the searching of products?
    By Goweb in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 11-24-2005, 02:50 PM
  3. Searching Manu Turns up 0
    By horsewhip in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 09-01-2004, 09:26 AM
  4. Removing Products Model Brackets
    By jgkiefer in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 09-23-2003, 10:33 AM
  5. Payment model problems
    By teddybear in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 08-06-2003, 01:32 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
  •