Remove Related Products in WooCommerce latest version
To remove related products on a WooCommerce product page, Use the following code:
Add the following code at the end of your functions.php file located in wp-content/themes/your-theme-name/
add_filter('woocommerce_product_related_posts_query', '__return_empty_array', 100);
That’s it