Skip to content

Commit 2b42295

Browse files
committed
ACP2E-1784: update qty from wishlist to pdp for grouped and bundle
1 parent 3a3f3f5 commit 2b42295

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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
@@ -97,12 +97,12 @@ define([
9797
$.each(queryParams, $.proxy(function (key, value) {
9898
options.each(function(index, option) {
9999
if ( option.name === key ) {
100-
$(option).val(value);
100+
$(option).attr('value', value);
101101
}
102102
});
103103
qtys.each(function(index, qty) {
104104
if (qty.name === key) {
105-
$(qty).val(value);
105+
$(qty).attr('value', value);
106106
}
107107
});
108108
}, this));

app/code/Magento/GroupedProduct/view/frontend/web/js/grouped-product.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ define([
5656
qtys.each(function(index, qty) {
5757
var nameSelector = qtyNameSelector.concat('[', key, ']');
5858
if ( qty.name === nameSelector ) {
59-
qty.value = value;
59+
$(qty).attr('value', value);
6060
}
6161
})
6262
}, this));

0 commit comments

Comments
 (0)