Remove SKU from WooCommerce product listings

In this tutorial we will see how we can remove SKU from WooCommerce product listings.

As you will see, we will do it in a very simple way with a small code that we have to add in our template.

As I always tell you, always make a backup copy before modifying our template, since any error will make our website not visible.

By default WooCommerce shows the sku in the tabs of each product as you can see in the following image:

remove sky woocommerce

Remove SKU from WooCommerce product listings

Here is the video tutorial:

Subscribe to my channel:  

To remove it we have to add the following code in the functions.php file of our template:

add_filter( 'wc_product_sku_enabled', '__return_false' );

Once added, as you can see, the SKU will no longer appear in your product file:

tab without sku woocommerce

I hope it will be useful to you 😉
regards

Leave a comment