Skip to content

Commit

Permalink
Merge pull request #32 from MEEVO-Healthcare-GmbH/master
Browse files Browse the repository at this point in the history
add jsonSwatchImageSizeConfig to fix rendering of swatch-images
  • Loading branch information
peterjaap committed Jan 4, 2019
2 parents a523fe7 + 394b17f commit 5e2812a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/frontend/templates/product/view/renderer.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"jsonConfig": null<? /* @escapeNotVerified */ //echo $swatchOptions = $block->getJsonConfig() ?>,
"jsonSwatchConfig": <?php /* @noEscape */ echo $block->getJsonSwatchConfig(); ?>,
"mediaCallback": "<?= /* @escapeNotVerified */ $block->getMediaCallback() ?>",
"gallerySwitchStrategy": "<?php /* @escapeNotVerified */ echo $block->getVar('gallery_switch_strategy',
'Magento_ConfigurableProduct') ?: 'replace'; ?>"
"gallerySwitchStrategy": "<?php /* @escapeNotVerified */ echo $block->getVar('gallery_switch_strategy','Magento_ConfigurableProduct') ?: 'replace'; ?>",
"jsonSwatchImageSizeConfig": <?php /* @noEscape */ echo $block->getJsonSwatchSizeConfig() ?>
},
"Magento_Swatches/js/configurable-customer-data": {
"swatchOptions": null<?php /* @noEscape */ //echo $swatchOptions ?>
Expand Down

0 comments on commit 5e2812a

Please sign in to comment.