Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1
    Join Date
    Jan 2009
    Posts
    201
    Plugin Contributions
    6

    Default Problems with Sort by Price

    I have a problem. I believe that the Sort by price feature
    used to work but it no longer does. We are running version
    1.3.8a with security upgrades. MySql version 5.0.91
    PHP version 5.2.11 .

    In the Zen Cart Admin I have done the following:

    Reset Master Categories ID
    Reset Price Sorter


    In phpMyAdmin :

    I have verified that the master_categories_ id and
    products_price_sorter values are set in the products table
    of the DB.


    What might I have done to cause the sort by price
    feature to not work?

    Thanks for any help. If you need more info please
    feel free to contact me.

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

    Default Re: Problems with Sort by Price

    Are you getting errors? Perhaps you have an URL that we could peek at to see what is happening ...
    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
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Problems with Sort by Price

    NOTE: there are numerous Known Bug Fixes for v1.3.8 ...
    http://www.zen-cart.com/forum/showthread.php?t=82619

    Plus a good time to review all of the Security Patches and Updates ...
    http://www.zen-cart.com/forum/showthread.php?t=131115

    NOTE: all of these and more are in the current v1.3.9 release on our home page ...
    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!

  4. #4
    Join Date
    Jan 2009
    Posts
    201
    Plugin Contributions
    6

    Default Re: Problems with Sort by Price

    linda,

    No, I am not getting errors. Right now the server response time
    seems to be really bad, but here is a product page you can look at:

    http://www.postlynx.com/index.php?ma...dex&cPath=1093

    Thanks for any help you can give.

  5. #5
    Join Date
    Jan 2009
    Posts
    201
    Plugin Contributions
    6

    Default Re: Problems with Sort by Price

    By the way, I THINK I have all of the security patches and
    updates, for 1.3.8.a, installed.

    John

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

    Default Re: Problems with Sort by Price

    Check that you have all of the Known Bug Fixes that mention master_categories_id or categories ...

    Also be sure that the update by price is completing when you run it in the Store Manager ...
    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
    Jan 2009
    Posts
    201
    Plugin Contributions
    6

    Default Re: Problems with Sort by Price

    Linda,

    I have checked that I have bug and security updates in place, to
    the best of my knowledge.

    I have updated the product price sorter several times.

    The thing I find most unsettling is that the sort by price seems to work in one or two categories, but not in most of them. Since I can
    not imagine that the code performing the sort function works
    differently for different categories, I can only assume that there
    is something in the database that is causing the problem.

    I have looked at the database, using phpMyAdmin, and the
    product table shows that the products_price_sorter and
    master_categories_id fields have values. However, one thing
    I see that is peculiar is that some products have the
    manufacturers_id = NULL and others have the
    manufacturers_id = 0 (zero) . Might this be having an adverse
    effect on the sort function?

    If you want it, I can send a copy of the product table.

    Any suggestions ?

  8. #8
    Join Date
    Jan 2009
    Posts
    201
    Plugin Contributions
    6

    Default Re: Problems with Sort by Price

    YIKES ! I just found something that disturbs me. One product
    in the table has a master_categories_id of 0 (zero). This
    was one of the earliest products that I created manually (prior
    to using EasyPopulate).

    I am not a mySql guru but I am sure that there is a way to
    delete that product id.

    Can somebody help me with the mySql code? Will I have
    to delete items from multiple tables?

    I don't know if this DB error has anything to do with the
    sort problem or not.

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

    Default Re: Problems with Sort by Price

    If you have Products in the products table with the master_categories_id of 0 and then run the Reset Master Categories ID and still have Products in the products table with the master_categories_id of 0 then you have bad data ...

    NOTE: if using Linked Products, running the Reset Master Categories ID can be a problem as the lowest value categories_id will be used for the master_categories_id ...

    You can use the Multiple Categories Link Manager and set an entire Category of Products to use that Category as the categories_id for the master_categories_id or set them individually by Product ...
    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!

  10. #10
    Join Date
    Jan 2009
    Posts
    201
    Plugin Contributions
    6

    Default Re: Problems with Sort by Price

    Well, I have tried everything I could think of and still have no
    luck.

    I have NO linked products.

    I found one product that had an error and deleted it.
    I reloaded the entire product table, 11000+ products,
    using EasyPopulate.

    I reset the master categories ID and then updated the
    price sorter. Same results. Some categories sort properly
    but most do not.

    I give up !

    Thanks for the suggestions given.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Sort by price with column display....
    By barnamania in forum Templates, Stylesheets, Page Layout
    Replies: 100
    Last Post: 21 Apr 2014, 10:50 PM
  2. v151 Product Sort within Category - having problems changing the default sort order
    By Don Wagner in forum Customization from the Admin
    Replies: 4
    Last Post: 21 Oct 2012, 03:03 AM
  3. how to sort products listings with price
    By pavka in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Apr 2008, 08:11 PM
  4. Price = zero Problems with price
    By msbaranga in forum General Questions
    Replies: 1
    Last Post: 11 Sep 2007, 04:07 PM
  5. default sort order by price WITH matrix mod
    By SarahL in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 27 Jul 2007, 08:31 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