Archived topic
Remove result count and product sort displays
3 replies · Started by David Bennett on March 24, 2019
//remove display notice
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_result_count', 20 );
//remove default sorting drop-down from WooCommerce
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );
I used this snippet to stop the display. It stops the result count displaying but not the catalog ordering display. What do I do to stop the catalog ordering display?
Thanks.
Hi there,
make sure you have the GP Woocommerce module activated, then you will find most settings within Customizer > Layout > Woocommerce including the count and sorting (ordering).
I forgot there was a second access to the Woo options via > Layout.
Thanks.
Glad to be of help