Skip to content

Commit 4362a54

Browse files
authored
Merge pull request #32 from magento-tsg-csl3/MC-42372
MC-42372: [MSI] Capcha is absent and "login" button displayed incorect
2 parents 7b4d36e + ef1315b commit 4362a54

File tree

1 file changed

+9
-3
lines changed
  • ReCaptchaStorePickup/Block/LayoutProcessor/Checkout

1 file changed

+9
-3
lines changed

ReCaptchaStorePickup/Block/LayoutProcessor/Checkout/Onepage.php

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)