[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 );

One 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 *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>