Forums / All Other Contributions/Addons / Sort drop down on Column / Grid View Add On

Sort drop down on Column / Grid View Add On

Results 1 to 12 of 12
16 Jan 2013, 10:48
#1
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Posts:
968
Plugin Contributions:
0

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 :(
16 Jan 2013, 19:57
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

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:
#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;}
16 Jan 2013, 20:32
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

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:
#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;}
17 Jan 2013, 10:13
#4
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Posts:
968
Plugin Contributions:
0

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

thanks Glenn I will give it a go later :o)
17 Jan 2013, 16:57
#5
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

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.?
18 Jan 2013, 05:30
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

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.
18 Jan 2013, 06:01
#8
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

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

gjh42:


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.
23 Jan 2013, 10:12
#9
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Posts:
968
Plugin Contributions:
0

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

this is awesome. thanks for sharing.
27 Jan 2013, 11:25
#10
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Posts:
968
Plugin Contributions:
0

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???
27 Jan 2013, 20:28
#11
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Posts:
968
Plugin Contributions:
0

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

I fixed it, the numbers were wrong for the sorts on my site.
13 Feb 2013, 21:11
#12
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Posts:
968
Plugin Contributions:
0

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

gjh42:

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:
#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)