WooCommerce: How to remove the “default sorting” dropdown If WooCommerce product sorting function is simply a waste of space, or you do not need all the features you may want to PHP, CSS rather than remove it. It’s just a clean solution. Here’s what you need to place code in your functions.php template file.

The goal: remove “default sorting”

WooCommerce remove default sorting dropdown

The snippet: remove “default sorting” dropdown from shop and cat pages

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


Delete “default sort” drop-down menu in the theme store

// remove default sorting dropdown in StoreFront Theme
function delay_remove() {
remove_action( 'woocommerce_after_shop_loop', 'woocommerce_catalog_ordering', 10 );
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 10 );