Home Remove subtotal and Shipping calculator block in Woocommerce cart totals section
Reply: 0

Remove subtotal and Shipping calculator block in Woocommerce cart totals section

user625
1#
user625 Published in June 20, 2018, 12:01 am

In woocommerce, I am using the following to remove the shipping block in cart totals section bloc:

 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 );

But in that cart totals section bloc there are some other things like the cart Subtotal and Total.

I just need to keep only Total

Any help is welcome.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.387269 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO