Skip to content

Commit 5de3ccf

Browse files
authored
ENGCOM-5716: Resolved edit configurable product from cart doesn't show selected swatch options #24306 #24308
2 parents 121caa9 + b692841 commit 5de3ccf

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
@@ -750,7 +750,7 @@ define([
750750

751751
$(document).trigger('updateMsrpPriceBlock',
752752
[
753-
parseInt($this.attr('index'), 10) + 1,
753+
_.findKey($widget.options.jsonConfig.index, $widget.options.jsonConfig.defaultValues),
754754
$widget.options.jsonConfig.optionPrices
755755
]);
756756

0 commit comments

Comments
 (0)