How to Remove the Order by Drop-down for Products?

WooCommerce comes with a few product sorting options. You will find these by going to the WooCommerce > Settings page and clicking the ‘Products’ section. If you want to remove the sorting dropdown you can remove it via PHP instead of CSS.

Remove the Order by Dropdown for Products

To remove the order by drop-down options completely, add the following to your functions.php file:

// remove default sorting dropdown
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );

If you face any problems or need our professional services, please email us at [email protected].

Join our Newsletter

Never miss the latest offers, voucher codes and useful articles delivered weekly in your inbox.