How to Remove Related Products from WooCommerce Products

By ThemesDNA1 min read

Share:

WooCommerce has several tools to improve your online store. This includes the Related Products area on product pages, which helps shoppers find additional products. However, you might want to remove the related products section from your WooCommerce product pages for a variety of reasons, such as a cleaner product page design, increased conversion rates, improved load times, or other factors.

Add below code snippet to the functions.php file of your theme to remove related products from WooCommerce product pages:

// Remove related products from WooCommerce product pages
remove_action('woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20);

If you ever decide to enable related products section again, simply remove or comment out this code, and the related products will reappear.

Premium WordPress themes Made for WordPress   /   Ready for your story

Ready to Build?

Your next great website starts here.

Build more websites with one flexible collection—and keep every theme for life.

  • 56+ themes
  • Lifetime updates
  • Unlimited websites
  • No renewals

The complete collection

$75

One payment. No renewals.

Get the Themes Bundle — $75