How to Remove WooCommerce Related Products

Some Store owners like to keep their product pages as clutter free as possible. They want to remove the all the unnecessary stuff and keep the focus of the page about the particular product.

On WooCommerce below the single product page, you will find 3 related products. In this tutorial, we will show you how to remove these related products using a simple code.

This single line of code should be enough to disable the related products from showing up.

Where Should You Insert this Code

You can use one of two methods to insert this code:

Method 1: Code Snippets plugin
You can use a plugin like Code Snippets to add this to your WooCommerce website.

Method 2: Child Theme
The safe choice would be creating a child theme and insert this code in child themes functions.php

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.