Hide shipping on cart

To simplify the shopping cart by removing the shipping line entirely, use this code.

		/**
 * Hide shipping on cart
 */

add_filter('woocommerce_cart_ready_to_calc_shipping', 'sc_woo_hide_shipping_on_cart', 99);

function sc_woo_hide_shipping_on_cart($show_shipping) {

  if(is_cart()) {
    return false;
  }

  return $show_shipping;

}
	
View Raw Code ID: 91028