Update form-shipping.php

This commit is contained in:
Andrew Benbow 2014-03-28 10:38:48 +00:00 committed by Mike Jolley
parent d0804490cd
commit caa382a611
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?> ?>
<div class="woocommerce-shipping-fields"> <div class="woocommerce-shipping-fields">
<?php if ( ( WC()->cart->needs_shipping() || apply_filters('woocommerce_override_needs_shipping' , false ) == true ) && ! WC()->cart->ship_to_billing_address_only() ) : ?> <?php if ( ( WC()->cart->needs_shipping() || WC()->cart->needs_shipping_address() == true ) && ! WC()->cart->ship_to_billing_address_only() ) : ?>
<?php <?php
if ( empty( $_POST ) ) { if ( empty( $_POST ) ) {