Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / How can I get rid of the sort dropdown on product-listings?

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

Started by spminis on 1 Jul 2026, 5:27 PM · Views: 209

Results 1 to 8 of 8
1 Jul 2026, 5:27 PM
#1
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

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 Jul 2026, 2:33 AM
#2
jadebox avatar

jadebox

New Zenner

Join Date:
Jul 2009
Posts:
19
Plugin Contributions:
1

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

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:

        /**
         * 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:

        /**
         * 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';
2 Jul 2026, 8:50 AM
#3
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

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

THANK YOU!!! That worked!

2 Jul 2026, 4:33 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

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

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.

2 Jul 2026, 8:11 PM
#5
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
416
Plugin Contributions:
6

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

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

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

2 Jul 2026, 11:16 PM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

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

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.

3 Jul 2026, 5:59 AM
#7
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
416
Plugin Contributions:
6

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

swguy:

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

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

3 Jul 2026, 9:59 AM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

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

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.