[Snippet] Removing “Sort By” in Woocommerce

Here’s how to remove the “Sort By” dropdown/select box in Woocommerce category pages.

Add the following to your functions.php file.

remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );

Author: Kieran Barnes

Kieran is a PHP developer with 15 years commercial experience. Specialist in WordPress, CakePHP, CubeCart and all things PHP.

1 thought on “[Snippet] Removing “Sort By” in Woocommerce”

  1. Hi,
    nice snipsets in your page!.
    I inserted this snipset into my functions.php but it did not remove the Sort by.

    Also is it possible to delete the “Show XX Products” and let put all products in one page ?

Leave a Reply

Your email address will not be published. Required fields are marked *