contacts

Get All 122 Premium WordPress Themes for Just $59.99
One-Time Payment: Unlimited Use Across Unlimited Domains, Plus 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