Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove Shipping from Woocommerce cart? [closed]

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

like image 766
Jakub Lang Avatar asked May 18 '16 16:05

Jakub Lang


People also ask

How to hide a shipping method on WooCommerce cart page?

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.

How to turn off shipping calculator in WooCommerce?

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.

How do I disable the shipping calculator on the cart page?

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".

How do I set up a shipping zone in WooCommerce?

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


2 Answers

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 );
like image 149
Sark Avatar answered Oct 14 '22 22:10

Sark


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"

like image 39
Purvik Dhorajiya Avatar answered Oct 14 '22 22:10

Purvik Dhorajiya