How to Remove Related Products on a WooCommerce Product Page

logo woocommerce

On a single product page, WooCommerce shows related products by default. Here’s the code snippet you need to put in your theme’s functions.php in order to disable this feature:

If you’re using a theme designed specifically for WooCommerce, you might be able to remove the related posts without any code by using the theme customizer.

About Jean Galea

Jean Galea is a WordPress developer, entrepreneur and padel player. He is the founder of WP Mayor, the plugins WP RSS Aggregator and EDD Bookings, as well as the Mastermind.fm podcast. His personal blog can be found at jeangalea.com.

Let's block ads! (Why?)