Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2010
    Location
    Richmond, Virginia, United States
    Posts
    123
    Plugin Contributions
    0

    Default Product sort order on New Products Page not working

    The new products on the main page of our site are sorting by date available (which is correct). But on the new products page itself, the products are sorting by date added, not date available. I've tried everything I can think of to override this but can't figure it out.

    Please help!

    Thanks :)

    JM Snyder

  2. #2
    Join Date
    Jan 2010
    Location
    Richmond, Virginia, United States
    Posts
    123
    Plugin Contributions
    0

    Default Re: Product sort order on New Products Page not working

    Never mind -- I found it. In the file includes/modules/listing_display_order.php file, I changed the line:

    case ($_GET['disp_order'] == 6):
    $order_by = " order by p.products_date_added DESC,

    to read:

    case ($_GET['disp_order'] == 6):
    $order_by = " order by p.products_date_available DESC, pd.products_name";

    and it works now. In case anyone's interested!

 

 

Similar Threads

  1. Product Sort Order not working
    By barendfaber in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 7 Sep 2011, 06:16 PM
  2. New Products Sort Order on Index Page, Question.
    By blackcap76 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 May 2011, 02:52 AM
  3. Change default sort order for New Products page?
    By properform in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 1 Feb 2008, 08:34 PM
  4. Product sort Order Not Working
    By wapnoj in forum Basic Configuration
    Replies: 8
    Last Post: 27 Mar 2007, 04:58 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