We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4597db commit d09ce7dCopy full SHA for d09ce7d
includes/data/mutation/class-checkout-mutation.php
@@ -44,7 +44,7 @@ public static function is_registration_required() {
44
* @return bool
45
*/
46
protected static function maybe_skip_fieldset( $fieldset_key, $data ) {
47
- if ( 'shipping' === $fieldset_key && ( ! $data['ship_to_different_address'] || ! \WC()->cart->needs_shipping_address() ) ) {
+ if ( 'shipping' === $fieldset_key && ( ! $data['ship_to_different_address'] && ! \WC()->cart->needs_shipping_address() ) ) {
48
return true;
49
}
50
0 commit comments