16 <fieldset
class=
"fieldset payment items ccard <?= /* @noEscape */ $code ?>" 17 id=
"payment_form_<?= /* @noEscape */ $code ?>" style=
"display: none;">
18 <div
class=
"field type required">
19 <label
for=
"<?= /* @noEscape */ $code ?>_cc_type" class=
"label">
20 <span><?=
$block->escapeHtml(
__(
'Credit Card Type')) ?></span>
23 <select
id=
"<?= /* @noEscape */ $code ?>_cc_type" 25 "creditCardType":{"creditCardTypeContainer":"#<?= /* @noEscape */ $code ?>_cc_type_ss_div"} 27 name=
"payment[cc_type]" data-validate=
'{ 29 "validate-cc-type-select":"#<?= /* @noEscape */ $code ?>_cc_number" 32 <option
value=
""><?=
$block->escapeHtml(
__(
'--Please Select--')) ?></option>
33 <?php
foreach (
$block->getCcAvailableTypes() as $typeCode => $typeName): ?>
34 <option
value=
"<?= $block->escapeHtml($typeCode) ?>" 35 <?php
if ($typeCode ==
$ccType): ?> selected=
"selected"<?php
endif; ?>>
42 <div
class=
"field number required">
43 <label
for=
"<?= /* @noEscape */ $code ?>_cc_number" class=
"label">
44 <span><?=
$block->escapeHtml(
__(
'Credit Card Number')) ?></span>
47 <input type=
"number" id=
"<?= /* @noEscape */ $code ?>_cc_number" name=
"payment[cc_number]" 48 title=
"<?= $block->escapeHtml(__('Credit Card Number')) ?>" class=
"input-text" value=
"" 50 "required-number":true, 51 "validate-cc-number":"#<?= /* @noEscape */ $code ?>_cc_type", 52 "validate-cc-type":"#<?= /* @noEscape */ $code ?>_cc_type" 56 <div
class=
"field date required" id=
"<?= /* @noEscape */ $code ?>_cc_type_exp_div">
57 <label
for=
"<?= /* @noEscape */ $code ?>_expiration" class=
"label">
58 <span><?=
$block->escapeHtml(
__(
'Expiration Date')) ?></span>
61 <div
class=
"fields group group-2">
62 <div
class=
"field no-label month">
64 <select
id=
"<?= /* @noEscape */ $code ?>_expiration" name=
"payment[cc_exp_month]" class=
"select month" 65 data-validate=
'{required:true, "validate-cc-exp":"#<?= /* @noEscape */ $code ?>_expiration_yr"}'>
66 <?php
foreach (
$block->getCcMonths() as $k => $v): ?>
67 <option
value=
"<?= /* @noEscape */ $k ? $block->escapeHtml($k) : '' ?>" 69 <?=
$block->escapeHtml($v) ?>
75 <div
class=
"field no-label year">
77 <select
id=
"<?= /* @noEscape */ $code ?>_expiration_yr" name=
"payment[cc_exp_year]" 78 class=
"select year" data-validate=
'{required:true}'>
79 <?php
foreach (
$block->getCcYears() as $k => $v): ?>
80 <option
value=
"<?= /* @noEscape */ $k ? $block->escapeHtml($k) : '' ?> 82 <?=
$block->escapeHtml($v) ?>
91 <?php
if (
$block->hasVerification()): ?>
92 <div
class=
"field cvv required" id=
"<?= /* @noEscape */ $code ?>_cc_type_cvv_div">
93 <label
for=
"<?= /* @noEscape */ $code ?>_cc_cid" class=
"label">
94 <span><?=
$block->escapeHtml(
__(
'Card Verification Number')) ?></span>
97 <input type=
"number" title=
"<?= $block->escapeHtml(__('Card Verification Number')) ?>" 98 class=
"input-text cvv" id=
"<?= /* @noEscape */ $code ?>_cc_cid" name=
"payment[cc_cid]" value=
"" 99 data-validate=
'{"required-number":true, "validate-cc-cvn":"#<?= /* @noEscape */ $code ?>_cc_type"}' />
100 <?php
$content =
'<img src=\"' .
$block->getViewFileUrl(
'Magento_Checkout::cvv.png') .
'\" alt=\"' .
101 $block->escapeHtml(
__(
'Card Verification Number Visual Reference')) .
102 '\" title=\"' .
$block->escapeHtml(
__(
'Card Verification Number Visual Reference')) .
'\" />'; ?>
104 <a href=
"#" class=
"action cvv" title=
"<?= $block->escapeHtml(__('What is this?')) ?>" 105 data-
mage-init=
'{"tooltip": {"content": "<?= /* @noEscape */ $content ?>"}}'>
106 <span><?=
$block->escapeHtml(
__(
'What is this?')) ?></span>
112 <?=
$block->getChildHtml() ?>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
if( $form)() ?>< script > require(['jquery' mage mage