In this tutorial, I am going to share how to remove shipping calculator from WooCoomerce cart page. There are two ways to remove the shipping calculator from cart page.
You can remove shipping calculator from cart page by following the below steps:
Step 1 – After login to your WordPress admin and navigate to the WooCommerce => Settings=>Shipping.
Step 2 – Uncheck “Enable the shipping calculator on the cart page”.
Step 3 – After Save the settings, go to the cart page the shipping calculator has been removed.
You can also remove the shipping calculator from WooCommerce cart page by using the WooCommerce hooks. Add the following snippet to your functions.php file
1 2 3 4 5 6 7 8 9 10 11 | function disable_shipping_calc_on_cart( $show_shipping ) { if( is_cart() ) { return false; } return $show_shipping; } add_filter( 'woocommerce_cart_ready_to_calc_shipping', 'disable_shipping_calc_on_cart', 99 ); |
I hope this tutorial helps you, if you have any questions regarding WordPress, then feel free to put your comments in below comment section. Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool WordPress tutorials.
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.
Article Tags: woocommerce tutorial, woocommerce tutorials, wordpress tutorial, wordpress tutorial for beginner, wordpress tutorial for beginners, wordpress tutorials for beginners, wordpress tutorils, wordpress woocommerce tutorial