36
A client wanted to completely remove the area on the Cart page where “You may be interested in…” cross-sell products show.
This is helpful if business needs change at some time and you don’t want to manually remove cross-sells from each single product in your store by hand. Enjoy!
PHP Snippet: Remove Cross-Sells @ WooCommerce Cart Page
/**
* @snippet Hide Cross-sells @ Cart
* @how-to Get tutoraspire.com FREE
* @author Tutor Aspire
* @compatible WooCommerce 6
* @donate $9 https://tutoraspire.com
*/
remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );