Home » WooCommerce: Remove Cross-Sells @ Cart Page

WooCommerce: Remove Cross-Sells @ Cart Page

by Tutor Aspire

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!

WooCommerce: remove cross-sells on the Cart page
WooCommerce: remove cross-sells on the Cart page

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' );

You may also like