checkout_index_index.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * MageSpecialist
  5. *
  6. * NOTICE OF LICENSE
  7. *
  8. * This source file is subject to the Open Software License (OSL 3.0)
  9. * that is bundled with this package in the file LICENSE.txt.
  10. * It is also available through the world-wide-web at this URL:
  11. * http://opensource.org/licenses/osl-3.0.php
  12. * If you did not receive a copy of the license and are unable to
  13. * obtain it through the world-wide-web, please send an email
  14. * to info@magespecialist.it so we can send you a copy immediately.
  15. *
  16. * @category MSP
  17. * @package MSP_ReCaptcha
  18. * @copyright Copyright (c) 2017 Skeeller srl (http://www.magespecialist.it)
  19. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  20. */
  21. -->
  22. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  23. xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  24. <body>
  25. <referenceBlock name="checkout.root">
  26. <arguments>
  27. <argument name="jsLayout" xsi:type="array">
  28. <item name="components" xsi:type="array">
  29. <item name="checkout" xsi:type="array">
  30. <item name="children" xsi:type="array">
  31. <item name="steps" xsi:type="array">
  32. <item name="children" xsi:type="array">
  33. <item name="shipping-step" xsi:type="array">
  34. <item name="children" xsi:type="array">
  35. <item name="shippingAddress" xsi:type="array">
  36. <item name="children" xsi:type="array">
  37. <item name="customer-email" xsi:type="array">
  38. <item name="children" xsi:type="array">
  39. <item name="msp_recaptcha" xsi:type="array">
  40. <item name="component" xsi:type="string">MSP_ReCaptcha/js/reCaptcha</item>
  41. <item name="displayArea" xsi:type="string">additional-login-form-fields</item>
  42. <item name="configSource" xsi:type="string">checkoutConfig</item>
  43. <item name="reCaptchaId" xsi:type="string">msp-recaptcha-checkout-inline-login</item>
  44. <item name="zone" xsi:type="string">login</item>
  45. </item>
  46. </item>
  47. </item>
  48. </item>
  49. </item>
  50. </item>
  51. </item>
  52. </item>
  53. </item>
  54. <item name="authentication" xsi:type="array">
  55. <item name="children" xsi:type="array">
  56. <item name="msp_recaptcha" xsi:type="array">
  57. <item name="component" xsi:type="string">MSP_ReCaptcha/js/reCaptcha</item>
  58. <item name="displayArea" xsi:type="string">additional-login-form-fields</item>
  59. <item name="configSource" xsi:type="string">checkoutConfig</item>
  60. <item name="reCaptchaId" xsi:type="string">msp-recaptcha-checkout-login</item>
  61. <item name="zone" xsi:type="string">login</item>
  62. <item name="badge" xsi:type="string">inline</item>
  63. </item>
  64. </item>
  65. </item>
  66. </item>
  67. </item>
  68. </item>
  69. </argument>
  70. </arguments>
  71. </referenceBlock>
  72. </body>
  73. </page>