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)
4848 $ jsLayout ['components ' ]['checkout ' ]['children ' ]['steps ' ]['children ' ]['store-pickup ' ]['children ' ]
4949 ['store-selector ' ]['children ' ]['customer-email ' ]['children ' ]['additional-login-form-fields ' ]['children ' ]
5050 ['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 );
5154 } else {
5255 if (isset ($ jsLayout ['components ' ]['checkout ' ]['children ' ]['steps ' ]['children ' ]['store-pickup ' ]['children ' ]
5356 ['store-selector ' ]['children ' ]['customer-email ' ]['children ' ]['additional-login-form-fields ' ]['children ' ]
54- ['recaptcha ' ]['settings ' ])) {
57+ ['recaptcha ' ])
58+ ) {
5559 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 ' ]);
5864 }
5965 }
6066
You can’t perform that action at this time.
0 commit comments