When viewing the woocommerce catalog there is a dropdown menu that the visitor can use to order the products by popularity, newness, price, etc… However, for smaller shops, specialty shops, single product shops or just for design purposes, you may not need this dropdown menu present on your woocommerce shop. Here is how to remove the Order By dropdown menu in woocommerce by using the functions.php file.

Using an FTP program or command line, access your functions.php file inside your wordpress theme’s directory.

Now that you have your functions.php file, open it in your code editor of choice and add the following line of code to the bottom of it:

remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );

Save the file, and make sure your website is now using this modified functions.php file.

By adding this to your functions.php file the Order By dropdown will be removed from your woocommerce catalog.

Summary
Article Name
Remove the Order By Dropdown Menu in Woocommerce
Description
Remove the Order By dropdown menu from the woocommerce shop catalog using the functions.php file.
Author