Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2006
    Location
    Göteborg
    Posts
    126
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default 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
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2006
    Location
    Göteborg
    Posts
    126
    Plugin Contributions
    0

    Default 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.

  4. #4
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

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

    Quote Originally Posted by Wils View Post
    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

  5. #5
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

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

    Quote Originally Posted by kiddo View Post
    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

  6. #6
    Join Date
    Mar 2009
    Location
    Raleigh, NC
    Posts
    31
    Plugin Contributions
    0

    Default 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 !
    George Susini Raleigh Tech Consulting - Raleigh, NC

  7. #7
    Join Date
    Mar 2009
    Location
    Raleigh, NC
    Posts
    31
    Plugin Contributions
    0

    Default 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 !
    George Susini Raleigh Tech Consulting - Raleigh, NC

 

 

Similar Threads

  1. Remove "Sort by" Drop Down on New Products/All Products
    By Picci in forum General Questions
    Replies: 3
    Last Post: 2 Feb 2009, 11:50 PM
  2. Can I add new product type filter to New Products drop down sort?
    By rwoody in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 17 Dec 2008, 08:42 PM
  3. 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
  4. remove product listing drop down
    By godt in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 18 Sep 2006, 06:19 AM
  5. Sort Drop Down in Product Listing?
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 May 2006, 07:03 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR