Christmas Celebration SALE! 50% Discount!     Buy Now

How to remove the “default sorting” dropdown in shop page woocommerce?

By

If the merchandise sorting practicality in WooCommerce is just a waste of area otherwise you don’t would like that practicality the least bit, you’ll need to get rid of it via PHP rather than CSS. It’s merely a cleaner resolution. Here’s the code you would like to position in your functions.php templet file.

The main is remove the Default Sorting .,


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

Finally the result is.,

Tagged under:

Show Buttons
Hide Buttons