contacts

(+359) 88 339 4445

Buy All 39 Premium WordPress Themes for $54.99

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