Skip to content

Commit

Permalink
Merge pull request #1746 from mailchimp/Issue1745-2.1
Browse files Browse the repository at this point in the history
closes #1745 for magento 2.1
  • Loading branch information
gonzaloebiz authored Jul 14, 2023
2 parents b8bd973 + ca0d9d1 commit f8f5017
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions view/adminhtml/web/js/configapikey.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,11 @@ define(
self._changeAbandonedCart();
}
});


var ecommerceEnabled = $('#mailchimp_ecommerce_active').find(':selected').val();
var abandonedCartEnabled = $('#mailchimp_abandonedcart_active').find(':selected').val();
if (ecommerceEnabled == 0 && abandonedCartEnabled == 1) {
self._changeAbandonedCart();
}
},
_changeEcommerce: function () {
var self = this;
Expand Down

0 comments on commit f8f5017

Please sign in to comment.