Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2015
    Location
    USA
    Posts
    199
    Plugin Contributions
    0

    Default How can I get rid of the sort dropdown on product-listings?

    Recommended drop down box on the product listing page. ZC 2.1

    I've tried a few things but they're not working.
    Thanks
    Carol

  2. #2
    Join Date
    Jul 2009
    Posts
    18
    Plugin Contributions
    1

    Default Re: How can I get rid of the

    Are you referring to the Sort By drop down (which defaults to "Recommended")?

    If so, I don't think there's a configuration option to disable it, but you can get rid of it by commenting out a single line in the includes/templates/YOURTEMPLATE/templates/tpl_index_product_list.php file.

    Change:

    Code:
            /**
             * display the product sort dropdown
             */
            require $template->get_template_dir('/tpl_modules_listing_display_order.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_listing_display_order.php';
    to:

    Code:
            /**
             * display the product sort dropdown
             */
            // require $template->get_template_dir('/tpl_modules_listing_display_order.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_listing_display_order.php';

  3. #3
    Join Date
    Feb 2015
    Location
    USA
    Posts
    199
    Plugin Contributions
    0

    Default Re: How can I get rid of the

    THANK YOU!!! That worked!

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,537
    Plugin Contributions
    127

    Default Re: How can I get rid of the

    We will add a soft setting to allow this to be done more easily in a coming release.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    341
    Plugin Contributions
    7

    Default Re: How can I get rid of the

    There is a setting in admin at the bottom of Configuration-Product Listing, Include Product Listing Alpha Sorter Dropdown that should do what you want...

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,537
    Plugin Contributions
    127

    Default Re: How can I get rid of the

    That would remove the widgets to the left of the Sort By dropdown, but not the sort by dropdown itself.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    341
    Plugin Contributions
    7

    Default Re: How can I get rid of the

    Quote Originally Posted by swguy View Post
    That would remove the widgets to the left of the Sort By dropdown, but not the sort by dropdown itself.
    Sorry, It seems I did not understand it was about the whole set, 'Items starting with...' and 'Recommanded'.

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,537
    Plugin Contributions
    127

    Default Re: How can I get rid of the

    PR for optionally removing "Sort by" on product listing page:

    https://github.com/zencart/zencart/pull/7899
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Can't get rid of "Out of Stock" icon on product listings
    By a7t in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 12 Mar 2010, 05:21 PM
  2. How can I get my descriptions in product listings to show hyperlinks I've entered?
    By KiwiBrian in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Sep 2008, 11:10 PM
  3. How can I get rid of links in the footer
    By Marlake in forum Customization from the Admin
    Replies: 6
    Last Post: 29 Apr 2008, 04:49 PM
  4. How can I get rid of the spaces between the banners in the side box?
    By cgardner in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Oct 2007, 03:05 AM
  5. How Can I Get Rid of The Unwanted Search form?
    By jaz1974 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Sep 2006, 06:18 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