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?
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?
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
Zen-Venom Get Bitten
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
That worked great, any idea whic line to comment out to also remove the "Displaying 1 to 4 (of 4 featured products) "
Thanks !
George Susini Raleigh Tech Consulting - Raleigh, NC
Nevermind solve my own problem Line 46, starts with
<div id="featuredProductsListingTopNumber" class="navSplitPagesResult back">
Thanks !
George Susini Raleigh Tech Consulting - Raleigh, NC
Bookmarks