Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Sort order---not working

    Hello,

    I have looked everywhere and can't figure out why this isn't working. It has to be simple.

    I have set the sort values for each product and I am just using the default sort value but it isn't working

    http://poolkitsdirect.com/pools/inde...ex&cPath=64_66

    any ideas? I have set all the southport pools to a 0 and the others are 1 so the southports should show up first?

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

    Default Re: Sort order---not working

    Check the Configuration ... Product Listing ... and make sure this is blank:
    Display Product Listing Default Sort Order
    Product Listing Default sort order?
    NOTE: Leave Blank for Product Sort Order. Sort the Product Listing in the order you wish for the default display to start in to get the sort order setting. Example: 2a
    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
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Sort order---not working

    thanks, it is blank though

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

    Default Re: Sort order---not working

    Have you made changes to the file:
    /includes/index_filters/default_filter.php

    You are getting errors on the listing when clicking other sort methods such as Item Name or Price ...
    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!

  5. #5
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Sort order---not working

    thank you for the response.

    I didn't edit that file at all and just replaced it with another from a fresh install and it isn't working , I see the error you are mentioning, it pulls up this error below. I'm not sure where the mistake it though, I looked in the file you mentioned and there is nothing at line 7



    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7
    in:
    [select p.products_image, pd.products_name, p.products_quantity, p.products_id, p.products_type, p.master_categories_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, pd.products_description, IF(s.status = 1, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status =1, s.specials_new_products_price, p.products_price) as final_price, p.products_sort_order, p.product_is_call, p.product_is_always_free_shipping, p.products_qty_box_status from zen_products_description pd, zen_products p left join zen_manufacturers m on p.manufacturers_id = m.manufacturers_id, zen_products_to_categories p2c left join zen_specials s on p2c.products_id = s.products_id where p.products_status = 1 and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '66' order by ]

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

    Default Re: Sort order---not working

    What version of Zen Cart are you running?

    If you go to the Tools ... Developers Tool Kit ... and in the bottom input line enter:
    default_filter.php

    and select Catalog ... and click SEARCH ...

    What comes up on the version id line?
    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!

  7. #7
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Sort order---not working

    1.39h

    here is the answer to the version

    @version $Id: default_filter.php 6912 2007-09-02 02:23:45Z drbyte $

    hope this helps

    thank you

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

    Default Re: Sort order---not working

    Zen Cart v1.3.9h uses:
    * @version $Id: default_filter.php 14870 2009-11-19 22:36:24Z drbyte $
    Download a clean v1.3.9h and load the correct file and see if it works for you ...
    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!

  9. #9
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Sort order---not working

    Bingo, it worked

    thank you very much

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

    Default Re: Sort order---not working

    Thanks for the update that restoring the v1.3.9h file fixed the issue ...
    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. v139h Attribute Sort order in I.E not working ?
    By MerseyRay in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 14 Aug 2012, 04:24 PM
  2. Product Sort Order not working
    By barendfaber in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 7 Sep 2011, 06:16 PM
  3. Sort Order Not Working
    By HelenSama in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 9 Dec 2008, 08:39 PM
  4. Sort Order not working
    By lizar5- in forum General Questions
    Replies: 3
    Last Post: 1 Jun 2008, 04:10 PM
  5. 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