Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2007
    Posts
    1
    Plugin Contributions
    0

    Default Product Browsing/Sort Order

    When using my "Previous or Next" buttons to browse products, they are automatically sorted in alphabetical order instead of the attribute default sort order I gave them. Does anyone know how to get them to browse in the order I set instead of alphabetically? Thanks!

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

    Default Re: Product Browsing/Sort Order

    Might look at the setting in the:
    Configuration ... Product Info ...
    Products Info - Product Option Value of Attributes Sort Order
    Sort order of Product Option Values of Attributes for Products Info
    0= Sort Order, Price
    1= Sort Order, Option Value Name

    0
    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 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Product Browsing/Sort Order

    Quote Originally Posted by Ajeh View Post
    Might look at the setting in the:
    Configuration ... Product Info ...
    I had a guy write a custom product selection screen for me using Javascript(which is in the file cart/includes/modules/pages/products_all/jscript_a.php - not that it matters).

    I want to have the products display in the order described by the field "Sort Order:" in the product description. It seems like they are just displaying in random order now.

    I have some programming experience and the guy is real busy for the next week or so. What is the name of the file/program that is normally used to display products in the cart? If I can look at that file maybe I can figure out how to modify his JS so that the cart displays products in the "correct" order.

    tia

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

    Default Re: Product Browsing/Sort Order

    All of the Listings have a Sort Order that can be set ...

    I am not following which one you could not set and to what based on the current available fields ...
    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
    Sep 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Product Browsing/Sort Order

    Quote Originally Posted by Ajeh View Post
    All of the Listings have a Sort Order that can be set ...

    I am not following which one you could not set and to what based on the current available fields ...
    I was able to set the sort order field in all the products in the catalog. My problem is that a guy wrote custom JS code for me that displays the products so customers can add them to the cart. So I was wondering what is the name of the file that is normally used to display products and add them to the cart. If I look that over I can probably figure out how to modify his code so it takes into account the "Sort Order:" field for each product.

    I have my home computer setup as a server on a temp basis but am afraid to give out the addr. If you still don't understand what I'm getting at maybe forget it as I don't want to waste your time. tia.

  6. #6
    Join Date
    Sep 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Product Browsing/Sort Order

    Quote Originally Posted by aginv View Post
    I was able to set the sort order field in all the products in the catalog. My problem is that a guy wrote custom JS code for me that displays the products so customers can add them to the cart. So I was wondering what is the name of the file that is normally used to display products and add them to the cart. If I look that over I can probably figure out how to modify his code so it takes into account the "Sort Order:" field for each product.

    I have my home computer setup as a server on a temp basis but am afraid to give out the addr. If you still don't understand what I'm getting at maybe forget it as I don't want to waste your time. tia.
    The products display in the correct order in the admin area of ZenCart.

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

    Default Re: Product Browsing/Sort Order

    In the normal core code you just set the Sort Order in the Product Listing settings to blank and it will take on the products_sort_order ...

    To display in alpha order you need to see what the setting is for the products_name field on your site ...

    If you click the title for Item it will show the sort= in the URL and that is the Sort Order to set in the Product Listing ...

    I don't know what all your coder may have changed to alter the normal sorting for the list as this could have been done anywhere ...
    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!

  8. #8
    Join Date
    Sep 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Product Browsing/Sort Order

    Quote Originally Posted by Ajeh View Post
    In the normal core code you just set the Sort Order in the Product Listing settings to blank and it will take on the products_sort_order ...

    To display in alpha order you need to see what the setting is for the products_name field on your site ...

    If you click the title for Item it will show the sort= in the URL and that is the Sort Order to set in the Product Listing ...

    I don't know what all your coder may have changed to alter the normal sorting for the list as this could have been done anywhere ...
    Thanks, that helps. Just ordered the hard cover book, your product is very involved and I'm sure that will help also.

 

 

Similar Threads

  1. v154 Product listing/Product prev-next sort order mismatch
    By lat9 in forum Bug Reports
    Replies: 0
    Last Post: 12 May 2015, 02: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. v138a how to edit sort order value in the category browsing page of admin?
    By hmdnawaz in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 6 Apr 2012, 01:48 PM
  4. Replies: 1
    Last Post: 9 May 2011, 05:12 PM
  5. Product Sort Order only sorts Alphabetically, not by the order assigned.
    By webooks in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 12 Nov 2009, 05:19 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