Skip to content

Commit 2c76b48

Browse files
author
Bomko, Alex(abomko)
committed
Merge pull request #3 from magento-goinc/MAGETWO-44927
MAGETWO-44927: Two products are added to shopping cart when MAP is enabled + Production mode
2 parents 3724b5c + a9bd089 commit 2c76b48

File tree

1 file changed

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

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,6 @@ define([
210210
this.$popup.find(this.options.msrpLabelId).html(this.options.msrpPrice);
211211
this.$popup.find(this.options.priceLabelId).html(this.options.realPrice);
212212
this.$popup.dropdownDialog(this.popUpOptions).dropdownDialog('open');
213-
this.$popup.find('button').on('click', function () {
214-
if (this.options.addToCartButton) {
215-
$(this.options.addToCartButton).click();
216-
}
217-
}.bind(this));
218213
this._toggle(this.$popup);
219214

220215
if (!this.options.isSaleable) {

0 commit comments

Comments
 (0)