By default, WooCommerce displays a nice and useful drop-down select to re-order products on the shop page. But many of you wonder how this can be removed. Here is how to do it!

Remove Default Products Ordering Dropdown Select

It’s a simple snippet that will save you and will remove that products ordering dropdown select easily, all you have to do is to is adding it to the file called functions.php in your theme folder or use a dedicated plugin to add snippets.

<?php // Do not include this if already open! Code goes in theme functions.php.

/**
 * Remove WooCommerce default catalog ordering from shop page.
 */
add_action( 'after_setup_theme', 'remove_woocommerce_catalog_ordering', 1 );

function remove_woocommerce_catalog_ordering() {
	remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 ); // If using Storefront, replace 30 by 10.
}