Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Sort drop down on Column / Grid View Add On

    I installed this mod:
    http://www.zen-cart.com/downloads.php?do=file&id=3

    is there a way to have the sort drop down same as in the products_all pages where you have a drop down with Price high-Low, Low-Hight etc etc?

    I enabled the sort function on this mod but it just give 3 links
    Phil Rogers
    A problem shared is a problem solved.

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

    Default Re: Sort drop down on Column / Grid View Add On

    To have all of the explicit order links would require a bunch of custom coding adapted from the all products page. To put the mod links in a dropdown, add to your stylesheet:
    Code:
    #gridSorter {position: relative; z-index: 100; background: #ddeeff; height: 1.6em; width: 10em; margin-left: 2em; padding-left: 1em; overflow: hidden;}
    #gridSorter:hover {overflow: visible;}
    #gridSorter:hover li {background: #ddeeff; list-style-position: inside; padding-left: 1em; margin-left: -1em;}

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

    Default Re: Sort drop down on Column / Grid View Add On

    Ignore the previous styling code. I was using a test site with an older version of Column Grid; the latest version can be styled with this:
    Code:
    #gridSorter {position: relative; padding: 0.5em 0;}
    #gridSorter ul {display: none;}
    #gridSorter:hover ul {display: block; position: absolute; top: 1.2em; padding: 0.5em 2em; margin-left: 0; background: #ddeeff;}

  4. #4
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Sort drop down on Column / Grid View Add On

    thanks Glenn I will give it a go later :o)
    Phil Rogers
    A problem shared is a problem solved.

  5. #5
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Sort drop down on Column / Grid View Add On

    I hope I am posting to the correct thread.

    I have installed "column lay out grid" plug-in. How can I change the filter from Alphanumeric to the old way of filtering, by price and etc.?
    Using Zen Cart 1.5.1

  6. #6
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Sort drop down on Column / Grid View Add On

    I just founded the following thread that solved the problem. and wantred to share it.

    http://www.zen-cart.com/showthread.p...highlight=sort
    Using Zen Cart 1.5.1

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

    Default Re: Sort drop down on Column / Grid View Add On

    Thanks for finding that bit of code! It directly solves the OP issue.

    Note, however, that the latest version of Column Grid does allow the admin to activate the same sort order links as the original product listing page has, for the grid layout. This is not the explicit text version, but can allow even more options than that.

  8. #8
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Sort drop down on Column / Grid View Add On

    Quote Originally Posted by gjh42 View Post
    Note, however, that the latest version of Column Grid does allow the admin to activate the same sort order links as the original product listing page has, for the grid layout. This is not the explicit text version, but can allow even more options than that.
    It was a quick fix for me. I wanted to see the prior / older filtering scheme. I did turned off both filters (Alphanumeric & Title sort) from admin. Column Grid is a great mod.

    Thank you for all your hard work.
    Using Zen Cart 1.5.1

  9. #9
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Sort drop down on Column / Grid View Add On

    this is awesome. thanks for sharing.
    Phil Rogers
    A problem shared is a problem solved.

  10. #10
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Sort drop down on Column / Grid View Add On

    It doesnt work for me, only seems to work when the page number is before the sort???
    Phil Rogers
    A problem shared is a problem solved.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Need to add sort drop down to sub category product listings....
    By tomlcuneo in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 31 Jul 2015, 07:54 PM
  2. v153 Manufacturer sort in default sort drop down
    By vacuumwarlock in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Nov 2014, 02:58 PM
  3. Column layout grid view - add sort by price
    By mattys in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Sep 2010, 11:41 AM
  4. Replies: 3
    Last Post: 19 Apr 2010, 06:22 PM
  5. Add Sort Drop Down to Product Listing?
    By hanzj in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 15 Apr 2008, 08:37 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