Skip to content

Commit 119b564

Browse files
committed
MAGETWO-52974: Configurable product options not saved when editing - for mainline
1 parent 97390b3 commit 119b564

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Swatches/view/frontend/templates/product/view

1 file changed

+2
-2
lines changed

app/code/Magento/Swatches/view/frontend/templates/product/view/renderer.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"[data-role=swatch-options]": {
1515
"Magento_Swatches/js/swatch-renderer": {
1616
"jsonConfig": <?= /* @escapeNotVerified */ $swatchOptions = $block->getJsonConfig() ?>,
17-
"jsonSwatchConfig": <?php /* @escapeNotVerified */ echo $block->getJsonSwatchConfig(); ?>,
17+
"jsonSwatchConfig": <?php /* @noEscape */ echo $block->getJsonSwatchConfig(); ?>,
1818
"mediaCallback": "<?= /* @escapeNotVerified */ $block->getMediaCallback() ?>",
1919
"gallerySwitchStrategy": "<?php /* @escapeNotVerified */ echo $block->getVar('gallery_switch_strategy',
2020
'Magento_ConfigurableProduct') ?: 'replace'; ?>"
2121
},
2222
"Magento_Swatches/js/configurable-customer-data": {
23-
"swatchOptions": <?php /* @escapeNotVerified */ echo $swatchOptions ?>
23+
"swatchOptions": <?php /* @noEscape */ echo $swatchOptions ?>
2424
}
2525
}
2626
}

0 commit comments

Comments
 (0)