diff --git a/includes/admin/meta-boxes/class-wc-meta-box-order-data.php b/includes/admin/meta-boxes/class-wc-meta-box-order-data.php index 6333450e1a4..5b5a622e22c 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-order-data.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-order-data.php @@ -405,7 +405,7 @@ class WC_Meta_Box_Order_Data { } } - if ( ! empty( self::$billing_fields ) ) { + if ( ! empty( self::$shipping_fields ) ) { foreach ( self::$shipping_fields as $key => $field ) { if ( ! isset( $field['id'] ) ){ $field['id'] = '_shipping_' . $key;