How to hide the sorting or classification of products in WooCommerce

Sometimes when we install Woocommerce, an excellent plugin to create an online store in WordPress or even an affiliate “store”, among other utilities, we have the problem that in our store we will see a filter that is often really ridiculous.

I refer of the filter or we could also call it product classification, which is shown by default in our store with WooCommerce whether we want it or not and it can be a headache because in the latest version there is nothing in the preferences of the plugin that allows us to disable it.

Screen capture:

And it is that on more than one occasion that sorting will be ridiculous in our store either because we do not have ratings to show, or that all products have been published at the same time or simply that it is ridiculous to classify our products for prices because we only have a few items that fit on one page.

So I leave you a possible solution, we will simply go to the Appearance> Editor inside our WordPress and there at the end of the code we will paste the following code:

.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    display: none;
}

Ready, this will not deleted the sorting, just will hide it.

 

And voila, this won’t really remove the sorting, it will just hide it and it won’t appear or bother you anymore.
It should be noted that it is possible that if your WordPress is updated, which some hosting do automatically, we will have to paste that code again. The code is nothing more than CSS.



Acepto donaciones de BAT's mediante el navegador Brave 🙂



Leave a Reply

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