Skip to content

Commit f272062

Browse files
committed
Merge pull request #81 from AnastasiaBuniakEPAM/JS-323
JS-323: Gallery setting for configurable product -Static test fix
2 parents 39aa50f + 1cda33a commit f272062

File tree

1 file changed

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

1 file changed

+4
-2
lines changed

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@
1313
"[data-role=swatch-options]": {
1414
"Magento_Swatches/js/swatch-renderer": {
1515
"jsonConfig": <?php /* @escapeNotVerified */ echo $swatchOptions = $block->getJsonConfig(); ?>,
16-
"jsonSwatchConfig": <?php /* @escapeNotVerified */ echo $swatchOptions = $block->getJsonSwatchConfig(); ?>,
16+
"jsonSwatchConfig": <?php /* @escapeNotVerified */
17+
echo $swatchOptions = $block->getJsonSwatchConfig(); ?>,
1718
"mediaCallback": "<?php /* @escapeNotVerified */ echo $block->getMediaCallback() ?>",
18-
"onlyMainImg": <?php /* @escapeNotVerified */ echo $block->getVar('change_only_base_image', 'Magento_Swatches') ?: 'false'; ?>
19+
"onlyMainImg": <?php /* @escapeNotVerified */ echo $block->getVar('change_only_base_image',
20+
'Magento_Swatches') ?: 'false'; ?>
1921
}
2022
}
2123
}

0 commit comments

Comments
 (0)