In an e-commerce environment using WooCommerce when there is only a few products to sell, it is cleaner and more intuitive to rid the space of some clutter – such as the ‘Default Sorting‘ options dropdown and the display notice ‘Showing all x results‘.
|<?php // <- dont add in the opening tag|
|//remove display notice - Showing all x results|
|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 );|
Add this code in your themes functions.php file and you will have a cleaner simpler look.