Skip to content

Commit 533d4f1

Browse files
committed
ACP2E-1784: update qty from wishlist to pdp for bundle.
1 parent c521af0 commit 533d4f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Bundle/view/base/web/js/price-bundle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ define([
4949
// Override defaults with URL query parameters and/or inputs values
5050
this._overrideDefaults();
5151

52-
options.trigger('change');
5352
qty.trigger('change');
5453
},
5554

@@ -98,12 +97,13 @@ define([
9897
$.each(queryParams, $.proxy(function (key, value) {
9998
options.each(function(index, option) {
10099
if ( option.name === key ) {
101-
$(option).attr('value', value);
102100
$(option).val(value).change();
101+
$(option).attr('value', value);
103102
}
104103
});
105104
qtys.each(function(index, qty) {
106105
if (qty.name === key) {
106+
$(qty).val(value);
107107
$(qty).attr('value', value);
108108
}
109109
});

0 commit comments

Comments
 (0)