Skip to content

Commit

Permalink
Improved text for new config to show monkey image in order grid.
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiagoebizmarts committed Dec 15, 2016
1 parent 6bb9a00 commit 9892063
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/code/community/Ebizmarts/MailChimp/Model/Api/Batches.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ public function _sendEcommerceBatch($mailchimpStoreId)
$batchArray['operations'] = array_merge($batchArray['operations'], $ordersCanceledArray);
}
try {
/**
* @var $mailchimpApi \Ebizmarts_Mailchimp
*/
$mailchimpApi = Mage::helper('mailchimp')->getApi();
if (!empty($batchArray['operations'])) {
$batchJson = json_encode($batchArray);
Expand Down Expand Up @@ -152,6 +155,10 @@ protected function _sendSubscriberBatches()
break;
}
}
$this->_getResults(0, false);
if ($subscriberLimit > 0) {
list($batchResponses[], $subscriberLimit) = $this->sendStoreSubscriberBatch(0, $subscriberLimit);
}
return $batchResponses;
}

Expand Down

0 comments on commit 9892063

Please sign in to comment.