Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    help question Sorting function for item display

    Hi all,

    I am using Zen-cart 1.3.8a. I cannot find a sorting function for item display, e.g. items sorted by price (desc, asc), name (a-z, z-a). Could someone please tell me the availability, or any module available?

    Thanks in advance.

    Regards

    Steve

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,252
    Plugin Contributions
    59

    Default Re: Sorting function for item display

    Configuration >> Product Listing >>Include Product Listing Alpha Sorter Dropdown

    The others are available by clicking the column heads in the product index pages.

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: Sorting function for item display

    Quote Originally Posted by mprough View Post
    Configuration >> Product Listing >>Include Product Listing Alpha Sorter Dropdown

    The others are available by clicking the column heads in the product index pages.

    ~Melanie
    Dear mprough,

    Thank you for your help.

    I am wondering if there is add-on that dispalys such functions in a dropdown box.

    Steve

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,252
    Plugin Contributions
    59

    Default Re: Sorting function for item display

    You would need to code the options in the dropdown to display the sorted links you desire.

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    Default Re: Sorting function for item display

    Quote Originally Posted by mprough View Post
    You would need to code the options in the dropdown to display the sorted links you desire.

    ~Melanie
    Dear Melanie,

    I noticed that this function has been requested two years ago on this forum. I could not find add-ons for the function.

    Steve

  6. #6
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,252
    Plugin Contributions
    59

    Default Re: Sorting function for item display

    As stated, there is no addon, you simply code the dropdown by hand referencing the urls of the sorted options you require.

    Code:
    <select>
    <option value="http://site.com/">Sort Text 1</option>
    <option value="http://site.com/1.html">Sort Text 2</option>
    <option value="http://site.com/2.html">Sort Text 3</option>
    </select>
    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  7. #7
    Join Date
    Jan 2010
    Posts
    52
    Plugin Contributions
    0

    help question Re: Sorting function for item display

    Quote Originally Posted by mprough View Post
    As stated, there is no addon, you simply code the dropdown by hand referencing the urls of the sorted options you require.

    Code:
    <select>
    <option value="http://site.com/">Sort Text 1</option>
    <option value="http://site.com/1.html">Sort Text 2</option>
    <option value="http://site.com/2.html">Sort Text 3</option>
    </select>
    ~Melanie
    Dear Melanie,

    Thank you for your help.

    Could you please elaborate on this? For example, which file to edit. The value in the code has partly dynamic value, which make it difficult. For example, the number of current page, Furthermore, the same function is also used in the search result.

    I am wondering, if the function is so simple, why is it not available even in add-ons.

    Regards

    Steve

  8. #8
    Join Date
    Jan 2010
    Posts
    25
    Plugin Contributions
    0

    Default Re: Sorting function for item display

    I'm looking for some help with this problem too. I can sort products by a-z, z-a price high-low, low-high etc etc when searing in "New Products" or "All Products" but when I'm in an actual category, for example "Televisions" I'm only able to include an Alpha Sorter which is no use.

    Does anyone know which files have to be edited to allow the a-z, z-a, price low-high sorter to be included within the product categories?

    I noticed a previous post stated:

    Configuration >> Product Listing >>Include Product Listing Alpha Sorter Dropdown

    The others are available by clicking the column heads in the product index pages.



    Could someone please explain what it means by "clicking the column heads in the product index pages"?

    Many thanks.

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

    Default Re: Sorting function for item display

    You don't give a link to see what your site looks like, but I will venture that you have the Column Grid mod, or some form of grid display on your product listing. The stock "rows" display has a heading for each element of the product, and most of them are clickable to change the sort order to that element. (These headings obviously are not applicable to the grid layout style.)

    You would need to copy that code to your dropdown.

  10. #10
    Join Date
    Jan 2010
    Posts
    25
    Plugin Contributions
    0

    Default Re: Sorting function for item display

    Thanks for the quick answer. Sorry to sound dumb, but I couldn't really understand what you meant.

    Could you please have a look at my site on the link below and see if you can narrow down what I need to do.

    All I want is the sorter that comes up in "New Products" to work in each product category.

    Thanks.

    http://technics4home.co.uk/

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Flat rate for 1 item and more for each additional item
    By spookyghost in forum General Questions
    Replies: 4
    Last Post: 29 Dec 2009, 08:56 PM
  2. Need help trying to switch order for display (qty, item name, price)...
    By BenhamCollectibles in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Dec 2009, 05:59 PM
  3. Replies: 1
    Last Post: 18 Oct 2008, 11:21 PM
  4. Sorting Previous/Next Product Display Order
    By jenn8five in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Sep 2008, 08:09 PM
  5. featured items sorting mod not sorting
    By elishama3 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 27 Mar 2008, 04:39 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