Remove the "Related products" section from single product pages.
add_action( 'init', function (): void {
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );
} );
Always add PHP to a staging site first, or have FTP or file manager access ready, so you can undo it if something goes wrong.
Related products are picked automatically by category and tag, and on small stores they can be a random mix. If they don’t help sales, this snippet removes them.
WooCommerce adds the section to woocommerce_after_single_product_summary at priority 20. The snippet removes that action on init, after WooCommerce has set up its template hooks. Upsells, which you choose by hand on each product, are not affected.
Open any product page. The “Related products” heading and grid should be gone.