free.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!--
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. -->
  7. <div class="payment-method" data-bind="css: {'_active': (getCode() == isChecked())}, visible: isAvailable()">
  8. <div class="payment-method-title field choice">
  9. <input type="radio"
  10. name="payment[method]"
  11. class="radio"
  12. data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()"/>
  13. <label data-bind="attr: {'for': getCode()}" class="label"><span data-bind="text: getTitle()"></span></label>
  14. </div>
  15. <div class="payment-method-content">
  16. <!-- ko foreach: getRegion('messages') -->
  17. <!-- ko template: getTemplate() --><!-- /ko -->
  18. <!--/ko-->
  19. <div class="payment-method-billing-address">
  20. <!-- ko foreach: $parent.getRegion(getBillingAddressFormName()) -->
  21. <!-- ko template: getTemplate() --><!-- /ko -->
  22. <!--/ko-->
  23. </div>
  24. <div class="checkout-agreements-block">
  25. <!-- ko foreach: $parent.getRegion('before-place-order') -->
  26. <!-- ko template: getTemplate() --><!-- /ko -->
  27. <!--/ko-->
  28. </div>
  29. <div class="actions-toolbar">
  30. <div class="primary">
  31. <button class="action primary checkout"
  32. type="submit"
  33. data-bind="
  34. click: placeOrder,
  35. attr: {title: $t('Place Order')},
  36. css: {disabled: !isPlaceOrderActionAllowed()}
  37. ">
  38. <span data-bind="i18n: 'Place Order'"></span>
  39. </button>
  40. </div>
  41. </div>
  42. </div>
  43. </div>