How to remove Related & Upsell Products from ShopIsle

WooCommerce display Upsells & Related Products below product details in the single product page. WooCommerce allows you to remove Related Posts by using the following code in your child theme's functions.php file:

 * Remove related products output
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );

And to remove upsells, you can add the following code to your functions.php file

add_action( 'wp_loaded', function() {
	remove_action( 'woocommerce_after_single_product_summary', 'shop_isle_upsell_display', 15 );
} );

That should do it.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us