We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e7c98c commit ecf0948Copy full SHA for ecf0948
app/code/Magento/Swatches/view/frontend/templates/product/view/renderer.phtml
@@ -16,8 +16,10 @@
16
"jsonSwatchConfig": <?php /* @escapeNotVerified */
17
echo $swatchOptions = $block->getJsonSwatchConfig(); ?>,
18
"mediaCallback": "<?php /* @escapeNotVerified */ echo $block->getMediaCallback() ?>",
19
- "gallerySwitchStrategy": "<?php /* @escapeNotVerified */ echo $block->getVar('gallery_switch_strategy',
20
- 'Magento_ConfigurableProduct') ?: 'replace'; ?>"
+ "gallerySwitchStrategy": "<?php /* @escapeNotVerified */ echo $block->getVar(
+ 'gallery_switch_strategy',
21
+ 'Magento_ConfigurableProduct'
22
+ ) ?: 'replace'; ?>"
23
}
24
25
0 commit comments