File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Catalog/view/frontend/templates/product/view/options/type Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ $class = ($_option->getIsRequire()) ? ' required' : '';
33
33
<input type="text"
34
34
id="options_<?php echo $ _option ->getId () ?> _text"
35
35
class="input-text product-custom-option"
36
- <?php if (!empty ($ _textValidate )) {
37
- echo ' data-validate= ' . json_encode ($ _textValidate );
38
- } ?>
36
+ <?php if (!empty ($ _textValidate )) {?>
37
+ data-validate='<?php echo json_encode ($ _textValidate );?> '
38
+ <?php } ?>
39
39
name="options[<?php echo $ _option ->getId () ?> ]"
40
40
value="<?php echo $ block ->escapeHtml ($ block ->getDefaultValue ()) ?> "/>
41
41
<?php elseif ($ _option ->getType () == \Magento \Catalog \Model \Product \Option::OPTION_TYPE_AREA ): ?>
You can’t perform that action at this time.
0 commit comments