Skip to content

Commit

Permalink
closes #1745 for magento 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloebiz committed Jul 13, 2023
1 parent cfe6686 commit da12bd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion view/adminhtml/web/js/configapikey.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +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 () {
Expand Down

0 comments on commit da12bd8

Please sign in to comment.