Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    238
    Plugin Contributions
    0

    Default search option or list by product model instead of id number in featured products?

    im trying to add featured products and specials by its taking forever because stuff is listed in alphabetical order by the title of the product...is there anyway to list by model number or a way to have a search box in the admin section?

    i dont understand why its not listed by model number to begin with in the admin section....anybody have a way it would be greatly appreciated thanks

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

    Default Re: search option or list by product model instead of id number in featured products?

    In the featured.php for the Admin, you could alter the order statement:
    PHP Code:
    // order of display
      
    $order_by " order by pd.products_name "
    In the specials.php for the Admin, you could alter the order statement:
    PHP Code:
    // order of display
      
    $order_by " order by pd.products_name "
    Many do not utilize products_model in a manner that makes it efficient for them to work with this sort order ...
    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
    Jul 2008
    Posts
    238
    Plugin Contributions
    0

    Default Re: search option or list by product model instead of id number in featured products?

    Quote Originally Posted by Ajeh View Post
    In the featured.php for the Admin, you could alter the order statement:
    PHP Code:
    // order of display
      
    $order_by " order by pd.products_name "
    In the specials.php for the Admin, you could alter the order statement:
    PHP Code:
    // order of display
      
    $order_by " order by pd.products_name "
    Many do not utilize products_model in a manner that makes it efficient for them to work with this sort order ...
    thank you so much for your help

  4. #4
    Join Date
    Jul 2008
    Posts
    238
    Plugin Contributions
    0

    Default Re: search option or list by product model instead of id number in featured products?

    Quote Originally Posted by rickiesdiscount View Post
    thank you so much for your help
    I did alter the order statement as you said but i didnt do anything it still placed them in the same order not sure whats going on thanks for the help though any other suggestions?

  5. #5
    Join Date
    Jul 2008
    Posts
    238
    Plugin Contributions
    0

    Default Re: search option or list by product model instead of id number in featured products?

    does anyone know how to do this?

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

    Default Re: search option or list by product model instead of id number in featured products?

    What file are you changing?
    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!

 

 

Similar Threads

  1. v138a Can I show the Search Results in Product Model number Order?
    By nishajh in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 31 Mar 2012, 01:21 AM
  2. Limit Search Results To Model Number and Product Title
    By CoolCarPartsOnline in forum General Questions
    Replies: 6
    Last Post: 7 Jul 2010, 10:59 AM
  3. Replies: 4
    Last Post: 18 Sep 2009, 11:05 PM
  4. Featured Product Listing - not showing model number
    By guerrilladigital in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Oct 2008, 04:48 PM

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