Special Bundle Offer! All-in-one Pack (Script + Android + iOS + Installation) Buy Now

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

By Blog

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 in woocommerce. 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 .,

[php]

// remove default sorting dropdown

remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 30 );

[/php]

Finally the result is.,

Migrateshop

Tagged under: