File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
ReCaptchaStorePickup/Block/LayoutProcessor/Checkout Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,19 @@ public function process($jsLayout)
48
48
$ jsLayout ['components ' ]['checkout ' ]['children ' ]['steps ' ]['children ' ]['store-pickup ' ]['children ' ]
49
49
['store-selector ' ]['children ' ]['customer-email ' ]['children ' ]['additional-login-form-fields ' ]['children ' ]
50
50
['recaptcha ' ]['settings ' ] = $ this ->captchaUiConfigResolver ->get ($ key );
51
+ $ jsLayout ['components ' ]['checkout ' ]['children ' ]['steps ' ]['children ' ]['shipping-step ' ]['children ' ]
52
+ ['shippingAddress ' ]['children ' ]['customer-email ' ]['children ' ]
53
+ ['recaptcha ' ]['settings ' ] = $ this ->captchaUiConfigResolver ->get ($ key );
51
54
} else {
52
55
if (isset ($ jsLayout ['components ' ]['checkout ' ]['children ' ]['steps ' ]['children ' ]['store-pickup ' ]['children ' ]
53
56
['store-selector ' ]['children ' ]['customer-email ' ]['children ' ]['additional-login-form-fields ' ]['children ' ]
54
- ['recaptcha ' ]['settings ' ])) {
57
+ ['recaptcha ' ])
58
+ ) {
55
59
unset($ jsLayout ['components ' ]['checkout ' ]['children ' ]['steps ' ]['children ' ]['store-pickup ' ]['children ' ]
56
- ['store-selector ' ]['children ' ]['customer-email ' ]['children ' ]['additional-login-form-fields ' ]['children ' ]
57
- ['recaptcha ' ]['settings ' ]);
60
+ ['store-selector ' ]['children ' ]['customer-email ' ]['children ' ]['additional-login-form-fields ' ]
61
+ ['children ' ]['recaptcha ' ]);
62
+ unset($ jsLayout ['components ' ]['checkout ' ]['children ' ]['steps ' ]['children ' ]['shipping-step ' ]['children ' ]
63
+ ['shippingAddress ' ]['children ' ]['customer-email ' ]['children ' ]['recaptcha ' ]);
58
64
}
59
65
}
60
66
You can’t perform that action at this time.
0 commit comments