Skip to content

Commit b692841

Browse files
ENGCOM-5716: Resolved edit configurable product from cart doesn't show selected swatch options #24306 #24308
- Merge Pull Request #24308 from rani-webkul/magento2:24306 - Merged commits: 1. b6f2b5c
2 parents db43c11 + b6f2b5c commit b692841

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)