From caa382a6113fba19b2290d2ba2b35761bc151242 Mon Sep 17 00:00:00 2001 From: Andrew Benbow Date: Fri, 28 Mar 2014 10:38:48 +0000 Subject: [PATCH] Update form-shipping.php --- templates/checkout/form-shipping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/checkout/form-shipping.php b/templates/checkout/form-shipping.php index 93e22bd5aee..c62467d1c3c 100644 --- a/templates/checkout/form-shipping.php +++ b/templates/checkout/form-shipping.php @@ -10,7 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
- cart->needs_shipping() || apply_filters('woocommerce_override_needs_shipping' , false ) == true ) && ! WC()->cart->ship_to_billing_address_only() ) : ?> + cart->needs_shipping() || WC()->cart->needs_shipping_address() == true ) && ! WC()->cart->ship_to_billing_address_only() ) : ?>