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.
2 parents 94bcbc5 + 85809dc commit 949fd96Copy full SHA for 949fd96
app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.js
@@ -754,7 +754,7 @@ define([
754
$widget.options.jsonConfig.optionPrices
755
]);
756
757
- if (checkAdditionalData['update_product_preview_image'] === '1') {
+ if (parseInt(checkAdditionalData['update_product_preview_image'], 10) === 1) {
758
$widget._loadMedia();
759
}
760
0 commit comments