How to remove related products output in WooCommerce?

Posted by Prem Tiwari | Updated on

If you want to remove the related products output from the single product page in WooCommerce store, then this answer is for you as I have shared How to remove related products output in WooCommerce.

There are two ways to achieve this one is by using the remove_action and other is by CSS code.

How to remove related products output in WooCommerce?

Add the below code at the end of your theme’s functions.php file or you can also add the below code inside your site-specific plugin.

Remove related products output using CSS

This is another ways to remove related products output. Add the below CSS code in your theme’s style.css file.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers