Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove sort by drop down in new and featured products listing

Remove sort by drop down in new and featured products listing

Locked

Views: 3,152

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
5 Dec 2006, 10:09 AM
#1
wils avatar

wils

Zen Follower

Join Date:
Apr 2006
Location:
Göteborg
Posts:
124
Plugin Contributions:
0

Remove sort by drop down in new and featured products listing

Having searched various places without success, I wonder how to remove the sort by drop down in new and featured products listing.

File to override?

6 Dec 2006, 3:50 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Remove sort by drop down in new and featured products listing

Wils,

This is a setting in the admin and it is not fully obvious and why I can not again find it. But you do not have to edit files unless my memory is failing me again

6 Dec 2006, 11:10 AM
#3
wils avatar

wils

Zen Follower

Join Date:
Apr 2006
Location:
Göteborg
Posts:
124
Plugin Contributions:
0

Re: Remove sort by drop down in new and featured products listing

Thanks for the input Kobra,

I sort of remember a setting but just can not find it. I'm currently experimenting with editing the css instead of the code:

#sorter {display:none}

or

#sorter {visibility:hidden}

This will be a global change, but could make more instances of #sorter such as sorterNew SorterFeatured etc.

29 Jan 2007, 8:07 AM
#4
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: Remove sort by drop down in new and featured products listing

Wils:

Thanks for the input Kobra,

I sort of remember a setting but just can not find it. I'm currently experimenting with editing the css instead of the code:

#sorter {display:none}

or

#sorter {visibility:hidden}

This will be a global change, but could make more instances of #sorter such as sorterNew SorterFeatured etc.

I usually only have two featured products and having the sorter seems silly. I looked in the code and there does NOT seem to be an admin switch for it. So, to get rid of the sorter on the featured products page edit:
includes/templates/your-template/templates/tpl_featured_products_default.php
and comment out line 20.
Thats the line that begins with:
require($template->get_template_dir('/tpl_modules_listing_display_order.php

The above is for zen-cart 1.3.7

Kiddo

29 Jan 2007, 8:14 AM
#5
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: Remove sort by drop down in new and featured products listing

kiddo:

I usually only have two featured products and having the sorter seems silly. I looked in the code and there does NOT seem to be an admin switch for it. So, to get rid of the sorter on the featured products page edit:
includes/templates/your-template/templates/tpl_featured_products_default.php
and comment out line 20.
Thats the line that begins with:
require($template->get_template_dir('/tpl_modules_listing_display_order.php

The above is for zen-cart 1.3.7

Kiddo

PS: for the New products page, exactly as above but file is:
tpl_products_new_default.php

28 Apr 2009, 9:59 PM
#6
george_susini avatar

george_susini

New Zenner

Join Date:
Mar 2009
Location:
Raleigh, NC
Posts:
31
Plugin Contributions:
0

Re: Remove sort by drop down in new and featured products listing

That worked great, any idea whic line to comment out to also remove the "Displaying 1 to 4 (of 4 featured products) "

Thanks !

28 Apr 2009, 10:02 PM
#7
george_susini avatar

george_susini

New Zenner

Join Date:
Mar 2009
Location:
Raleigh, NC
Posts:
31
Plugin Contributions:
0

Re: Remove sort by drop down in new and featured products listing

Nevermind solve my own problem Line 46, starts with

<div id="featuredProductsListingTopNumber" class="navSplitPagesResult back">

Thanks !