Skip to content

Commit 30fe531

Browse files
author
Volodymyr Zaets
committed
MAGETWO-44405: Unable to change item cart qty from item configure page
- Merge remote-tracking branch 'origin/MAGETWO-44405' into PR - Conflicts: app/code/Magento/Msrp/view/base/web/js/msrp.js
1 parent a31a1cc commit 30fe531

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Msrp/view/base/web/js

1 file changed

+2
-0
lines changed

app/code/Magento/Msrp/view/base/web/js/msrp.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ define([
1515
options: {
1616
showAddToCart: true,
1717
submitUrl: '',
18+
cartButtonId: '',
1819
singleOpenDropDown: true,
1920
dialog: {}, // Options for mage/dropdown
2021
dialogDelay: 500, // Delay in ms after resize dropdown shown again
@@ -70,6 +71,7 @@ define([
7071
} else if (this.options.origin === 'tier') {
7172
this.initTierPopup();
7273
}
74+
$(this.options.cartButtonId).on('click', this._addToCartSubmit.bind(this));
7375
},
7476

7577
/**

0 commit comments

Comments
 (0)