Skip to content

Commit b6f2b5c

Browse files
author
rani-webkul
committed
Resolved edit configurable product from cart doesn't show selected swatch options #24306
1 parent 39cfaa7 commit b6f2b5c

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)