Like Us Like Us Facebook Subscribe Subscribe us YouTube Whatsapp Share us Whatsapp Query Send your queries

Woo Commerce How to Remove the Default Sorting Drop down

Woo Commerce How to Remove the Default Sorting Drop down

Are you trying to remove the Default Sorting Drop down on a Woo commerce Shop page, if you don’t need ‘Sort by’ drop down on a Woo commerce Shop page then you can do it simply editing your theme’s functions.php file.

Method 1 : Using PHP
Add the one line of code below to to functions.php file to hide Default Sorting Drop down

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

Method 2 : Hide using css code

.woocommerce-ordering {
  display: none;
}

Woo Commerce Single Product Page customization

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
Do you have any Query / Suggestion