66
77/** @var $block \Magento\ConfigurableProduct\Block\Adminhtml\Product\Edit\Tab\Variations\Config\Matrix */
88/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
9+ /** @var \Magento\Framework\Escaper $escaper */
910?>
1011<?php
1112/** @var \Magento\Framework\Json\Helper\Data $jsonHelper */
@@ -29,7 +30,7 @@ $currencySymbol = $block->getCurrencySymbol();
2930 "<?= /* @noEscape */ $ block ->getData ('config/form ' ) ?> .<?= /* @noEscape */ $ block ->getModal () ?> ": {
3031 "component": "Magento_ConfigurableProduct/js/components/modal-configurable",
3132 "options": {"type": "slide",
32- "title": "<?= $ block ->escapeHtml (__ ('Create Product Configurations ' )) ?> "},
33+ "title": "<?= $ escaper ->escapeHtml (__ ('Create Product Configurations ' )) ?> "},
3334 "formName": "<?= /* @noEscape */ $ block ->getForm () ?> ",
3435 "isTemplate": false,
3536 "stepWizard": "<?= /* @noEscape */ $ block ->getData ('config/nameStepWizard ' ) ?> ",
@@ -55,8 +56,10 @@ $currencySymbol = $block->getCurrencySymbol();
5556 ?> .configurable_attribute_set_handler_modal",
5657 "wizardModalButtonName": "<?= /* @noEscape */ $ block ->getForm ()
5758 ?> .configurable.configurable_products_button_set.create_configurable_products_button",
58- "wizardModalButtonTitle": "<?= $ block ->escapeHtml (__ ('Edit Configurations ' )) ?> ",
59- "productAttributes":<?= /* @noEscape */ $ jsonHelper ->jsonEncode ($ block ->getProductAttributes ())?> ,
59+ "wizardModalButtonTitle": "<?= $ escaper ->escapeHtml (__ ('Edit Configurations ' )) ?> ",
60+ "productAttributes":<?= /* @noEscape */ $ jsonHelper ->jsonEncode (
61+ $ block ->getProductAttributes ()
62+ )?> ,
6063 "productUrl": "<?= /* @noEscape */ $ block ->getUrl ('catalog/product/edit ' , ['id ' => '%id% ' ]) ?> ",
6164 "variations": <?= /* @noEscape */ $ jsonHelper ->jsonEncode ($ block ->getProductMatrix ()) ?> ,
6265 "currencySymbol": "<?= /* @noEscape */ $ currencySymbol ?> ",
0 commit comments