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 One-time payment   /   Lifetime updates

Ready to Build?

Get the ThemesDNA bundle.

Get all premium ThemesDNA themes with lifetime updates and unlimited website usage for a one-time payment.

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

The complete premium theme bundle

$75

One payment. No renewals.

Get the ThemesDNA Bundle — $75