Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default MY admin products sorting is not quite right...

    In admin-> a list of products you can choose the displayed sort order via a pulldown on the top right.

    Mine works apart from sorting by product price+ or -.
    Its ok on a vanilla 1.39 and 1.5 so it must be something I've added.

    The code looks simple enough in categories.php and if I swap out categories.php and /includes/category_product_listing.php for original versions it doesn't cure the problem.

    What other files may affect this?
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

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

    Default Re: MY admin products sorting is not quite right...

    Do you import Products?

    Do all of your Products have the right value in the table:
    products

    in the field:
    products_price_sorter
    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 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: MY admin products sorting is not quite right...

    Do you import Products?
    Yes.

    Do all of your Products have the right value in the table:
    products

    in the field:
    products_price_sorter
    No.

    Continued in the Apsona thread...
    http://www.zen-cart.com/forum/showthread.php?t=153990

    ------

    I assume the value in this field should be same as the price or the sale/special price?

    Thanks
    Steve
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  4. #4
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: MY admin products sorting is not quite right...

    I assume the value in this field should be same as the price or the sale/special price?
    What I should have said is, if I just copy ALL the values between the columns, although some are on a special price and I assume the column should reflect that, if I can't be bothered to search and change them individually, this will only cause the sort order to be wrong in the admin and not effect any front-end functionality?
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

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

    Default Re: MY admin products sorting is not quite right...

    First, check in phpMyAdmin that all of the Products in the table:
    products

    have a master_categories_id ... none should be set to 0 ...

    Then, you can use in your Zen Cart Admin, providing none of these are 0, the Tools ... Store Manager ... and just run the:
    Update ALL Products Price Sorter
    to be able to sort by displayed prices:
    that will fix all of the products_price_sorter with the correct values 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!

  6. #6
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,826
    Plugin Contributions
    31

    Default Re: MY admin products sorting is not quite right...

    "Store Manager" - who'd have thought it!

    All done, thanks.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

 

 

Similar Threads

  1. v150 Problem with Admin not working quite right...
    By aperfecthost in forum General Questions
    Replies: 17
    Last Post: 4 Jul 2014, 02:09 PM
  2. Visited links not acting quite right
    By r1formetoo in forum General Questions
    Replies: 4
    Last Post: 24 Oct 2009, 05:04 PM
  3. My HDUHAU not working quite right
    By r1formetoo in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 6 Aug 2009, 04:43 PM
  4. Something's not quite right!
    By wosket in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 30 Jun 2007, 07:06 PM
  5. Tax not calculated quite right
    By sae in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 3 Jul 2006, 01:34 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