Merge pull request #21658 from woocommerce/fix/21653

Revert show shipping behavior change
This commit is contained in:
Claudiu Lodromanean 2018-10-29 11:20:15 -07:00 committed by GitHub
commit 2829c5ad13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

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