Skip to main content
Woocommerce

How to Hide cross-sell product on Cart page

By September 5, 2023September 18th, 2023No Comments1 min read

Sometimes, WooCommerce Shop owner want to hide cross-sell product on Cart page.

Cross-sell products on Cart page.

Cross-sell products on Cart page.

So if you want to hide cross-sells product on cart page then you can do it easily to add simple code snippet which i am going to add below

Where add code:

You can add upper code to your site child theme functions.php file. Also, you can add this custom code to your site to using any third party code snippets plugin. Also you can try this plugin ( https://wordpress.org/plugins/code-snippets/ ). To add your custom code.

After adding above code to your site you will see that, cross-cells product from the cart page. Same as below screenshot.

Remove cross-sell product

Remove cross-sell product

That’s All.

Leave a Reply