Skip to content

Commit 85809dc

Browse files
MC-19669: Product images are not loaded when switching between variations
1 parent 0b03922 commit 85809dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ define([
754754
$widget.options.jsonConfig.optionPrices
755755
]);
756756

757-
if (parseInt(checkAdditionalData['update_product_preview_image']) === 1) {
757+
if (parseInt(checkAdditionalData['update_product_preview_image'], 10) === 1) {
758758
$widget._loadMedia();
759759
}
760760

0 commit comments

Comments
 (0)