I need to remove shipping and shipping calculate from a cart. Is it possible to delete with hooks?
The template is: http://flatsome.uxthemes.com/cart/
WooCommerce Cart
Follow the given steps to hide a shipping method on the WooCommerce cart page. 1. Install Dynamic Shipping and Payments Plugin To install the Dynamic Shipping and Payments Plugin, you must install the Woosuite Core plugin and activate your Woosuite license key. We have created a Quick Start Guide to walk you through the installation process. 2.
Step 1 - There’s actually a setting for this: disable it under WooCommerce > Shipping Step 2 - Uncheck " Enable the shipping calculator on the cart page " Thanks, but I need delete not only "Calculations". Choice of shipping will remain : ( Try to disable "Enable shipping" options.
Step 1 - There’s actually a setting for this: disable it under WooCommerce > Shipping Step 2 - Uncheck " Enable the shipping calculator on the cart page " Thanks, but I need delete not only "Calculations".
To do this we’ll go to “WooCommerce” -> “Settings” again and choose the “Shipping” tab, the first time you enter that screen you should see something similar to this This is WooCommerce’s friendly reminder of how to set up a shipping zone, if you look below the reminder you’ll also see this
Add the following snippet to your functions.php file:
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 );
Please follow the below steps:
Step 1 - There’s actually a setting for this: disable it under WooCommerce > Shipping
Step 2 - Uncheck "Enable the shipping calculator on the cart page"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With