Check if set
This commit is contained in:
parent
9e9183367f
commit
f7d52e5393
|
@ -226,6 +226,7 @@ class WC_Checkout {
|
|||
foreach ( $this->checkout_fields['shipping'] as $key => $field ) {
|
||||
if ( $this->posted['shiptobilling'] ) {
|
||||
|
||||
if ( isset( $this->posted[ str_replace( 'shipping_', 'billing_', $key ) ] ) )
|
||||
update_post_meta( $order_id, '_' . $key, $this->posted[ str_replace( 'shipping_', 'billing_', $key ) ] );
|
||||
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue