I am trying to remove an action that displays the upsell (related product) on the product-single.php
I've searched for a solution and am not able to find why this might not be working.
I'm writing a plugin that will use the product upsells linked to a product to provide a combo to add to the cart. I'm able to add an action to put my products (upsells) where I want, but I'm not able to remove the default woocommerce upsells.
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_upsell_display', 15);
you can see the product below the text "You may also like…" should all be removed.
Since I want it to be an installable plugin, I can't just put into functions or modify the product template. Thanks in advance for the help.