Buy All 61 Premium WordPress Themes for $59.99
No Additional Fees, Pay Once and Use Unlimited Time for Unlimited Domains, Free Lifetime Updates

Remove Result Count and Sort by in WooCommerce

Remove Result Count and Sort by in WooCommerce

In case you don’t need to display ‘Result Count’ and ‘Sort by’ in your WooCommerce Shop page, they can be easily removed:

Open your theme functions.php

at the end of the file insert the following code blocks:

// Remove the result count from WooCommerce
remove_action( 'woocommerce_before_shop_loop',
'woocommerce_result_count', 20 );

it will remove the Result count

// Remove the sort by from WooCommerce
remove_action( 'woocommerce_before_shop_loop',
'woocommerce_catalog_ordering', 10 );

it will remove the Sort by drop down.

Leave a Reply