Results 1 to 10 of 12

Hybrid View

  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
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

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

    Quote Originally Posted by gjh42 View Post
    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;}
    thanks for this, I never did say. I went for the other sort code posted in this thread though I found it reset my dynamic filters, however, ive now found a goochy css tooltip with a question mark i've put next to it just to advise visitors to use the sort before filters so should do the trick :o)
    Phil Rogers
    A problem shared is a problem solved.

 

 

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