Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Mar 2006
    Posts
    208
    Plugin Contributions
    0

    Default product index sort order problem

    I can't figure this out.
    Product index sort order "price descending" is not working properly.
    I am using a custom template.
    In admin, the "Display Product Listing Default Sort Order" is left blank

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: product index sort order problem

    Where did you get the template? Some makers *coughTMcough* mangle standard Zen Cart functions...

    Can you post a link?

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

    Default Re: product index sort order problem

    Check that your field for products_price_sorter is filled in ...

    If you import data or change it in any manner other than the Zen Cart Admin core files, there is a good chance this field, which is used for the sorting, is not being updated correctly ...
    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
    Mar 2006
    Posts
    208
    Plugin Contributions
    0

    Default Re: product index sort order problem

    Oh, sorry.... i did not receive an email to you response
    Thanks Ajeh, will check this out as it really seems that only that kind of products are not sortetd.
    Will let you know

  5. #5
    Join Date
    Mar 2006
    Posts
    208
    Plugin Contributions
    0

    Default Re: product index sort order problem

    Of course this did the trick....
    Thank you Ajeh

    I have defined the v_products_price_sorter in my products import .txt and did an update to the database as those fields where empty.

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

    Default Re: product index sort order problem

    Note: there is an updater in the Tools ... Store Manager ... that will update the products_price_sorter based on the master_categories_id ...

    Providing that field is filled in this is a quick way to set the products_price_sorter ...

    If you do not have the master_categories_id and do not use Linked Products then there is also an updater for the master_categories_id that you can run first ...
    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
    Mar 2006
    Posts
    208
    Plugin Contributions
    0

    Default Re: product index sort order problem

    Of course there is ...I forgot it with all that stuff & tools in the admin.
    Thank you

  8. #8
    Join Date
    Mar 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: product index sort order problem

    Ive tried running the updater in store manager on a zencart with 20,000 products and every time I get error 500.

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

    Default Re: product index sort order problem

    This is probably related to a timeout issue as 20,000 products is a lot to update ...

    You can try upping this time by editing the file:
    /admin/store_manager.php

    and changing the time from:
    PHP Code:
      zen_set_time_limit(600); 
    to something like:
    PHP Code:
      zen_set_time_limit(1800); 
    This is the number of seconds on the timeout ... see if that helps 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!

  10. #10
    Join Date
    Mar 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: product index sort order problem

    I can't find zen_set_time_limit in admin/store_manager.php is it inside one of that pages include files perhaps?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 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
  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. Index page sort order is Random
    By nabrown78 in forum Basic Configuration
    Replies: 11
    Last Post: 20 Feb 2010, 11:02 PM
  4. product sort order problem
    By nyck in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 3 Mar 2009, 10:27 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