In this short tutorial we see how we can remove the recommended products block from the WooCommerce cart.
You may want to keep the Cart page cleaner or simply because you are adapting the design.
With this hack you can do it. To do this you have to add the following code to the functions.php file of your template
Video Tutorial
Subscribe to my channel:
To do this we need to add a line of code to our template.
But don't be scared, it's very simple.
We go to wp-content/themes/our-template and look for the functions.php file
and add the following code at the end
remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );
If everything went well you should see the shopping cart without the recommended cross-sell or Cross Sell products.
I hope it will be useful to you 😉