We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a31a1cc commit 30fe531Copy full SHA for 30fe531
app/code/Magento/Msrp/view/base/web/js/msrp.js
@@ -15,6 +15,7 @@ define([
15
options: {
16
showAddToCart: true,
17
submitUrl: '',
18
+ cartButtonId: '',
19
singleOpenDropDown: true,
20
dialog: {}, // Options for mage/dropdown
21
dialogDelay: 500, // Delay in ms after resize dropdown shown again
@@ -70,6 +71,7 @@ define([
70
71
} else if (this.options.origin === 'tier') {
72
this.initTierPopup();
73
}
74
+ $(this.options.cartButtonId).on('click', this._addToCartSubmit.bind(this));
75
},
76
77
/**
0 commit comments