Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Display Product Listing Default Sort Order

    Admin > Product Listing > Display Product Listing Default Sort Order

    I had thought that is where I could set the order in which products are displayed but apparently not.

    Current default setting is to show Products in Alphabetical order.
    What I want to do is list by Product ID and in Descending order.

    Example

    In Category 1 there are 10 products. I want to display starting with Product ID #10 and descending to ID #1.

    Anyone know how to do this?


    Also, the instructions provided do not make much sense, but maybe it's just me.

    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

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Display Product Listing Default Sort Order

    Try this as it should respond

    0d

    Code:
    Products Display Order by
    0= Product ID
    1= Product Name
    2= Model
    3= Price, Product Name
    4= Price, Model
    5= Product Name, Model
    6= Product Sort Order
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Display Product Listing Default Sort Order

    Well "0" does not work but "6" does and as there are only 10 items at this point you can set the product sort order
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Display Product Listing Default Sort Order

    Quote Originally Posted by kobra View Post
    Try this as it should respond

    0d

    Code:
    Products Display Order by
    0= Product ID
    1= Product Name
    2= Model
    3= Price, Product Name
    4= Price, Model
    5= Product Name, Model
    6= Product Sort Order
    Where are you finding this?

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Display Product Listing Default Sort Order

    Rob,

    That is the display code for the product info next previous listing
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Display Product Listing Default Sort Order

    Admin > Product Info > Previous Next - Sort Order

    Presuming that is what you are referring to, none of the 6 settings made any difference.

    Appreciate the feedback but looks like a bug has been uncovered or I'm still doing something wrong / in the wrong place.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Display Product Listing Default Sort Order

    Quote Originally Posted by Website Rob View Post
    Admin > Product Listing > Display Product Listing Default Sort Order

    ... the instructions provided do not make much sense, but maybe it's just me.

    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
    In your product listing, you have certain columns enabled, in a certain order left-to-right.

    If your 2nd column is your Product Name, and you set your "Display Product Listing Default Sort Order" to "2a" then it'll sort by Product Name in Ascending order.
    If you changed things to have your Product Name in a different column, you'd change the default to use the new number of the column you moved it to.
    If you wanted "Descending" instead of Ascending, you'd use a "d" instead of "a".

    The available columns for product listing are the first 7 entries in Admin->Configuration->Product Listing. The numbers you enter for each of those are the order from left-to-right in which columns are going to appear. And thus the "Default sort order" switch is controlled by those numbers as well.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Display Product Listing Default Sort Order

    Good insider knowledge DrByte, but doesn't seem to do what I had expected.

    Display Product Image = 1
    Display Product Name = 2

    The other Display Product settings are 0.

    I get the following sort order:

    2a = Product ID #2 - #3 - #1
    2d = Product ID #1 - #3 - #2

    What I'm looking for is displaying Product ID 3 - 2 - 1.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Display Product Listing Default Sort Order

    Quote Originally Posted by Website Rob View Post
    What I want to do is list by Product ID and in Descending order.
    That's not currently offered as a configurable option.

    But if you leave the Default Sort Order switch blank, then it will sort by the Sort Order you've assigned to the products, followed by the product name.

    ie:

    Code:
    Sort Order     Name
        10         Apple
        10         Banana
        20         Avocado
        30         Artichoke
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Display Product Listing Default Sort Order

    Maybe I'm just not understanding the concept of the "Display Product Listing Default Sort Order".

    If I cannot display by Product ID and in Descending or Ascending order, what is the purpose of that option in the Admin section?


    But if you leave the Default Sort Order switch blank, then it will sort by the Sort Order you've assigned to the products, followed by the product name.
    How would I do that?

    To my knowledge, if I leave the sort order blank then products are listed/displayed Alphabetically.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Product Listing Default Sort Order
    By mordechai in forum Basic Configuration
    Replies: 85
    Last Post: 13 Aug 2020, 11:32 AM
  2. Replies: 14
    Last Post: 22 May 2013, 04:00 AM
  3. Display Product Listing Default Sort Order
    By SMps in forum General Questions
    Replies: 2
    Last Post: 17 Jan 2009, 08:08 AM
  4. Product listing display sort order catalog-side?
    By kbalona in forum Basic Configuration
    Replies: 3
    Last Post: 20 Jan 2008, 11:31 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