From 874ee8895d068c6d9f81718355ec6b9b9ea4f240 Mon Sep 17 00:00:00 2001 From: claudiulodro Date: Wed, 24 Oct 2018 13:09:32 -0700 Subject: [PATCH] Revert show shipping behavior change --- includes/class-wc-cart.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/includes/class-wc-cart.php b/includes/class-wc-cart.php index 1b3c3fda2be..9b671ac64c8 100644 --- a/includes/class-wc-cart.php +++ b/includes/class-wc-cart.php @@ -1374,11 +1374,6 @@ class WC_Cart extends WC_Legacy_Cart { } } - // If we're on the cart page, the user has not calculated shipping, hide the area. - if ( is_cart() && ! $this->get_customer()->has_calculated_shipping() ) { - return false; - } - return apply_filters( 'woocommerce_cart_ready_to_calc_shipping', true ); }