File tree 1 file changed +17
-0
lines changed
app/code/Magento/Customer/view/frontend/templates/form
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,23 @@ $formData = $block->getFormData();
131
131
</div>
132
132
</div>
133
133
134
+ <?php if ($ addressHelper ->isVatAttributeVisible ()): ?>
135
+ <?php $ _vatidValidationClass = $ addressHelper ->getAttributeValidationClass ('vat_id ' ); ?>
136
+ <div class="field taxvat">
137
+ <label class="label" for="vat_id">
138
+ <span><?= /* @noEscape */ $ block ->getAttributeData ()->getFrontendLabel ('vat_id ' ) ?> </span>
139
+ </label>
140
+ <div class="control">
141
+ <input type="text"
142
+ name="vat_id"
143
+ value="<?= $ escaper ->escapeHtmlAttr ($ formData ->getVatId ()) ?> "
144
+ title="<?= /* @noEscape */ $ block ->getAttributeData ()->getFrontendLabel ('vat_id ' ) ?> "
145
+ class="input-text <?= $ escaper ->escapeHtmlAttr ($ _vatidValidationClass ) ?> "
146
+ id="vat_id">
147
+ </div>
148
+ </div>
149
+ <?php endif ; ?>
150
+
134
151
<div class="field country required">
135
152
<label for="country" class="label">
136
153
<span><?= /* @noEscape */ $ block ->getAttributeData ()->getFrontendLabel ('country_id ' ) ?> </span>
You can’t perform that action at this time.
0 commit comments