Version Notes
1.2.7
--------
Bug Fixes:
Wrong default sender issue for Mandrill solved.
Webhooks error when loadByEmail(true) issue solved.
Added support for dropdown MailChimp groups.
Problem with checkout breaking with SagePay solved.
Enhancements:
Coding standards compatibility improved.
Download this release
Release Info
Developer | Ebizmarts Development Team |
Extension | Ebizmarts_MageMonkey |
Version | 1.2.7 |
Comparing to | |
See all releases |
Code changes from version 1.2.6.1 to 1.2.7
- app/code/community/Ebizmarts/AbandonedCart/Block/Email/Order/Items.php +8 -2
- app/code/community/Ebizmarts/AbandonedCart/Model/Cron.php +33 -26
- app/code/community/Ebizmarts/AbandonedCart/etc/config.xml +1 -1
- app/code/community/Ebizmarts/Autoresponder/Model/Cron.php +17 -8
- app/code/community/Ebizmarts/Autoresponder/etc/config.xml +1 -1
- app/code/community/Ebizmarts/MageMonkey/Block/Customer/Account/Lists.php +1 -1
- app/code/community/Ebizmarts/MageMonkey/Block/Lists.php +2 -2
- app/code/community/Ebizmarts/MageMonkey/Block/Signup.php +1 -1
- app/code/community/Ebizmarts/MageMonkey/Helper/Data.php +177 -126
- app/code/community/Ebizmarts/MageMonkey/Model/Cron.php +11 -40
- app/code/community/Ebizmarts/MageMonkey/Model/Feed/Updates.php +3 -1
- app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Export/Collection.php +1 -1
- app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Import/Collection.php +1 -1
- app/code/community/Ebizmarts/MageMonkey/Model/Observer.php +4 -1
- app/code/community/Ebizmarts/MageMonkey/etc/config.xml +1 -1
- app/code/community/Ebizmarts/Mandrill/Model/Email/Queue.php +53 -48
- app/code/community/Ebizmarts/Mandrill/Model/Email/Template.php +58 -48
- app/code/community/Ebizmarts/Mandrill/etc/config.xml +1 -1
- app/design/adminhtml/default/default/template/ebizmarts/abandonedcart/system/config/fieldset/hint.phtml +1 -1
- app/design/adminhtml/default/default/template/ebizmarts/autoresponder/system/config/fieldset/hint.phtml +1 -1
- app/design/adminhtml/default/default/template/ebizmarts/mandrill/system/config/fieldset/hint.phtml +1 -1
- app/design/adminhtml/default/default/template/magemonkey/system/config/fieldset/hint.phtml +1 -1
- app/design/frontend/base/default/template/magemonkey/checkout/subscribe.phtml +11 -11
- lib/Mandrill/Mandrill/Exceptions.php +3 -3
- lib/Mandrill/Mandrill/HttpError.php +5 -0
- lib/Mandrill/Mandrill/InvalidKey.php +8 -0
- lib/Mandrill/Mandrill/PaymentRequired.php +8 -0
- lib/Mandrill/Mandrill/UnknownSubaccount.php +8 -0
- lib/Mandrill/Mandrill/UnknownTemplate.php +5 -0
- lib/Mandrill/Mandrill/ValidationError.php +5 -0
- package.xml +12 -7
app/code/community/Ebizmarts/AbandonedCart/Block/Email/Order/Items.php
CHANGED
@@ -31,7 +31,7 @@ class Ebizmarts_AbandonedCart_Block_Email_Order_Items extends Mage_Sales_Block_I
|
|
31 |
$product = Mage::getModel('catalog/product')
|
32 |
->load($_item->getProductId());
|
33 |
$imageUrl = $product->getThumbnailUrl();
|
34 |
-
if ($product->getImage() == "no_selection" && $product->getTypeId() ==
|
35 |
$conf = Mage::getModel('catalog/product_type_configurable')->setProduct($product);
|
36 |
$simpleCollection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions();
|
37 |
foreach ($simpleCollection as $simpleProduct) {
|
@@ -39,8 +39,14 @@ class Ebizmarts_AbandonedCart_Block_Email_Order_Items extends Mage_Sales_Block_I
|
|
39 |
$imageUrl = $simpleProduct->getThumbnailUrl();
|
40 |
}
|
41 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
43 |
return $imageUrl;
|
44 |
}
|
45 |
-
|
46 |
}
|
31 |
$product = Mage::getModel('catalog/product')
|
32 |
->load($_item->getProductId());
|
33 |
$imageUrl = $product->getThumbnailUrl();
|
34 |
+
if ($product->getImage() == "no_selection" && $product->getTypeId() == Mage_Catalog_Model_Product_Type::TYPE_CONFIGURABLE) {
|
35 |
$conf = Mage::getModel('catalog/product_type_configurable')->setProduct($product);
|
36 |
$simpleCollection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions();
|
37 |
foreach ($simpleCollection as $simpleProduct) {
|
39 |
$imageUrl = $simpleProduct->getThumbnailUrl();
|
40 |
}
|
41 |
}
|
42 |
+
} elseif ($product->getImage() == "no_selection" && $product->getTypeId() == Mage_Catalog_Model_Product_Type::TYPE_GROUPED) {
|
43 |
+
$associatedProducts = $product->getTypeInstance(true)->getAssociatedProducts($product);
|
44 |
+
foreach ($associatedProducts as $simpleProduct) {
|
45 |
+
if ($simpleProduct->getImage() != "no_selection") {
|
46 |
+
$imageUrl = $simpleProduct->getThumbnailUrl();
|
47 |
+
}
|
48 |
+
}
|
49 |
}
|
50 |
return $imageUrl;
|
51 |
}
|
|
|
52 |
}
|
app/code/community/Ebizmarts/AbandonedCart/Model/Cron.php
CHANGED
@@ -24,6 +24,8 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
24 |
protected $_couponlength;
|
25 |
protected $_couponlabel;
|
26 |
protected $_sendcoupondays;
|
|
|
|
|
27 |
|
28 |
/**
|
29 |
*
|
@@ -99,17 +101,17 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
99 |
protected function _processRun($adapter, $run, $storeId)
|
100 |
{
|
101 |
// subtract days from latest run to get difference from the actual abandon date of the cart
|
102 |
-
$
|
103 |
if ($run == 1 && $this->_unit == Ebizmarts_AbandonedCart_Model_Config::IN_HOURS) {
|
104 |
-
$
|
105 |
} elseif ($run != 0) {
|
106 |
-
$
|
107 |
}
|
108 |
|
109 |
// set the top date of the carts to get
|
110 |
-
$expr = sprintf('DATE_SUB(%s, %s)', $adapter->quote(now()), $this->_getIntervalUnitSql($
|
111 |
if ($run == 0 && $this->_unit == Ebizmarts_AbandonedCart_Model_Config::IN_HOURS) {
|
112 |
-
$expr = sprintf('DATE_SUB(%s, %s)', $adapter->quote(now()), $this->_getIntervalUnitSql($
|
113 |
}
|
114 |
$from = new Zend_Db_Expr($expr);
|
115 |
|
@@ -136,14 +138,14 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
136 |
->getFirstItem();
|
137 |
if ($item) {
|
138 |
$status = $item->getCurrentStatus();
|
139 |
-
$
|
140 |
if (Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_ACTIVE, $storeId) && $status == 1) {
|
141 |
$abTesting = true;
|
142 |
-
$
|
143 |
}
|
144 |
}
|
145 |
if ($abTesting) {
|
146 |
-
$this->_mandrillTag .= '_' . $
|
147 |
$this->_sendcoupondays = Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_COUPON_SENDON, $storeId);
|
148 |
} else {
|
149 |
$this->_sendcoupondays = Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::COUPON_DAYS, $storeId);
|
@@ -160,8 +162,28 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
160 |
$ganalytics .= '&utm_campaign='.Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::GANALYTICS_CAMPAIGN, $storeId);
|
161 |
}
|
162 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
// for each cart of the current run
|
164 |
foreach ($collection as $quote) {
|
|
|
165 |
$quote = $this->_proccessCollection($quote, $storeId);
|
166 |
|
167 |
if (count($quote->getAllVisibleItems()) < 1) {
|
@@ -190,7 +212,7 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
190 |
//srand((double)microtime()*1000000);
|
191 |
$token = md5(rand(0, 9999999));
|
192 |
if ($abTesting) {
|
193 |
-
|
194 |
} else {
|
195 |
$url = Mage::getModel('core/url')->setStore($storeId)->getUrl('', array('_nosid' => true)) . 'ebizmarts_abandonedcart/abandoned/loadquote?id=' . $quote->getEntityId() . '&token=' . $token;
|
196 |
}
|
@@ -218,7 +240,7 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
218 |
}
|
219 |
|
220 |
// if days have passed proceed to send mail
|
221 |
-
if ($updatedAtDiff >= $
|
222 |
$mailsubject = $this->_getMailSubject($run, $storeId, $abTesting);
|
223 |
$templateId = $this->_getTemplateId($run, $storeId, $abTesting);
|
224 |
if ($this->_sendcoupon && $run + 1 == $this->_sendcoupondays) {
|
@@ -273,21 +295,6 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
273 |
}
|
274 |
}
|
275 |
}
|
276 |
-
if (Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_ACTIVE, $storeId)) {
|
277 |
-
$counterCollection = Mage::getModel('ebizmarts_abandonedcart/abtesting')->getCollection();
|
278 |
-
$defaultStore = Mage::app()->getStore($storeId)->getWebsite()->getDefaultStore();
|
279 |
-
$normalFilter = array('eq' => $storeId);
|
280 |
-
if ($storeId == $defaultStore->getId()) {
|
281 |
-
$newFilter = array('eq' => '0');
|
282 |
-
$collection->addFieldToFilter('store_id', array($normalFilter, $newFilter));
|
283 |
-
} else {
|
284 |
-
$collection->addFieldToFilter('store_id', $normalFilter);
|
285 |
-
}
|
286 |
-
$counter = $counterCollection->getFirstItem();
|
287 |
-
$counter->setCurrentStatus($counter->getCurrentStatus() + 1)
|
288 |
-
->save();
|
289 |
-
}
|
290 |
-
|
291 |
}
|
292 |
protected function _proccessCollection($quote, $storeId)
|
293 |
{
|
@@ -396,7 +403,7 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
396 |
$websiteid = Mage::getModel('core/store')->load($store)->getWebsiteId();
|
397 |
$collection = Mage::getModel('salesrule/rule')->getCollection()
|
398 |
->addFieldToFilter('name', array('like' => 'Abandoned coupon ' . $email))
|
399 |
-
->addFieldToFilter('
|
400 |
if (!count($collection)) {
|
401 |
|
402 |
$fromDate = date("Y-m-d");
|
24 |
protected $_couponlength;
|
25 |
protected $_couponlabel;
|
26 |
protected $_sendcoupondays;
|
27 |
+
protected $_suffix;
|
28 |
+
protected $_diff;
|
29 |
|
30 |
/**
|
31 |
*
|
101 |
protected function _processRun($adapter, $run, $storeId)
|
102 |
{
|
103 |
// subtract days from latest run to get difference from the actual abandon date of the cart
|
104 |
+
$this->_diff = $this->_days[$run];
|
105 |
if ($run == 1 && $this->_unit == Ebizmarts_AbandonedCart_Model_Config::IN_HOURS) {
|
106 |
+
$this->_diff -= $this->_days[0] / 24;
|
107 |
} elseif ($run != 0) {
|
108 |
+
$this->_diff -= $this->_days[$run - 1];
|
109 |
}
|
110 |
|
111 |
// set the top date of the carts to get
|
112 |
+
$expr = sprintf('DATE_SUB(%s, %s)', $adapter->quote(now()), $this->_getIntervalUnitSql($this->_diff, 'DAY'));
|
113 |
if ($run == 0 && $this->_unit == Ebizmarts_AbandonedCart_Model_Config::IN_HOURS) {
|
114 |
+
$expr = sprintf('DATE_SUB(%s, %s)', $adapter->quote(now()), $this->_getIntervalUnitSql($this->_diff, 'HOUR'));
|
115 |
}
|
116 |
$from = new Zend_Db_Expr($expr);
|
117 |
|
138 |
->getFirstItem();
|
139 |
if ($item) {
|
140 |
$status = $item->getCurrentStatus();
|
141 |
+
$this->_suffix = '';
|
142 |
if (Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_ACTIVE, $storeId) && $status == 1) {
|
143 |
$abTesting = true;
|
144 |
+
$this->_suffix = Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_MANDRILL_SUFFIX, $storeId);
|
145 |
}
|
146 |
}
|
147 |
if ($abTesting) {
|
148 |
+
$this->_mandrillTag .= '_' . $this->_suffix;
|
149 |
$this->_sendcoupondays = Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_COUPON_SENDON, $storeId);
|
150 |
} else {
|
151 |
$this->_sendcoupondays = Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::COUPON_DAYS, $storeId);
|
162 |
$ganalytics .= '&utm_campaign='.Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::GANALYTICS_CAMPAIGN, $storeId);
|
163 |
}
|
164 |
}
|
165 |
+
$this->_proccessQuotes($collection, $storeId, $abTesting, $ganalytics, $run);
|
166 |
+
if (Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_ACTIVE, $storeId)) {
|
167 |
+
$counterCollection = Mage::getModel('ebizmarts_abandonedcart/abtesting')->getCollection();
|
168 |
+
$defaultStore = Mage::app()->getStore($storeId)->getWebsite()->getDefaultStore();
|
169 |
+
$normalFilter = array('eq' => $storeId);
|
170 |
+
if ($storeId == $defaultStore->getId()) {
|
171 |
+
$newFilter = array('eq' => '0');
|
172 |
+
$collection->addFieldToFilter('store_id', array($normalFilter, $newFilter));
|
173 |
+
} else {
|
174 |
+
$collection->addFieldToFilter('store_id', $normalFilter);
|
175 |
+
}
|
176 |
+
$counter = $counterCollection->getFirstItem();
|
177 |
+
$counter->setCurrentStatus($counter->getCurrentStatus() + 1)
|
178 |
+
->save();
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
protected function _proccessQuotes($collection, $storeId, $abTesting, $ganalytics, $run)
|
183 |
+
{
|
184 |
// for each cart of the current run
|
185 |
foreach ($collection as $quote) {
|
186 |
+
|
187 |
$quote = $this->_proccessCollection($quote, $storeId);
|
188 |
|
189 |
if (count($quote->getAllVisibleItems()) < 1) {
|
212 |
//srand((double)microtime()*1000000);
|
213 |
$token = md5(rand(0, 9999999));
|
214 |
if ($abTesting) {
|
215 |
+
$url = Mage::getModel('core/url')->setStore($storeId)->getUrl('', array('_nosid' => true)) . 'ebizmarts_abandonedcart/abandoned/loadquote?id=' . $quote->getEntityId() . '&token=' . $token . '&' . $this->_suffix;
|
216 |
} else {
|
217 |
$url = Mage::getModel('core/url')->setStore($storeId)->getUrl('', array('_nosid' => true)) . 'ebizmarts_abandonedcart/abandoned/loadquote?id=' . $quote->getEntityId() . '&token=' . $token;
|
218 |
}
|
240 |
}
|
241 |
|
242 |
// if days have passed proceed to send mail
|
243 |
+
if ($updatedAtDiff >= $this->_diff) {
|
244 |
$mailsubject = $this->_getMailSubject($run, $storeId, $abTesting);
|
245 |
$templateId = $this->_getTemplateId($run, $storeId, $abTesting);
|
246 |
if ($this->_sendcoupon && $run + 1 == $this->_sendcoupondays) {
|
295 |
}
|
296 |
}
|
297 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
}
|
299 |
protected function _proccessCollection($quote, $storeId)
|
300 |
{
|
403 |
$websiteid = Mage::getModel('core/store')->load($store)->getWebsiteId();
|
404 |
$collection = Mage::getModel('salesrule/rule')->getCollection()
|
405 |
->addFieldToFilter('name', array('like' => 'Abandoned coupon ' . $email))
|
406 |
+
->addFieldToFilter('website_id', array('eq' => $websiteid));
|
407 |
if (!count($collection)) {
|
408 |
|
409 |
$fromDate = date("Y-m-d");
|
app/code/community/Ebizmarts/AbandonedCart/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_AbandonedCart>
|
13 |
-
<version>1.2.
|
14 |
</Ebizmarts_AbandonedCart>
|
15 |
</modules>
|
16 |
<global>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_AbandonedCart>
|
13 |
+
<version>1.2.4</version>
|
14 |
</Ebizmarts_AbandonedCart>
|
15 |
</modules>
|
16 |
<global>
|
app/code/community/Ebizmarts/Autoresponder/Model/Cron.php
CHANGED
@@ -17,7 +17,15 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
17 |
$allStores = Mage::app()->getStores();
|
18 |
foreach ($allStores as $storeId => $val) {
|
19 |
if (Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::GENERAL_ACTIVE, $storeId)) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
$this->_processStore($storeId);
|
|
|
21 |
}
|
22 |
}
|
23 |
}
|
@@ -27,9 +35,8 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
27 |
*/
|
28 |
protected function _processStore($storeId)
|
29 |
{
|
30 |
-
//Mage::app()->setCurrentStore($storeId);
|
31 |
Mage::unregister('_singleton/core/design_package');
|
32 |
-
Mage::app()->setCurrentStore(
|
33 |
Mage::getSingleton('core/design_package')->setStore($storeId);
|
34 |
|
35 |
if (Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NEWORDER_ACTIVE, $storeId) && Mage::helper('ebizmarts_autoresponder')->isSetTime(Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NEWORDER_CRON_TIME, $storeId))) {
|
@@ -370,7 +377,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
370 |
|
371 |
$collection = Mage::getResourceModel('sales/order_collection');
|
372 |
$collection->addFieldToFilter('main_table.store_id', array('eq' => $storeId))
|
373 |
-
->addFieldToFilter('main_table.created_at', array('from'
|
374 |
->addFieldToFilter('main_table.status', array('eq' => $status));
|
375 |
// Mage::log((string)$collection->getSelect());
|
376 |
if (count($customerGroups)) {
|
@@ -609,14 +616,15 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
609 |
}
|
610 |
|
611 |
}
|
612 |
-
|
|
|
613 |
{
|
614 |
$mailSubject = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::VISITED_SUBJECT, $storeId);
|
615 |
$senderId = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::GENERAL_SENDER, $storeId);
|
616 |
$sender = array('name' => Mage::getStoreConfig("trans_email/ident_$senderId/name", $storeId), 'email' => Mage::getStoreConfig("trans_email/ident_$senderId/email", $storeId));
|
617 |
$templateId = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::VISITED_TEMPLATE, $storeId);
|
618 |
-
$store=Mage::getModel('core/store')->load($storeId);
|
619 |
-
$storeCode
|
620 |
$storeCodeUrl = Mage::getStoreConfig('web/url/use_store', $storeId);
|
621 |
if ($storeCodeUrl) {
|
622 |
$url = Mage::getModel('core/url')->setStore($storeId)->getUrl() . $storeCode . '/ebizautoresponder/autoresponder/unsubscribe?list=visitedproducts&email=' . $email . '&store=' . $storeId;
|
@@ -647,6 +655,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
647 |
Mage::helper('ebizmarts_abandonedcart')->saveMail('visitedproducts', $email, $name, "", $storeId);
|
648 |
|
649 |
}
|
|
|
650 |
/**
|
651 |
* Process and send all notifications of Back To Stock
|
652 |
* @param $storeId
|
@@ -740,7 +749,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
740 |
$collection
|
741 |
->addFieldToFilter('is_active', array('eq' => 1))
|
742 |
->addFieldToFilter('alert_id', array('eq' => $productStockAlert->getAlertId()))
|
743 |
-
|
744 |
|
745 |
if (count($collection) > 0) {
|
746 |
|
@@ -886,7 +895,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
886 |
$websiteid = Mage::getModel('core/store')->load($store)->getWebsiteId();
|
887 |
$collection = Mage::getModel('salesrule/rule')->getCollection()
|
888 |
->addFieldToFilter('name', array('like' => $string . $email))
|
889 |
-
->addFieldToFilter('
|
890 |
|
891 |
if (!count($collection)) {
|
892 |
$couponamount = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_DISCOUNT, $store);
|
17 |
$allStores = Mage::app()->getStores();
|
18 |
foreach ($allStores as $storeId => $val) {
|
19 |
if (Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::GENERAL_ACTIVE, $storeId)) {
|
20 |
+
$emulation = Mage::getSingleton('core/app_emulation');
|
21 |
+
$environment = $emulation->startEnvironmentEmulation(
|
22 |
+
$storeId,
|
23 |
+
Mage_Core_Model_App_Area::AREA_FRONTEND,
|
24 |
+
true
|
25 |
+
);
|
26 |
+
Mage::app()->getTranslator()->init('frontend', true);
|
27 |
$this->_processStore($storeId);
|
28 |
+
$emulation->stopEnvironmentEmulation($environment);
|
29 |
}
|
30 |
}
|
31 |
}
|
35 |
*/
|
36 |
protected function _processStore($storeId)
|
37 |
{
|
|
|
38 |
Mage::unregister('_singleton/core/design_package');
|
39 |
+
Mage::app()->setCurrentStore($storeId);
|
40 |
Mage::getSingleton('core/design_package')->setStore($storeId);
|
41 |
|
42 |
if (Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NEWORDER_ACTIVE, $storeId) && Mage::helper('ebizmarts_autoresponder')->isSetTime(Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NEWORDER_CRON_TIME, $storeId))) {
|
377 |
|
378 |
$collection = Mage::getResourceModel('sales/order_collection');
|
379 |
$collection->addFieldToFilter('main_table.store_id', array('eq' => $storeId))
|
380 |
+
->addFieldToFilter('main_table.created_at', array('from' => $from, 'to' => $to))
|
381 |
->addFieldToFilter('main_table.status', array('eq' => $status));
|
382 |
// Mage::log((string)$collection->getSelect());
|
383 |
if (count($customerGroups)) {
|
616 |
}
|
617 |
|
618 |
}
|
619 |
+
|
620 |
+
protected function _sendVisitedProductEmail($email, $storeId, $products, $name, $tags)
|
621 |
{
|
622 |
$mailSubject = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::VISITED_SUBJECT, $storeId);
|
623 |
$senderId = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::GENERAL_SENDER, $storeId);
|
624 |
$sender = array('name' => Mage::getStoreConfig("trans_email/ident_$senderId/name", $storeId), 'email' => Mage::getStoreConfig("trans_email/ident_$senderId/email", $storeId));
|
625 |
$templateId = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::VISITED_TEMPLATE, $storeId);
|
626 |
+
$store = Mage::getModel('core/store')->load($storeId);
|
627 |
+
$storeCode = $store->getCode();
|
628 |
$storeCodeUrl = Mage::getStoreConfig('web/url/use_store', $storeId);
|
629 |
if ($storeCodeUrl) {
|
630 |
$url = Mage::getModel('core/url')->setStore($storeId)->getUrl() . $storeCode . '/ebizautoresponder/autoresponder/unsubscribe?list=visitedproducts&email=' . $email . '&store=' . $storeId;
|
655 |
Mage::helper('ebizmarts_abandonedcart')->saveMail('visitedproducts', $email, $name, "", $storeId);
|
656 |
|
657 |
}
|
658 |
+
|
659 |
/**
|
660 |
* Process and send all notifications of Back To Stock
|
661 |
* @param $storeId
|
749 |
$collection
|
750 |
->addFieldToFilter('is_active', array('eq' => 1))
|
751 |
->addFieldToFilter('alert_id', array('eq' => $productStockAlert->getAlertId()))
|
752 |
+
->addFieldToFilter('store_id', array('eq' => $storeId));
|
753 |
|
754 |
if (count($collection) > 0) {
|
755 |
|
895 |
$websiteid = Mage::getModel('core/store')->load($store)->getWebsiteId();
|
896 |
$collection = Mage::getModel('salesrule/rule')->getCollection()
|
897 |
->addFieldToFilter('name', array('like' => $string . $email))
|
898 |
+
->addFieldToFilter('website_id', array('eq' => $websiteid));
|
899 |
|
900 |
if (!count($collection)) {
|
901 |
$couponamount = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_DISCOUNT, $store);
|
app/code/community/Ebizmarts/Autoresponder/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_Autoresponder>
|
13 |
-
<version>1.2.2</version>
|
14 |
</Ebizmarts_Autoresponder>
|
15 |
</modules>
|
16 |
<global>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_Autoresponder>
|
13 |
+
<version>1.2.2.1</version>
|
14 |
</Ebizmarts_Autoresponder>
|
15 |
</modules>
|
16 |
<global>
|
app/code/community/Ebizmarts/MageMonkey/Block/Customer/Account/Lists.php
CHANGED
@@ -10,5 +10,5 @@
|
|
10 |
*/
|
11 |
class Ebizmarts_MageMonkey_Block_Customer_Account_Lists extends Ebizmarts_MageMonkey_Block_Lists
|
12 |
{
|
13 |
-
|
14 |
}
|
10 |
*/
|
11 |
class Ebizmarts_MageMonkey_Block_Customer_Account_Lists extends Ebizmarts_MageMonkey_Block_Lists
|
12 |
{
|
13 |
+
protected $_accountLists;
|
14 |
}
|
app/code/community/Ebizmarts/MageMonkey/Block/Lists.php
CHANGED
@@ -382,7 +382,7 @@ class Ebizmarts_MageMonkey_Block_Lists extends Mage_Core_Block_Template
|
|
382 |
|
383 |
} elseif ($fieldType == 'radio') {
|
384 |
|
385 |
-
if (strpos($_group['groups'], ',')) {
|
386 |
$currentGroup = str_replace('\\,', '%C%', $_group['groups']);
|
387 |
$currentGroupArray = explode(', ', $currentGroup);
|
388 |
$collapsed = str_replace('%C%', ',', $currentGroupArray);
|
@@ -397,7 +397,7 @@ class Ebizmarts_MageMonkey_Block_Lists extends Mage_Core_Block_Template
|
|
397 |
}
|
398 |
|
399 |
} else {
|
400 |
-
if (strpos($_group['groups'], ',')) {
|
401 |
$currentGroup = str_replace('\\,', '%C%', $_group['groups']);
|
402 |
$currentGroupArray = explode(', ', $currentGroup);
|
403 |
$collapsed = str_replace('%C%', ',', $currentGroupArray);
|
382 |
|
383 |
} elseif ($fieldType == 'radio') {
|
384 |
|
385 |
+
if (strpos($_group['groups'], ',') !== false) {
|
386 |
$currentGroup = str_replace('\\,', '%C%', $_group['groups']);
|
387 |
$currentGroupArray = explode(', ', $currentGroup);
|
388 |
$collapsed = str_replace('%C%', ',', $currentGroupArray);
|
397 |
}
|
398 |
|
399 |
} else {
|
400 |
+
if (strpos($_group['groups'], ',') !== false) {
|
401 |
$currentGroup = str_replace('\\,', '%C%', $_group['groups']);
|
402 |
$currentGroupArray = explode(', ', $currentGroup);
|
403 |
$collapsed = str_replace('%C%', ',', $currentGroupArray);
|
app/code/community/Ebizmarts/MageMonkey/Block/Signup.php
CHANGED
@@ -10,5 +10,5 @@
|
|
10 |
*/
|
11 |
class Ebizmarts_MageMonkey_Block_Signup extends Ebizmarts_MageMonkey_Block_Lists
|
12 |
{
|
13 |
-
|
14 |
}
|
10 |
*/
|
11 |
class Ebizmarts_MageMonkey_Block_Signup extends Ebizmarts_MageMonkey_Block_Lists
|
12 |
{
|
13 |
+
protected $_signup;
|
14 |
}
|
app/code/community/Ebizmarts/MageMonkey/Helper/Data.php
CHANGED
@@ -422,14 +422,14 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
422 |
if (!$customer->getDefaultShipping() && $customer->getEntityId()) {
|
423 |
$customer->addData(
|
424 |
Mage::getModel('customer/customer')->load($customer->getEntityId())
|
425 |
-
|
426 |
-
|
427 |
);
|
428 |
} elseif ($customer->getCustomerId()) {
|
429 |
$customer->addData(
|
430 |
Mage::getModel('customer/customer')->load($customer->getCustomerId())
|
431 |
-
|
432 |
-
|
433 |
);
|
434 |
}
|
435 |
|
@@ -524,9 +524,7 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
524 |
$mergeVars = array_merge($mergeVars, $this->_setAddress($customAtt, $mergeVars, $order, $key));
|
525 |
break;
|
526 |
case 'date_of_purchase':
|
527 |
-
|
528 |
-
$mergeVars[$key] = $order->getUpdatedAt();
|
529 |
-
|
530 |
break;
|
531 |
|
532 |
case 'store_code':
|
@@ -548,102 +546,115 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
548 |
}
|
549 |
return $mergeVars;
|
550 |
}
|
551 |
-
|
|
|
552 |
{
|
553 |
foreach ($maps as $map) {
|
554 |
-
$request = Mage::app()->getRequest();
|
555 |
-
|
556 |
$customAtt = $map['magento'];
|
557 |
$chimpTag = $map['mailchimp'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
558 |
|
559 |
-
|
560 |
-
|
561 |
-
$key = strtoupper($chimpTag);
|
562 |
-
|
563 |
-
switch ($customAtt) {
|
564 |
-
case 'gender':
|
565 |
-
$val = (int)$customer->getData(strtolower($customAtt));
|
566 |
-
if ($val == 1) {
|
567 |
-
$mergeVars[$key] = 'Male';
|
568 |
-
} elseif ($val == 2) {
|
569 |
-
$mergeVars[$key] = 'Female';
|
570 |
-
}
|
571 |
-
break;
|
572 |
-
case 'dob':
|
573 |
-
$dob = (string)$customer->getData(strtolower($customAtt));
|
574 |
-
if ($dob) {
|
575 |
-
$mergeVars[$key] = (substr($dob, 5, 2) . '/' . substr($dob, 8, 2));
|
576 |
-
}
|
577 |
-
break;
|
578 |
-
case 'billing_address':
|
579 |
-
case 'shipping_address':
|
580 |
-
$mergeVars = array_merge($mergeVars, $this->_setAddress($customAtt, $mergeVars, $customer, $key));
|
581 |
-
break;
|
582 |
-
case 'date_of_purchase':
|
583 |
-
|
584 |
-
$lastOrder = Mage::getModel('monkey/lastorder')
|
585 |
-
->getCollection()
|
586 |
-
->addFieldToFilter('email', array('eq' => $customer->getEmail()))
|
587 |
-
->getFirstItem();
|
588 |
-
if ($lastOrder->getId()) {
|
589 |
-
$mergeVars[$key] = $lastOrder->getDate();
|
590 |
-
}
|
591 |
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
596 |
|
597 |
-
|
|
|
598 |
|
599 |
-
|
600 |
-
if ($_customer->getId()) {
|
601 |
-
if (Mage::app()->getStore()->isAdmin()) {
|
602 |
-
$websiteId = is_null($websiteId) ? Mage::app()->getStore()->getWebsiteId() : $websiteId;
|
603 |
-
}
|
604 |
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
609 |
|
610 |
-
|
611 |
-
|
|
|
|
|
|
|
612 |
|
613 |
-
|
|
|
|
|
614 |
|
615 |
-
|
616 |
-
case 'group_id':
|
617 |
-
$groupId = (int)$customer->getData(strtolower($customAtt));
|
618 |
-
$customerGroup = Mage::helper('customer')->getGroups()->toOptionHash();
|
619 |
-
if ($groupId == 0) {
|
620 |
-
$mergeVars[$key] = 'NOT LOGGED IN';
|
621 |
-
} else {
|
622 |
-
$mergeVars[$key] = $customerGroup[$groupId];
|
623 |
-
}
|
624 |
-
break;
|
625 |
-
case 'store_code':
|
626 |
-
$storeId = (string)$customer->getData('store_id');
|
627 |
-
$storeCode = Mage::getModel('core/store')->load($storeId)->getCode();
|
628 |
-
if ($storeCode) {
|
629 |
-
$mergeVars[$key] = $storeCode;
|
630 |
-
}
|
631 |
-
break;
|
632 |
-
default:
|
633 |
-
if (($value = (string)$customer->getData(strtolower($customAtt)))
|
634 |
-
OR ($value = (string)$request->getPost(strtolower($customAtt)))
|
635 |
-
) {
|
636 |
-
$mergeVars[$key] = $value;
|
637 |
-
}
|
638 |
|
639 |
-
|
|
|
|
|
|
|
640 |
}
|
641 |
|
|
|
|
|
|
|
|
|
|
|
|
|
642 |
}
|
|
|
643 |
}
|
644 |
return $mergeVars;
|
645 |
}
|
646 |
-
|
|
|
647 |
{
|
648 |
if ($object instanceof Mage_Sales_Model_Order) {
|
649 |
$addr = explode('_', $customAtt);
|
@@ -687,6 +698,7 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
687 |
}
|
688 |
return $mergeVars;
|
689 |
}
|
|
|
690 |
/**
|
691 |
* Get Mergevars
|
692 |
*
|
@@ -740,7 +752,8 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
740 |
|
741 |
return $mergeVars;
|
742 |
}
|
743 |
-
|
|
|
744 |
{
|
745 |
$storeId = Mage::app()->getStore()->getId() ? Mage::app()->getStore()->getId() : $object->getStoreId();
|
746 |
$mergeVars = array();
|
@@ -754,46 +767,9 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
754 |
//if can change customer set the groups set by customer else set the groups on MailChimp config
|
755 |
$canChangeGroups = Mage::getStoreConfig('monkey/general/changecustomergroup', $storeId);
|
756 |
if (!$customerCreateAccountSubscription && $currentList && ($currentList != $defaultList || $canChangeGroups && !$footerSubscription) && isset($post['list'][$currentList])) {
|
757 |
-
$subscribeGroups =
|
758 |
-
foreach ($post['list'][$currentList] as $toGroups => $value) {
|
759 |
-
if (is_numeric($toGroups)) {
|
760 |
-
$subscribeGroups[0]['id'] = $toGroups;
|
761 |
-
$subscribeGroups[0]['groups'] = implode(', ', array_unique($post['list'][$currentList][$subscribeGroups[0]['id']]));
|
762 |
-
}
|
763 |
-
}
|
764 |
-
$groups = NULL;
|
765 |
} elseif ($currentList == $defaultList) {
|
766 |
-
$
|
767 |
-
$groups = explode(",", $groups);
|
768 |
-
if (isset($groups[0]) && $groups[0]) {
|
769 |
-
$subscribeGroups = array();
|
770 |
-
$_prevGroup = null;
|
771 |
-
$checkboxes = array();
|
772 |
-
$currentGroup = '';
|
773 |
-
foreach ($groups as $group) {
|
774 |
-
$item = explode("_", $group);
|
775 |
-
if ($item[0]) {
|
776 |
-
$currentGroup = $item[0];
|
777 |
-
if ($currentGroup == $_prevGroup || $_prevGroup == null) {
|
778 |
-
$checkboxes[] = $item[1];
|
779 |
-
$_prevGroup = $currentGroup;
|
780 |
-
} elseif ($checkboxes && isset($item[1])) {
|
781 |
-
$subscribeGroups[] = array('id' => $_prevGroup, "groups" => str_replace('%C%', '\\,', implode(', ', $checkboxes)));
|
782 |
-
$checkboxes = array();
|
783 |
-
$_prevGroup = $currentGroup;
|
784 |
-
$checkboxes[] = $item[1];
|
785 |
-
} else {
|
786 |
-
$checkboxes = array();
|
787 |
-
$_prevGroup = null;
|
788 |
-
}
|
789 |
-
}
|
790 |
-
}
|
791 |
-
if ($currentGroup && $checkboxes) {
|
792 |
-
$subscribeGroups[] = array('id' => $currentGroup, "groups" => str_replace('%C%', '\\,', implode(', ', $checkboxes)));
|
793 |
-
}
|
794 |
-
|
795 |
-
}
|
796 |
-
|
797 |
$force = Mage::getStoreConfig('monkey/general/checkout_subscribe', $storeId);
|
798 |
$map = Mage::getStoreConfig('monkey/general/markfield', $storeId);
|
799 |
if (isset($post['magemonkey_subscribe']) && $map != "") {
|
@@ -824,6 +800,82 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
824 |
}
|
825 |
return $mergeVars;
|
826 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
827 |
/**
|
828 |
* Register on Magento's registry GUEST customer data for MergeVars for on checkout subscribe
|
829 |
*
|
@@ -838,7 +890,6 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
838 |
}
|
839 |
|
840 |
$customer = new Varien_Object;
|
841 |
-
|
842 |
$customer->setId('guest' . time());
|
843 |
$customer->setEmail($order->getBillingAddress()->getEmail());
|
844 |
$customer->setStoreId($order->getStoreId());
|
@@ -1117,7 +1168,7 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
1117 |
$u = explode('%5B', $v);
|
1118 |
if ($u[0] == 'list') {
|
1119 |
$suffixListId = $u[1];
|
1120 |
-
$listId = substr($u[1], 0, (strlen($suffixListId)-3));
|
1121 |
$list[$listId] = array();
|
1122 |
$listIdArray = $list[$listId];
|
1123 |
$tail = explode('%5D', $u[2]);
|
422 |
if (!$customer->getDefaultShipping() && $customer->getEntityId()) {
|
423 |
$customer->addData(
|
424 |
Mage::getModel('customer/customer')->load($customer->getEntityId())
|
425 |
+
->setStoreId($customer->getStoreId())
|
426 |
+
->toArray()
|
427 |
);
|
428 |
} elseif ($customer->getCustomerId()) {
|
429 |
$customer->addData(
|
430 |
Mage::getModel('customer/customer')->load($customer->getCustomerId())
|
431 |
+
->setStoreId($customer->getStoreId())
|
432 |
+
->toArray()
|
433 |
);
|
434 |
}
|
435 |
|
524 |
$mergeVars = array_merge($mergeVars, $this->_setAddress($customAtt, $mergeVars, $order, $key));
|
525 |
break;
|
526 |
case 'date_of_purchase':
|
527 |
+
$mergeVars[$key] = $order->getUpdatedAt();
|
|
|
|
|
528 |
break;
|
529 |
|
530 |
case 'store_code':
|
546 |
}
|
547 |
return $mergeVars;
|
548 |
}
|
549 |
+
|
550 |
+
protected function _setMaps($maps, $customer, $mergeVars, $websiteId)
|
551 |
{
|
552 |
foreach ($maps as $map) {
|
|
|
|
|
553 |
$customAtt = $map['magento'];
|
554 |
$chimpTag = $map['mailchimp'];
|
555 |
+
|
556 |
+
$mergeVars = $this->_setEachField($customer, $chimpTag, $customAtt, $mergeVars, $websiteId);
|
557 |
+
|
558 |
+
}
|
559 |
+
return $mergeVars;
|
560 |
+
}
|
561 |
+
|
562 |
+
protected function _setEachField($customer, $chimpTag, $customAtt, $mergeVars, $websiteId)
|
563 |
+
{
|
564 |
+
$request = Mage::app()->getRequest();
|
565 |
+
if ($chimpTag && $customAtt) {
|
566 |
|
567 |
+
$key = strtoupper($chimpTag);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
568 |
|
569 |
+
switch ($customAtt) {
|
570 |
+
case 'gender':
|
571 |
+
$val = (int)$customer->getData(strtolower($customAtt));
|
572 |
+
if ($val == 1) {
|
573 |
+
$mergeVars[$key] = 'Male';
|
574 |
+
} elseif ($val == 2) {
|
575 |
+
$mergeVars[$key] = 'Female';
|
576 |
+
}
|
577 |
+
break;
|
578 |
+
case 'dob':
|
579 |
+
$dob = (string)$customer->getData(strtolower($customAtt));
|
580 |
+
if ($dob) {
|
581 |
+
$mergeVars[$key] = (substr($dob, 5, 2) . '/' . substr($dob, 8, 2));
|
582 |
+
}
|
583 |
+
break;
|
584 |
+
case 'billing_address':
|
585 |
+
case 'shipping_address':
|
586 |
+
$mergeVars = array_merge($mergeVars, $this->_setAddress($customAtt, $mergeVars, $customer, $key));
|
587 |
+
break;
|
588 |
+
case 'date_of_purchase':
|
589 |
+
|
590 |
+
$lastOrder = Mage::getModel('monkey/lastorder')
|
591 |
+
->getCollection()
|
592 |
+
->addFieldToFilter('email', array('eq' => $customer->getEmail()))
|
593 |
+
->getFirstItem();
|
594 |
+
if ($lastOrder->getId()) {
|
595 |
+
$mergeVars[$key] = $lastOrder->getDate();
|
596 |
+
}
|
597 |
|
598 |
+
break;
|
599 |
+
case 'ee_customer_balance':
|
600 |
|
601 |
+
$mergeVars[$key] = $this->_getEECustomerBalance($mergeVars, $key, $customer, $websiteId);
|
|
|
|
|
|
|
|
|
602 |
|
603 |
+
break;
|
604 |
+
case 'group_id':
|
605 |
+
$groupId = (int)$customer->getData(strtolower($customAtt));
|
606 |
+
$customerGroup = Mage::helper('customer')->getGroups()->toOptionHash();
|
607 |
+
if ($groupId == 0) {
|
608 |
+
$mergeVars[$key] = 'NOT LOGGED IN';
|
609 |
+
} else {
|
610 |
+
$mergeVars[$key] = $customerGroup[$groupId];
|
611 |
+
}
|
612 |
+
break;
|
613 |
+
case 'store_code':
|
614 |
+
$storeId = (string)$customer->getData('store_id');
|
615 |
+
$storeCode = Mage::getModel('core/store')->load($storeId)->getCode();
|
616 |
+
if ($storeCode) {
|
617 |
+
$mergeVars[$key] = $storeCode;
|
618 |
+
}
|
619 |
+
break;
|
620 |
+
default:
|
621 |
+
if (($value = (string)$customer->getData(strtolower($customAtt)))
|
622 |
+
OR ($value = (string)$request->getPost(strtolower($customAtt)))
|
623 |
+
) {
|
624 |
+
$mergeVars[$key] = $value;
|
625 |
+
}
|
626 |
|
627 |
+
break;
|
628 |
+
}
|
629 |
+
return $mergeVars;
|
630 |
+
}
|
631 |
+
}
|
632 |
|
633 |
+
protected function _getEECustomerBalance($mergeVars, $key, $customer, $websiteId)
|
634 |
+
{
|
635 |
+
$mergeVars[$key] = '';
|
636 |
|
637 |
+
if ($this->isEnterprise() && $customer->getId()) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
638 |
|
639 |
+
$_customer = Mage::getModel('customer/customer')->load($customer->getId());
|
640 |
+
if ($_customer->getId()) {
|
641 |
+
if (Mage::app()->getStore()->isAdmin()) {
|
642 |
+
$websiteId = is_null($websiteId) ? Mage::app()->getStore()->getWebsiteId() : $websiteId;
|
643 |
}
|
644 |
|
645 |
+
$balance = Mage::getModel('enterprise_customerbalance/balance')
|
646 |
+
->setWebsiteId($websiteId)
|
647 |
+
->setCustomerId($_customer->getId())
|
648 |
+
->loadByCustomer();
|
649 |
+
|
650 |
+
$mergeVars[$key] = $balance->getAmount();
|
651 |
}
|
652 |
+
|
653 |
}
|
654 |
return $mergeVars;
|
655 |
}
|
656 |
+
|
657 |
+
protected function _setAddress($customAtt, $mergeVars, $object, $key)
|
658 |
{
|
659 |
if ($object instanceof Mage_Sales_Model_Order) {
|
660 |
$addr = explode('_', $customAtt);
|
698 |
}
|
699 |
return $mergeVars;
|
700 |
}
|
701 |
+
|
702 |
/**
|
703 |
* Get Mergevars
|
704 |
*
|
752 |
|
753 |
return $mergeVars;
|
754 |
}
|
755 |
+
|
756 |
+
protected function _checkGrouping($post, $currentList, $object)
|
757 |
{
|
758 |
$storeId = Mage::app()->getStore()->getId() ? Mage::app()->getStore()->getId() : $object->getStoreId();
|
759 |
$mergeVars = array();
|
767 |
//if can change customer set the groups set by customer else set the groups on MailChimp config
|
768 |
$canChangeGroups = Mage::getStoreConfig('monkey/general/changecustomergroup', $storeId);
|
769 |
if (!$customerCreateAccountSubscription && $currentList && ($currentList != $defaultList || $canChangeGroups && !$footerSubscription) && isset($post['list'][$currentList])) {
|
770 |
+
$subscribeGroups = $this->_setSelectedGroups($post, $currentList);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
771 |
} elseif ($currentList == $defaultList) {
|
772 |
+
$subscribeGroups = $this->_setConfiguredGroups($post, $currentList, $storeId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
773 |
$force = Mage::getStoreConfig('monkey/general/checkout_subscribe', $storeId);
|
774 |
$map = Mage::getStoreConfig('monkey/general/markfield', $storeId);
|
775 |
if (isset($post['magemonkey_subscribe']) && $map != "") {
|
800 |
}
|
801 |
return $mergeVars;
|
802 |
}
|
803 |
+
|
804 |
+
/**
|
805 |
+
* Set groups selected by the customer.
|
806 |
+
*
|
807 |
+
* @param $post
|
808 |
+
* @param $currentList
|
809 |
+
* @return array
|
810 |
+
*/
|
811 |
+
protected function _setSelectedGroups($post, $currentList)
|
812 |
+
{
|
813 |
+
$subscribeGroups = array();
|
814 |
+
foreach ($post['list'][$currentList] as $toGroups => $value) {
|
815 |
+
if (is_numeric($toGroups)) {
|
816 |
+
$groupData = array();
|
817 |
+
$groupData['id'] = $toGroups;
|
818 |
+
$groups = $post['list'][$currentList][$toGroups];
|
819 |
+
if (is_array($groups)) {
|
820 |
+
$groups = implode(', ', array_unique($groups));
|
821 |
+
}
|
822 |
+
$groupData['groups'] = $groups;
|
823 |
+
$subscribeGroups[] = $groupData;
|
824 |
+
}
|
825 |
+
}
|
826 |
+
$groups = NULL;
|
827 |
+
return $subscribeGroups;
|
828 |
+
}
|
829 |
+
|
830 |
+
/**
|
831 |
+
* Set groups configured by the store owner.
|
832 |
+
*
|
833 |
+
* @param $post
|
834 |
+
* @param $currentList
|
835 |
+
* @param $storeId
|
836 |
+
* @return array
|
837 |
+
*/
|
838 |
+
protected function _setConfiguredGroups($post, $currentList, $storeId)
|
839 |
+
{
|
840 |
+
$subscribeGroups = array();
|
841 |
+
$groups = Mage::getStoreConfig('monkey/general/cutomergroup', $storeId);
|
842 |
+
$groups = explode(",", $groups);
|
843 |
+
if (isset($groups[0]) && $groups[0]) {
|
844 |
+
$subscribeGroups = array();
|
845 |
+
$_prevGroup = null;
|
846 |
+
$checkboxes = array();
|
847 |
+
$currentGroup = '';
|
848 |
+
foreach ($groups as $group) {
|
849 |
+
$item = explode("_", $group);
|
850 |
+
if ($item[0]) {
|
851 |
+
$currentGroup = $item[0];
|
852 |
+
if ($currentGroup == $_prevGroup || $_prevGroup == null) {
|
853 |
+
$checkboxes[] = $item[1];
|
854 |
+
$_prevGroup = $currentGroup;
|
855 |
+
} elseif ($checkboxes && isset($item[1])) {
|
856 |
+
$subscribeGroups[] = array('id' => $_prevGroup, "groups" => str_replace('%C%', '\\,', implode(', ', $checkboxes)));
|
857 |
+
$checkboxes = array();
|
858 |
+
$_prevGroup = $currentGroup;
|
859 |
+
$checkboxes[] = $item[1];
|
860 |
+
} else {
|
861 |
+
$checkboxes = array();
|
862 |
+
$_prevGroup = null;
|
863 |
+
}
|
864 |
+
}
|
865 |
+
}
|
866 |
+
if ($currentGroup && $checkboxes) {
|
867 |
+
$subscribeGroups[] = array('id' => $currentGroup, "groups" => str_replace('%C%', '\\,', implode(', ', $checkboxes)));
|
868 |
+
}
|
869 |
+
}
|
870 |
+
|
871 |
+
if (is_array($post) && isset($post['data']) && isset($post['data']['list_id']) && $post['data']['list_id'] === $currentList) {
|
872 |
+
if (isset($post['data']['merges']['GROUPINGS'])) {
|
873 |
+
$subscribeGroups = $post['data']['merges']['GROUPINGS'];
|
874 |
+
}
|
875 |
+
}
|
876 |
+
return $subscribeGroups;
|
877 |
+
}
|
878 |
+
|
879 |
/**
|
880 |
* Register on Magento's registry GUEST customer data for MergeVars for on checkout subscribe
|
881 |
*
|
890 |
}
|
891 |
|
892 |
$customer = new Varien_Object;
|
|
|
893 |
$customer->setId('guest' . time());
|
894 |
$customer->setEmail($order->getBillingAddress()->getEmail());
|
895 |
$customer->setStoreId($order->getStoreId());
|
1168 |
$u = explode('%5B', $v);
|
1169 |
if ($u[0] == 'list') {
|
1170 |
$suffixListId = $u[1];
|
1171 |
+
$listId = substr($u[1], 0, (strlen($suffixListId) - 3));
|
1172 |
$list[$listId] = array();
|
1173 |
$listIdArray = $list[$listId];
|
1174 |
$tail = explode('%5D', $u[2]);
|
app/code/community/Ebizmarts/MageMonkey/Model/Cron.php
CHANGED
@@ -166,19 +166,6 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
166 |
|
167 |
}
|
168 |
|
169 |
-
/**
|
170 |
-
* Process <updated> data list when importing members
|
171 |
-
*
|
172 |
-
* @param array $member
|
173 |
-
* @param integer $websiteId OPTIONAL
|
174 |
-
* @param bool $createCustomer
|
175 |
-
* @return void
|
176 |
-
*/
|
177 |
-
protected function updated($member, $websiteId = null, $createCustomer = FALSE)
|
178 |
-
{
|
179 |
-
//TODO
|
180 |
-
}
|
181 |
-
|
182 |
/**
|
183 |
* Process <unsubscribed> data list when importing members
|
184 |
*
|
@@ -400,10 +387,8 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
400 |
return $job->getFirstItem();
|
401 |
}
|
402 |
|
403 |
-
/**
|
404 |
-
*
|
405 |
-
*
|
406 |
-
*
|
407 |
*/
|
408 |
public function autoExportSubscribers()
|
409 |
{
|
@@ -535,16 +520,14 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
535 |
|
536 |
public function processWebhookData()
|
537 |
{
|
538 |
-
|
539 |
$collection = Mage::getModel('monkey/asyncwebhooks')->getCollection();
|
540 |
$collection->addFieldToFilter('processed', array('eq' => 0));
|
541 |
|
542 |
foreach ($collection as $item) {
|
543 |
$data=json_decode($item->getWebhookData(), true);
|
544 |
-
$listId = $data['data']['list_id'];
|
545 |
-
// $store = Mage::helper('monkey')->getStoreByList($listId);
|
546 |
$subscriber = Mage::getModel('newsletter/subscriber')
|
547 |
-
->loadByEmail(
|
548 |
$storeId = $subscriber->getStoreId();
|
549 |
$store = Mage::getModel('core/store')->load($storeId);
|
550 |
if (!is_null($store)) {
|
@@ -598,14 +581,12 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
598 |
|
599 |
}
|
600 |
|
601 |
-
|
602 |
/**
|
603 |
* Subscribe email to Magento list
|
604 |
*
|
605 |
* @param array $data
|
606 |
* @return void
|
607 |
*/
|
608 |
-
|
609 |
protected function _subscribe(array $data)
|
610 |
{
|
611 |
try {
|
@@ -627,11 +608,14 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
627 |
if (isset($data['data']['merges']['STOREID'])) {
|
628 |
$subscriberStoreId=$data['data']['merges']['STOREID'];
|
629 |
} else {
|
630 |
-
$subscriberStoreId = Mage::helper('monkey')->getStoreByList($data['data']['
|
|
|
|
|
|
|
|
|
|
|
|
|
631 |
}
|
632 |
-
Mage::app()->setCurrentStore($subscriberStoreId);
|
633 |
-
$subscriber->subscribe($data['data']['email']);
|
634 |
-
Mage::app()->setCurrentStore(0);
|
635 |
|
636 |
}
|
637 |
$customerExist = Mage::getSingleton('customer/customer')
|
@@ -649,14 +633,12 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
649 |
}
|
650 |
}
|
651 |
|
652 |
-
|
653 |
/**
|
654 |
* Unsubscribe or delete email from Magento list
|
655 |
*
|
656 |
* @param array $data
|
657 |
* @return void
|
658 |
*/
|
659 |
-
|
660 |
protected function _unsubscribe(array $data)
|
661 |
{
|
662 |
$subscriber = Mage::getSingleton('newsletter/subscriber')
|
@@ -697,8 +679,6 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
697 |
* @param array $data
|
698 |
* @return void
|
699 |
*/
|
700 |
-
|
701 |
-
|
702 |
protected function _cleaned(array $data)
|
703 |
{
|
704 |
if (Mage::helper('monkey')->isAdminNotificationEnabled()) { //This 'if' returns false even if Admin Notification is enabled on the module sometimes, must check why
|
@@ -723,14 +703,12 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
723 |
}
|
724 |
}
|
725 |
|
726 |
-
|
727 |
/**
|
728 |
* Add "Campaign Sending Status" notification to Adminnotification Inbox <campaign>
|
729 |
*
|
730 |
* @param array $data
|
731 |
* @return void
|
732 |
*/
|
733 |
-
|
734 |
protected function _campaign(array $data)
|
735 |
{
|
736 |
if (Mage::helper('monkey')->isAdminNotificationEnabled()) {
|
@@ -743,9 +721,6 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
743 |
|
744 |
}
|
745 |
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
protected function _profile(array $data)
|
750 |
{
|
751 |
$email = $data['data']['email'];
|
@@ -809,8 +784,6 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
809 |
}
|
810 |
}
|
811 |
|
812 |
-
|
813 |
-
|
814 |
/**
|
815 |
* Return Inbox model instance
|
816 |
*
|
@@ -822,6 +795,4 @@ class Ebizmarts_MageMonkey_Model_Cron
|
|
822 |
->setSeverity(4)//Notice
|
823 |
->setDateAdded(Mage::getModel('core/date')->gmtDate());
|
824 |
}
|
825 |
-
|
826 |
-
|
827 |
}
|
166 |
|
167 |
}
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
/**
|
170 |
* Process <unsubscribed> data list when importing members
|
171 |
*
|
387 |
return $job->getFirstItem();
|
388 |
}
|
389 |
|
390 |
+
/**
|
391 |
+
* Send order to MailChimp Automatically by Order Status
|
|
|
|
|
392 |
*/
|
393 |
public function autoExportSubscribers()
|
394 |
{
|
520 |
|
521 |
public function processWebhookData()
|
522 |
{
|
|
|
523 |
$collection = Mage::getModel('monkey/asyncwebhooks')->getCollection();
|
524 |
$collection->addFieldToFilter('processed', array('eq' => 0));
|
525 |
|
526 |
foreach ($collection as $item) {
|
527 |
$data=json_decode($item->getWebhookData(), true);
|
528 |
+
$listId = $data['data']['list_id'];
|
|
|
529 |
$subscriber = Mage::getModel('newsletter/subscriber')
|
530 |
+
->loadByEmail($data['data']['email']);
|
531 |
$storeId = $subscriber->getStoreId();
|
532 |
$store = Mage::getModel('core/store')->load($storeId);
|
533 |
if (!is_null($store)) {
|
581 |
|
582 |
}
|
583 |
|
|
|
584 |
/**
|
585 |
* Subscribe email to Magento list
|
586 |
*
|
587 |
* @param array $data
|
588 |
* @return void
|
589 |
*/
|
|
|
590 |
protected function _subscribe(array $data)
|
591 |
{
|
592 |
try {
|
608 |
if (isset($data['data']['merges']['STOREID'])) {
|
609 |
$subscriberStoreId=$data['data']['merges']['STOREID'];
|
610 |
} else {
|
611 |
+
$subscriberStoreId = Mage::helper('monkey')->getStoreByList($data['data']['list_id']);
|
612 |
+
}
|
613 |
+
|
614 |
+
if ($subscriberStoreId) {
|
615 |
+
Mage::app()->setCurrentStore($subscriberStoreId);
|
616 |
+
$subscriber->subscribe($data['data']['email']);
|
617 |
+
Mage::app()->setCurrentStore(0);
|
618 |
}
|
|
|
|
|
|
|
619 |
|
620 |
}
|
621 |
$customerExist = Mage::getSingleton('customer/customer')
|
633 |
}
|
634 |
}
|
635 |
|
|
|
636 |
/**
|
637 |
* Unsubscribe or delete email from Magento list
|
638 |
*
|
639 |
* @param array $data
|
640 |
* @return void
|
641 |
*/
|
|
|
642 |
protected function _unsubscribe(array $data)
|
643 |
{
|
644 |
$subscriber = Mage::getSingleton('newsletter/subscriber')
|
679 |
* @param array $data
|
680 |
* @return void
|
681 |
*/
|
|
|
|
|
682 |
protected function _cleaned(array $data)
|
683 |
{
|
684 |
if (Mage::helper('monkey')->isAdminNotificationEnabled()) { //This 'if' returns false even if Admin Notification is enabled on the module sometimes, must check why
|
703 |
}
|
704 |
}
|
705 |
|
|
|
706 |
/**
|
707 |
* Add "Campaign Sending Status" notification to Adminnotification Inbox <campaign>
|
708 |
*
|
709 |
* @param array $data
|
710 |
* @return void
|
711 |
*/
|
|
|
712 |
protected function _campaign(array $data)
|
713 |
{
|
714 |
if (Mage::helper('monkey')->isAdminNotificationEnabled()) {
|
721 |
|
722 |
}
|
723 |
|
|
|
|
|
|
|
724 |
protected function _profile(array $data)
|
725 |
{
|
726 |
$email = $data['data']['email'];
|
784 |
}
|
785 |
}
|
786 |
|
|
|
|
|
787 |
/**
|
788 |
* Return Inbox model instance
|
789 |
*
|
795 |
->setSeverity(4)//Notice
|
796 |
->setDateAdded(Mage::getModel('core/date')->gmtDate());
|
797 |
}
|
|
|
|
|
798 |
}
|
app/code/community/Ebizmarts/MageMonkey/Model/Feed/Updates.php
CHANGED
@@ -100,6 +100,8 @@ class Ebizmarts_MageMonkey_Model_Feed_Updates
|
|
100 |
|
101 |
protected function _getUpdates($resource)
|
102 |
{
|
|
|
|
|
103 |
$feedData = array();
|
104 |
|
105 |
try {
|
@@ -138,6 +140,6 @@ class Ebizmarts_MageMonkey_Model_Feed_Updates
|
|
138 |
Mage::logException($e);
|
139 |
return false;
|
140 |
}
|
|
|
141 |
}
|
142 |
-
|
143 |
}
|
100 |
|
101 |
protected function _getUpdates($resource)
|
102 |
{
|
103 |
+
//Handles data object with the variable names provided.
|
104 |
+
// @codingStandardsIgnoreStart
|
105 |
$feedData = array();
|
106 |
|
107 |
try {
|
140 |
Mage::logException($e);
|
141 |
return false;
|
142 |
}
|
143 |
+
// @codingStandardsIgnoreEnd
|
144 |
}
|
|
|
145 |
}
|
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Export/Collection.php
CHANGED
@@ -29,7 +29,7 @@ class Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Export_Collection extends Mage_
|
|
29 |
* @param string $className
|
30 |
* @return Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Export_Collection
|
31 |
*/
|
32 |
-
function setItemObjectClass($className)
|
33 |
{
|
34 |
$this->_itemObjectClass = 'Ebizmarts_MageMonkey_Model_BulksyncExport';
|
35 |
return $this;
|
29 |
* @param string $className
|
30 |
* @return Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Export_Collection
|
31 |
*/
|
32 |
+
public function setItemObjectClass($className)
|
33 |
{
|
34 |
$this->_itemObjectClass = 'Ebizmarts_MageMonkey_Model_BulksyncExport';
|
35 |
return $this;
|
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Import/Collection.php
CHANGED
@@ -29,7 +29,7 @@ class Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Import_Collection extends Mage_
|
|
29 |
* @param string $className
|
30 |
* @return Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Export_Collection
|
31 |
*/
|
32 |
-
function setItemObjectClass($className)
|
33 |
{
|
34 |
$this->_itemObjectClass = 'Ebizmarts_MageMonkey_Model_BulksyncImport';
|
35 |
return $this;
|
29 |
* @param string $className
|
30 |
* @return Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Export_Collection
|
31 |
*/
|
32 |
+
public function setItemObjectClass($className)
|
33 |
{
|
34 |
$this->_itemObjectClass = 'Ebizmarts_MageMonkey_Model_BulksyncImport';
|
35 |
return $this;
|
app/code/community/Ebizmarts/MageMonkey/Model/Observer.php
CHANGED
@@ -363,7 +363,10 @@ class Ebizmarts_MageMonkey_Model_Observer
|
|
363 |
}
|
364 |
$post = $observer->getEvent()->getPost();
|
365 |
$oneStep = Mage::app()->getRequest()->getModuleName() == 'onestepcheckout';
|
366 |
-
$subscribe =
|
|
|
|
|
|
|
367 |
|
368 |
Mage::getSingleton('core/session')->setMonkeyPost(serialize($post));
|
369 |
if (!is_null($subscribe) || Mage::getStoreConfig(Ebizmarts_MageMonkey_Model_Config::GENERAL_CHECKOUT_SUBSCRIBE, Mage::app()->getStore()->getId()) >= 3) {
|
363 |
}
|
364 |
$post = $observer->getEvent()->getPost();
|
365 |
$oneStep = Mage::app()->getRequest()->getModuleName() == 'onestepcheckout';
|
366 |
+
$subscribe = '';
|
367 |
+
if (isset($post['magemonkey_subscribe'])) {
|
368 |
+
$subscribe = $post['magemonkey_subscribe'];
|
369 |
+
}
|
370 |
|
371 |
Mage::getSingleton('core/session')->setMonkeyPost(serialize($post));
|
372 |
if (!is_null($subscribe) || Mage::getStoreConfig(Ebizmarts_MageMonkey_Model_Config::GENERAL_CHECKOUT_SUBSCRIBE, Mage::app()->getStore()->getId()) >= 3) {
|
app/code/community/Ebizmarts/MageMonkey/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_MageMonkey>
|
13 |
-
<version>1.2.
|
14 |
</Ebizmarts_MageMonkey>
|
15 |
</modules>
|
16 |
<global>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_MageMonkey>
|
13 |
+
<version>1.2.7</version>
|
14 |
</Ebizmarts_MageMonkey>
|
15 |
</modules>
|
16 |
<global>
|
app/code/community/Ebizmarts/Mandrill/Model/Email/Queue.php
CHANGED
@@ -33,7 +33,7 @@ class Ebizmarts_Mandrill_Model_Email_Queue extends Mage_Core_Model_Email_Queue
|
|
33 |
if (Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::ENABLE, $storeId)) {
|
34 |
$parameters = new Varien_Object($message->getMessageParameters());
|
35 |
$mailer = $this->getMail($storeId);
|
36 |
-
$mailer->setFrom($parameters->getFromEmail()
|
37 |
$mailer->setSubject($parameters->getSubject());
|
38 |
if ($parameters->getIsPlain()) {
|
39 |
$mailer->setBodyText($message->getMessageBody());
|
@@ -45,7 +45,7 @@ class Ebizmarts_Mandrill_Model_Email_Queue extends Mage_Core_Model_Email_Queue
|
|
45 |
switch ($type) {
|
46 |
case self::EMAIL_TYPE_TO:
|
47 |
case self::EMAIL_TYPE_CC:
|
48 |
-
$mailer->addTo($email
|
49 |
break;
|
50 |
case self::EMAIL_TYPE_BCC:
|
51 |
$mailer->addBcc($email);
|
@@ -76,51 +76,7 @@ class Ebizmarts_Mandrill_Model_Email_Queue extends Mage_Core_Model_Email_Queue
|
|
76 |
$message->setProcessedAt(Varien_Date::formatDate(true));
|
77 |
$message->save();
|
78 |
} else {
|
79 |
-
$
|
80 |
-
if ($parameters->getReturnPathEmail() !== null) {
|
81 |
-
$mailTransport = new Zend_Mail_Transport_Sendmail("-f" . $parameters->getReturnPathEmail());
|
82 |
-
Zend_Mail::setDefaultTransport($mailTransport);
|
83 |
-
}
|
84 |
-
|
85 |
-
$mailer = new Zend_Mail('utf-8');
|
86 |
-
foreach ($message->getRecipients() as $recipient) {
|
87 |
-
list($email, $name, $type) = $recipient;
|
88 |
-
switch ($type) {
|
89 |
-
case self::EMAIL_TYPE_BCC:
|
90 |
-
$mailer->addBcc($email, '=?utf-8?B?' . base64_encode($name) . '?=');
|
91 |
-
break;
|
92 |
-
case self::EMAIL_TYPE_TO:
|
93 |
-
case self::EMAIL_TYPE_CC:
|
94 |
-
default:
|
95 |
-
$mailer->addTo($email, '=?utf-8?B?' . base64_encode($name) . '?=');
|
96 |
-
break;
|
97 |
-
}
|
98 |
-
}
|
99 |
-
|
100 |
-
if ($parameters->getIsPlain()) {
|
101 |
-
$mailer->setBodyText($message->getMessageBody());
|
102 |
-
} else {
|
103 |
-
$mailer->setBodyHTML($message->getMessageBody());
|
104 |
-
}
|
105 |
-
|
106 |
-
$mailer->setSubject('=?utf-8?B?' . base64_encode($parameters->getSubject()) . '?=');
|
107 |
-
$mailer->setFrom($parameters->getFromEmail(), $parameters->getFromName());
|
108 |
-
if ($parameters->getReplyTo() !== null) {
|
109 |
-
$mailer->setReplyTo($parameters->getReplyTo());
|
110 |
-
}
|
111 |
-
if ($parameters->getReturnTo() !== null) {
|
112 |
-
$mailer->setReturnPath($parameters->getReturnTo());
|
113 |
-
}
|
114 |
-
|
115 |
-
try {
|
116 |
-
$mailer->send();
|
117 |
-
} catch (Exception $e) {
|
118 |
-
Mage::logException($e);
|
119 |
-
}
|
120 |
-
|
121 |
-
unset($mailer);
|
122 |
-
$message->setProcessedAt(Varien_Date::formatDate(true));
|
123 |
-
$message->save();
|
124 |
}
|
125 |
}
|
126 |
}
|
@@ -135,11 +91,60 @@ class Ebizmarts_Mandrill_Model_Email_Queue extends Mage_Core_Model_Email_Queue
|
|
135 |
public function getMail($storeId)
|
136 |
{
|
137 |
if (!Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::ENABLE, $storeId)) {
|
138 |
-
return
|
139 |
}
|
140 |
|
141 |
Mage::helper('ebizmarts_mandrill')->log("store: $storeId API: " . Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::APIKEY, $storeId));
|
142 |
$this->_mail = new Mandrill_Message(Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::APIKEY, $storeId));
|
143 |
return $this->_mail;
|
144 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
}
|
33 |
if (Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::ENABLE, $storeId)) {
|
34 |
$parameters = new Varien_Object($message->getMessageParameters());
|
35 |
$mailer = $this->getMail($storeId);
|
36 |
+
$mailer->setFrom($parameters->getFromEmail(), $parameters->getFromName());
|
37 |
$mailer->setSubject($parameters->getSubject());
|
38 |
if ($parameters->getIsPlain()) {
|
39 |
$mailer->setBodyText($message->getMessageBody());
|
45 |
switch ($type) {
|
46 |
case self::EMAIL_TYPE_TO:
|
47 |
case self::EMAIL_TYPE_CC:
|
48 |
+
$mailer->addTo($email, $name);
|
49 |
break;
|
50 |
case self::EMAIL_TYPE_BCC:
|
51 |
$mailer->addBcc($email);
|
76 |
$message->setProcessedAt(Varien_Date::formatDate(true));
|
77 |
$message->save();
|
78 |
} else {
|
79 |
+
$this->_sendWithoutMandrill($message);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
}
|
81 |
}
|
82 |
}
|
91 |
public function getMail($storeId)
|
92 |
{
|
93 |
if (!Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::ENABLE, $storeId)) {
|
94 |
+
return null;
|
95 |
}
|
96 |
|
97 |
Mage::helper('ebizmarts_mandrill')->log("store: $storeId API: " . Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::APIKEY, $storeId));
|
98 |
$this->_mail = new Mandrill_Message(Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::APIKEY, $storeId));
|
99 |
return $this->_mail;
|
100 |
}
|
101 |
+
|
102 |
+
protected function _sendWithoutMandrill($message)
|
103 |
+
{
|
104 |
+
$parameters = new Varien_Object($message->getMessageParameters());
|
105 |
+
if ($parameters->getReturnPathEmail() !== null) {
|
106 |
+
$mailTransport = new Zend_Mail_Transport_Sendmail("-f" . $parameters->getReturnPathEmail());
|
107 |
+
Zend_Mail::setDefaultTransport($mailTransport);
|
108 |
+
}
|
109 |
+
|
110 |
+
$mailer = new Zend_Mail('utf-8');
|
111 |
+
foreach ($message->getRecipients() as $recipient) {
|
112 |
+
list($email, $name, $type) = $recipient;
|
113 |
+
switch ($type) {
|
114 |
+
case self::EMAIL_TYPE_BCC:
|
115 |
+
$mailer->addBcc($email, '=?utf-8?B?' . base64_encode($name) . '?=');
|
116 |
+
break;
|
117 |
+
case self::EMAIL_TYPE_TO:
|
118 |
+
case self::EMAIL_TYPE_CC:
|
119 |
+
default:
|
120 |
+
$mailer->addTo($email, '=?utf-8?B?' . base64_encode($name) . '?=');
|
121 |
+
break;
|
122 |
+
}
|
123 |
+
}
|
124 |
+
|
125 |
+
if ($parameters->getIsPlain()) {
|
126 |
+
$mailer->setBodyText($message->getMessageBody());
|
127 |
+
} else {
|
128 |
+
$mailer->setBodyHTML($message->getMessageBody());
|
129 |
+
}
|
130 |
+
|
131 |
+
$mailer->setSubject('=?utf-8?B?' . base64_encode($parameters->getSubject()) . '?=');
|
132 |
+
$mailer->setFrom($parameters->getFromEmail(), $parameters->getFromName());
|
133 |
+
if ($parameters->getReplyTo() !== null) {
|
134 |
+
$mailer->setReplyTo($parameters->getReplyTo());
|
135 |
+
}
|
136 |
+
if ($parameters->getReturnTo() !== null) {
|
137 |
+
$mailer->setReturnPath($parameters->getReturnTo());
|
138 |
+
}
|
139 |
+
|
140 |
+
try {
|
141 |
+
$mailer->send();
|
142 |
+
} catch (Exception $e) {
|
143 |
+
Mage::logException($e);
|
144 |
+
}
|
145 |
+
|
146 |
+
unset($mailer);
|
147 |
+
$message->setProcessedAt(Varien_Date::formatDate(true));
|
148 |
+
$message->save();
|
149 |
+
}
|
150 |
}
|
app/code/community/Ebizmarts/Mandrill/Model/Email/Template.php
CHANGED
@@ -82,15 +82,68 @@ class Ebizmarts_Mandrill_Model_Email_Template extends Mage_Core_Model_Email_Temp
|
|
82 |
|
83 |
$email['from_name'] = $this->getSenderName();
|
84 |
$email['from_email'] = $this->getSenderEmail();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
$mandrillSenders = $mail->senders->domains();
|
86 |
$senderExists = false;
|
87 |
foreach ($mandrillSenders as $sender) {
|
88 |
-
if($
|
89 |
$senderExists = true;
|
90 |
}
|
91 |
}
|
92 |
if (!$senderExists) {
|
93 |
-
$email['from_email'] = Mage::getStoreConfig('trans_email/ident_general/email');
|
94 |
}
|
95 |
$headers = $mail->getHeaders();
|
96 |
$headers[] = Mage::helper('ebizmarts_mandrill')->getUserAgent();
|
@@ -122,54 +175,11 @@ class Ebizmarts_Mandrill_Model_Email_Template extends Mage_Core_Model_Email_Temp
|
|
122 |
if ($att = $mail->getAttachments()) {
|
123 |
$email['attachments'] = $att;
|
124 |
}
|
125 |
-
if ($this->isPlain())
|
126 |
$email['text'] = $message;
|
127 |
-
else
|
128 |
-
$email['html'] = $message;
|
129 |
-
|
130 |
-
if ($this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue) {
|
131 |
-
$emailQueue = $this->getQueue();
|
132 |
-
$emailQueue->setMessageBody($message);
|
133 |
-
$emailQueue->setMessageParameters(
|
134 |
-
array(
|
135 |
-
'subject' => $subject,
|
136 |
-
'return_path_email' => $returnPathEmail,
|
137 |
-
'is_plain' => $this->isPlain(),
|
138 |
-
'from_email' => $this->getSenderEmail(),
|
139 |
-
'from_name' => $this->getSenderName()
|
140 |
-
)
|
141 |
-
)
|
142 |
-
->addRecipients($emails, $names, Mage_Core_Model_Email_Queue::EMAIL_TYPE_TO)
|
143 |
-
->addRecipients($this->_bccEmails, array(), Mage_Core_Model_Email_Queue::EMAIL_TYPE_BCC);
|
144 |
-
$emailQueue->addMessageToQueue();
|
145 |
-
return true;
|
146 |
-
}
|
147 |
-
try {
|
148 |
-
$result = $mail->messages->send($email);
|
149 |
-
} catch (Exception $e) {
|
150 |
-
Mage::logException($e);
|
151 |
-
return false;
|
152 |
-
}
|
153 |
-
return true;
|
154 |
-
|
155 |
-
}
|
156 |
-
|
157 |
-
/**
|
158 |
-
* @return Mandrill_Message|Zend_Mail
|
159 |
-
*/
|
160 |
-
public function getMail()
|
161 |
-
{
|
162 |
-
$storeId = Mage::app()->getStore()->getId();
|
163 |
-
if (!Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::ENABLE, $storeId)) {
|
164 |
-
return parent::getMail();
|
165 |
-
}
|
166 |
-
if ($this->_mail) {
|
167 |
-
return $this->_mail;
|
168 |
} else {
|
169 |
-
$
|
170 |
-
Mage::helper('ebizmarts_mandrill')->log("store: $storeId API: " . Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::APIKEY, $storeId));
|
171 |
-
$this->_mail = new Mandrill_Message(Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::APIKEY, $storeId));
|
172 |
-
return $this->_mail;
|
173 |
}
|
|
|
174 |
}
|
175 |
}
|
82 |
|
83 |
$email['from_name'] = $this->getSenderName();
|
84 |
$email['from_email'] = $this->getSenderEmail();
|
85 |
+
$emailArray = explode('@', $email['from_email']);
|
86 |
+
if (count($emailArray) > 1) {
|
87 |
+
$email = $this->_setEmailData($message, $mail, $email, $emailArray, $storeId);
|
88 |
+
|
89 |
+
if ($this->hasQueue() && $this->getQueue() instanceof Mage_Core_Model_Email_Queue) {
|
90 |
+
$emailQueue = $this->getQueue();
|
91 |
+
$emailQueue->setMessageBody($message);
|
92 |
+
$emailQueue->setMessageParameters(
|
93 |
+
array(
|
94 |
+
'subject' => $subject,
|
95 |
+
'return_path_email' => $returnPathEmail,
|
96 |
+
'is_plain' => $this->isPlain(),
|
97 |
+
'from_email' => $this->getSenderEmail(),
|
98 |
+
'from_name' => $this->getSenderName()
|
99 |
+
)
|
100 |
+
)
|
101 |
+
->addRecipients($emails, $names, Mage_Core_Model_Email_Queue::EMAIL_TYPE_TO)
|
102 |
+
->addRecipients($this->_bccEmails, array(), Mage_Core_Model_Email_Queue::EMAIL_TYPE_BCC);
|
103 |
+
$emailQueue->addMessageToQueue();
|
104 |
+
return true;
|
105 |
+
}
|
106 |
+
}
|
107 |
+
try {
|
108 |
+
$result = $mail->messages->send($email);
|
109 |
+
} catch (Exception $e) {
|
110 |
+
Mage::logException($e);
|
111 |
+
return false;
|
112 |
+
}
|
113 |
+
return true;
|
114 |
+
|
115 |
+
}
|
116 |
+
|
117 |
+
/**
|
118 |
+
* @return Mandrill_Message|Zend_Mail
|
119 |
+
*/
|
120 |
+
public function getMail()
|
121 |
+
{
|
122 |
+
$storeId = Mage::app()->getStore()->getId();
|
123 |
+
if (!Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::ENABLE, $storeId)) {
|
124 |
+
return parent::getMail();
|
125 |
+
}
|
126 |
+
if ($this->_mail) {
|
127 |
+
return $this->_mail;
|
128 |
+
} else {
|
129 |
+
$storeId = Mage::app()->getStore()->getId();
|
130 |
+
Mage::helper('ebizmarts_mandrill')->log("store: $storeId API: " . Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::APIKEY, $storeId));
|
131 |
+
$this->_mail = new Mandrill_Message(Mage::getStoreConfig(Ebizmarts_Mandrill_Model_System_Config::APIKEY, $storeId));
|
132 |
+
return $this->_mail;
|
133 |
+
}
|
134 |
+
}
|
135 |
+
|
136 |
+
protected function _setEmailData($message, $mail, $email, $emailArray, $storeId)
|
137 |
+
{
|
138 |
$mandrillSenders = $mail->senders->domains();
|
139 |
$senderExists = false;
|
140 |
foreach ($mandrillSenders as $sender) {
|
141 |
+
if ($emailArray[1] == $sender['domain']) {
|
142 |
$senderExists = true;
|
143 |
}
|
144 |
}
|
145 |
if (!$senderExists) {
|
146 |
+
$email['from_email'] = Mage::getStoreConfig('trans_email/ident_general/email', $storeId);
|
147 |
}
|
148 |
$headers = $mail->getHeaders();
|
149 |
$headers[] = Mage::helper('ebizmarts_mandrill')->getUserAgent();
|
175 |
if ($att = $mail->getAttachments()) {
|
176 |
$email['attachments'] = $att;
|
177 |
}
|
178 |
+
if ($this->isPlain()) {
|
179 |
$email['text'] = $message;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
} else {
|
181 |
+
$email['html'] = $message;
|
|
|
|
|
|
|
182 |
}
|
183 |
+
return $email;
|
184 |
}
|
185 |
}
|
app/code/community/Ebizmarts/Mandrill/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Ebizmarts_Mandrill>
|
5 |
-
<version>2.0.
|
6 |
</Ebizmarts_Mandrill>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Ebizmarts_Mandrill>
|
5 |
+
<version>2.0.13</version>
|
6 |
</Ebizmarts_Mandrill>
|
7 |
</modules>
|
8 |
<global>
|
app/design/adminhtml/default/default/template/ebizmarts/abandonedcart/system/config/fieldset/hint.phtml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div style="background:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:11px 0 0 10px;">
|
2 |
<h4>
|
3 |
<img width="244px" height="60px" src="https://ebizmarts-website.s3.amazonaws.com/Logo_Ebizmarts.png"/><br>
|
4 |
-
<?php echo Mage::helper('ebizmarts_abandonedcart')->__('<strong style="color:#EA7601;">Ebizmarts Abandoned Cart v%s</strong> <br>Need help? See our <a href="http://wiki.ebizmarts.com/abandoned-carts/" target="_blank">Wiki</a> or browse our <a href="http://ebizmarts.com/forums/view/1" target="_blank">support forums</a> Got feedback? <a href="mailto:
|
5 |
<?php if (!Mage::helper('ebizmarts_mandrill')->useTransactionalService()): ?>
|
6 |
<div class="box error-msg" style="padding-left: 30px;">
|
7 |
You must setup <a class="action-link-holder"
|
1 |
<div style="background:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:11px 0 0 10px;">
|
2 |
<h4>
|
3 |
<img width="244px" height="60px" src="https://ebizmarts-website.s3.amazonaws.com/Logo_Ebizmarts.png"/><br>
|
4 |
+
<?php echo Mage::helper('ebizmarts_abandonedcart')->__('<strong style="color:#EA7601;">Ebizmarts Abandoned Cart v%s</strong> <br>Need help? See our <a href="http://wiki.ebizmarts.com/abandoned-carts/" target="_blank">Wiki</a> or browse our <a href="http://ebizmarts.com/forums/view/1" target="_blank">support forums</a> Got feedback? <a href="mailto:mailchimp@ebizmarts-desk.zendesk.com?Subject=Support Abandoned Cart Version %s">Email us</a>', $this->getVersion(), $this->getVersion()) ?>
|
5 |
<?php if (!Mage::helper('ebizmarts_mandrill')->useTransactionalService()): ?>
|
6 |
<div class="box error-msg" style="padding-left: 30px;">
|
7 |
You must setup <a class="action-link-holder"
|
app/design/adminhtml/default/default/template/ebizmarts/autoresponder/system/config/fieldset/hint.phtml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div style="background:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:11px 0 0 10px;">
|
2 |
<h4>
|
3 |
<img width="244px" height="60px" src="https://ebizmarts-website.s3.amazonaws.com/Logo_Ebizmarts.png"/><br>
|
4 |
-
<?php echo Mage::helper('ebizmarts_autoresponder')->__('<strong style="color:#EA7601;">Ebizmarts Autoresponder v%s</strong> <br>Need help? See our <a href="http://wiki.ebizmarts.com/configuration" target="_blank">Wiki</a> or browse our <a href="http://ebizmarts.com/forums/view/1" target="_blank">support forums</a> Got feedback? <a href="mailto:
|
5 |
|
6 |
<?php if (!Mage::helper('ebizmarts_mandrill')->useTransactionalService()): ?>
|
7 |
<div class="box error-msg" style="padding-left: 30px;">
|
1 |
<div style="background:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:11px 0 0 10px;">
|
2 |
<h4>
|
3 |
<img width="244px" height="60px" src="https://ebizmarts-website.s3.amazonaws.com/Logo_Ebizmarts.png"/><br>
|
4 |
+
<?php echo Mage::helper('ebizmarts_autoresponder')->__('<strong style="color:#EA7601;">Ebizmarts Autoresponder v%s</strong> <br>Need help? See our <a href="http://wiki.ebizmarts.com/configuration" target="_blank">Wiki</a> or browse our <a href="http://ebizmarts.com/forums/view/1" target="_blank">support forums</a> Got feedback? <a href="mailto:mailchimp@ebizmarts-desk.zendesk.com?Subject=Support Autoresponder Version %s">Email us</a>', $this->getVersion(), $this->getVersion()) ?>
|
5 |
|
6 |
<?php if (!Mage::helper('ebizmarts_mandrill')->useTransactionalService()): ?>
|
7 |
<div class="box error-msg" style="padding-left: 30px;">
|
app/design/adminhtml/default/default/template/ebizmarts/mandrill/system/config/fieldset/hint.phtml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<h4>
|
4 |
<?php echo $this->__('<strong style="color:#EA7601;">Mandrill v%s by</strong> <a target="_blank" href="http://ebizmarts.com"><strong>ebizmarts</strong></a>', $this->getMandrillVersion()) ?>
|
5 |
<br>
|
6 |
-
<?php echo $this->__('Need help? See our <a href="http://wiki.ebizmarts.com/installation" target="_blank">Wiki</a> or browse our <a href="http://ebizmarts.com/forums/view/1" target="_blank">support forums</a> Got feedback? <a href="mailto:
|
7 |
</h4>
|
8 |
<h3><a style="padding-top: 5px;padding-bottom:5px;padding-left: 30px;padding-right: 30px;background-color:#D75F07 ;color:white;font-weight: bold" href="http://www.mailchimp.com/signup?pid=ebizmarts&source=website" target="_blank">Support MageMonkey, Subscribe for a free MailChimp Account!</a> </h3>
|
9 |
</div>
|
3 |
<h4>
|
4 |
<?php echo $this->__('<strong style="color:#EA7601;">Mandrill v%s by</strong> <a target="_blank" href="http://ebizmarts.com"><strong>ebizmarts</strong></a>', $this->getMandrillVersion()) ?>
|
5 |
<br>
|
6 |
+
<?php echo $this->__('Need help? See our <a href="http://wiki.ebizmarts.com/installation" target="_blank">Wiki</a> or browse our <a href="http://ebizmarts.com/forums/view/1" target="_blank">support forums</a> Got feedback? <a href="mailto:mailchimp@ebizmarts-desk.zendesk.com?Subject=Mandrill Version %s">Email us</a>', $this->getMandrillVersion()) ?>
|
7 |
</h4>
|
8 |
<h3><a style="padding-top: 5px;padding-bottom:5px;padding-left: 30px;padding-right: 30px;background-color:#D75F07 ;color:white;font-weight: bold" href="http://www.mailchimp.com/signup?pid=ebizmarts&source=website" target="_blank">Support MageMonkey, Subscribe for a free MailChimp Account!</a> </h3>
|
9 |
</div>
|
app/design/adminhtml/default/default/template/magemonkey/system/config/fieldset/hint.phtml
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
<h4>
|
9 |
<?php echo Mage::helper('monkey')->__('<strong style="color:#EA7601;">MageMonkey v%s by</strong> <a target="_blank" href="http://ebizmarts.com"><strong>ebizmarts</strong></a>', $this->getMageMonkeyVersion()) ?>
|
10 |
<br>
|
11 |
-
<?php echo Mage::helper('monkey')->__('Need help? See our <a href="http://wiki.ebizmarts.com/installation" target="_blank">Wiki</a> or browse our <a href="http://ebizmarts.com/forums/view/1" target="_blank">support forums</a> Got feedback? <a href="mailto:
|
12 |
</h4>
|
13 |
<h3><a style="padding-top: 5px;padding-bottom:5px;padding-left: 30px;padding-right: 30px;background-color:#D75F07 ;color:white;font-weight: bold" href="http://www.mailchimp.com/signup?pid=ebizmarts&source=website" target="_blank">Support MageMonkey, Subscribe for a free MailChimp Account!</a> </h3>
|
14 |
</div>
|
8 |
<h4>
|
9 |
<?php echo Mage::helper('monkey')->__('<strong style="color:#EA7601;">MageMonkey v%s by</strong> <a target="_blank" href="http://ebizmarts.com"><strong>ebizmarts</strong></a>', $this->getMageMonkeyVersion()) ?>
|
10 |
<br>
|
11 |
+
<?php echo Mage::helper('monkey')->__('Need help? See our <a href="http://wiki.ebizmarts.com/installation" target="_blank">Wiki</a> or browse our <a href="http://ebizmarts.com/forums/view/1" target="_blank">support forums</a> Got feedback? <a href="mailto:mailchimp@ebizmarts-desk.zendesk.com?Subject=MageMonkey Version %s">Email us</a>', $this->getMageMonkeyVersion()) ?>
|
12 |
</h4>
|
13 |
<h3><a style="padding-top: 5px;padding-bottom:5px;padding-left: 30px;padding-right: 30px;background-color:#D75F07 ;color:white;font-weight: bold" href="http://www.mailchimp.com/signup?pid=ebizmarts&source=website" target="_blank">Support MageMonkey, Subscribe for a free MailChimp Account!</a> </h3>
|
14 |
</div>
|
app/design/frontend/base/default/template/magemonkey/checkout/subscribe.phtml
CHANGED
@@ -71,17 +71,17 @@ $force = $this->getForce();
|
|
71 |
|
72 |
};
|
73 |
addGroupToPost = function (element) {
|
74 |
-
|
75 |
-
if (element.checked) {
|
76 |
-
|
77 |
try {
|
78 |
-
var group =
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
|
|
|
|
85 |
Element.insert(Form.findFirstElement(payment.form), group);
|
86 |
} catch (notelem) {
|
87 |
$("co-payment-form").insert(group);
|
@@ -263,7 +263,7 @@ $force = $this->getForce();
|
|
263 |
//
|
264 |
// }
|
265 |
//Handle newsletter groups subscribe/unsubscribe checkbox events
|
266 |
-
$$('.interest-groupings input').each(function (group) {
|
267 |
group.observe('change', function () {
|
268 |
addGroupToPost(group);
|
269 |
});
|
71 |
|
72 |
};
|
73 |
addGroupToPost = function (element) {
|
74 |
+
if ((element.checked && element.type == 'checkbox') || (element.type == 'select-one' && element.value)) {
|
|
|
|
|
75 |
try {
|
76 |
+
var group = element.cloneNode(false);
|
77 |
+
if (element.type == 'select-one') {
|
78 |
+
var option = new Element('option', {
|
79 |
+
text: element.value,
|
80 |
+
value: element.value,
|
81 |
+
selected: 'selected'
|
82 |
+
});
|
83 |
+
group.appendChild(option);
|
84 |
+
}
|
85 |
Element.insert(Form.findFirstElement(payment.form), group);
|
86 |
} catch (notelem) {
|
87 |
$("co-payment-form").insert(group);
|
263 |
//
|
264 |
// }
|
265 |
//Handle newsletter groups subscribe/unsubscribe checkbox events
|
266 |
+
$$('.interest-groupings input, select').each(function (group) {
|
267 |
group.observe('change', function () {
|
268 |
addGroupToPost(group);
|
269 |
});
|
lib/Mandrill/Mandrill/Exceptions.php
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
<?php
|
2 |
-
|
|
|
3 |
class Mandrill_Error extends Exception
|
4 |
{
|
5 |
}
|
@@ -210,5 +211,4 @@ class Mandrill_Metadata_FieldLimit extends Mandrill_Error
|
|
210 |
class Mandrill_Unknown_MetadataField extends Mandrill_Error
|
211 |
{
|
212 |
}
|
213 |
-
|
214 |
-
|
1 |
<?php
|
2 |
+
// This is an external library.
|
3 |
+
// @codingStandardsIgnoreStart
|
4 |
class Mandrill_Error extends Exception
|
5 |
{
|
6 |
}
|
211 |
class Mandrill_Unknown_MetadataField extends Mandrill_Error
|
212 |
{
|
213 |
}
|
214 |
+
// @codingStandardsIgnoreEnd
|
|
lib/Mandrill/Mandrill/HttpError.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mandrill_HttpError extends Mandrill_Error
|
4 |
+
{
|
5 |
+
}
|
lib/Mandrill/Mandrill/InvalidKey.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The provided API key is not a valid Mandrill API key
|
5 |
+
*/
|
6 |
+
class Mandrill_Invalid_Key extends Mandrill_Error
|
7 |
+
{
|
8 |
+
}
|
lib/Mandrill/Mandrill/PaymentRequired.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The requested feature requires payment.
|
5 |
+
*/
|
6 |
+
class Mandrill_PaymentRequired extends Mandrill_Error
|
7 |
+
{
|
8 |
+
}
|
lib/Mandrill/Mandrill/UnknownSubaccount.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The provided subaccount id does not exist.
|
5 |
+
*/
|
6 |
+
class Mandrill_Unknown_Subaccount extends Mandrill_Error
|
7 |
+
{
|
8 |
+
}
|
lib/Mandrill/Mandrill/UnknownTemplate.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mandrill_HttpError extends Mandrill_Error
|
4 |
+
{
|
5 |
+
}
|
lib/Mandrill/Mandrill/ValidationError.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Mandrill_ValidationError extends Mandrill_Error
|
4 |
+
{
|
5 |
+
}
|
package.xml
CHANGED
@@ -1,22 +1,27 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ebizmarts_MageMonkey</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>MailChimp integration for Magento by Ebizmarts</summary>
|
10 |
<description>Full MailChimp integration, automatic webhooks, multiple lists, interest groups</description>
|
11 |
-
<notes>1.2.
|
12 |
--------
|
13 |
Bug Fixes:
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
16 |
<authors><author><name>Ebizmarts Development Team</name><user>ebizmarts</user><email>info@ebizmarts.com</email></author></authors>
|
17 |
-
<date>2016-
|
18 |
-
<time>
|
19 |
-
<contents><target name="magecommunity"><dir name="Ebizmarts"><dir name="MageMonkey"><dir name="Block"><dir name="Adminhtml"><dir name="Bulksync"><dir name="Export"><file name="Form.php" hash="3ce4974c74b5a2989754f5224663b6f0"/></dir><file name="Export.php" hash="ab839a4011692b69b292fe59eb50100e"/><dir name="Import"><file name="Form.php" hash="8f8ba669442a0a773d0dd60f8b25aac7"/></dir><file name="Import.php" hash="9c7ba4a566038356e60e9482301d7cb7"/><dir name="Queue"><file name="Grid.php" hash="d9bbc66e07c30ec7230d4132ac5076e8"/></dir><file name="Queue.php" hash="c3cea1da02e0a09d7876958058ee091e"/><dir name="QueueExport"><file name="Grid.php" hash="fcd5a7b47475d675def6b8b6de419b27"/></dir><file name="QueueExport.php" hash="5d389b15db1c01f8824f8d3dbddce963"/><dir name="QueueImport"><file name="Grid.php" hash="be7385740c85b1aede3a8769abf7233b"/></dir><file name="QueueImport.php" hash="a105aff1abe7e4da99fb5890a5202042"/></dir><dir name="Customer"><dir name="Edit"><dir name="Tab"><file name="Memberactivity.php" hash="55fbb4519c6d862948dc4d8bf4416cfb"/></dir></dir></dir><dir name="Ecommerce"><file name="Grid.php" hash="084f90df148d03ad835b21e407c85695"/></dir><file name="Ecommerce.php" hash="48c237e8cc1223ad26a88d2409679fec"/><dir name="Ecommerceapi"><file name="Grid.php" hash="83e8fd2c69ece5398a021fb190cd88e3"/><dir name="Renderer"><file name="Items.php" hash="d72cfedf0cafc938becf9bd52801ba3a"/></dir></dir><file name="Ecommerceapi.php" hash="a9f659502d96bcd1a69a88d15fcab4f9"/><dir name="Memberactivity"><file name="Grid.php" hash="9638c3879c010e19cddb02b5b514d0a1"/></dir><dir name="Newsletter"><dir name="Subscriber"><dir name="Renderer"><file name="Firstname.php" hash="ac50d0bb77f39d0c31f0502eb38ecac7"/><file name="Lastname.php" hash="83d539c8573663710e89b31d7f6279e9"/></dir></dir></dir><dir name="Renderer"><file name="Date.php" hash="6e4e52403ec55df3aa2183fd4b51b095"/><file name="Importypes.php" hash="87c7a222e403781fcd8ee08cf0b489ba"/><file name="Lists.php" hash="2dbd23844a822d3406efae08e89ce0d7"/><file name="Progress.php" hash="31eaaa5a7e99b21a4ed705971fe1001d"/><file name="Yesno.php" hash="c3173a8e8ea2d5f03531e7d996bbd259"/></dir><dir name="System"><dir name="Config"><file name="Account.php" hash="fccf1faac2682d754655631e6451c026"/><file name="Date.php" hash="455120f4f2e8d7801f3c220e231b6789"/><dir name="Fieldset"><file name="Hint.php" hash="31bf492c4e6137312c55bc437bf226cf"/></dir><dir name="Form"><dir name="Field"><file name="Mapfields.php" hash="2ce2b207eee07b7faf4fcfa8d743f4cb"/></dir></dir><file name="OauthWizard.php" hash="3817a6f4c8c5c89385f9cb3a0a379579"/><file name="ResetLocalEcommerce.php" hash="e104c012fc920c0f71a02815b53ffa47"/><file name="ResetRemoteEcommerce.php" hash="f3d14a262cbb5ccdd67a7340dc0bb615"/><file name="UpgradeForPatch.php" hash="af2a9e07b33c70f3b3748579ef3472d0"/></dir></dir></dir><dir name="Checkout"><file name="Subscribe.php" hash="823bb840da85ae6919dd6f6f5e747c94"/></dir><dir name="Customer"><dir name="Account"><file name="Lists.php" hash="64f0e5a8360750f6b19d8b5db0fcac23"/></dir></dir><file name="Lists.php" hash="95249d8fe61365dbf26e83bf866644dc"/><file name="Signup.php" hash="93b0e787e63a90a5fb4bacba1e03bd05"/></dir><dir name="Helper"><file name="Cache.php" hash="4e6cd9724c2788056aacacd37f5699cc"/><file name="Data.php" hash="8e538dffa833f1f5bb76d80f01222a80"/><file name="Export.php" hash="91f24805e9cbbe124f0c99cb8f1f1272"/><file name="Oauth2.php" hash="684a7b71d97b438081ebf332057ec8ea"/></dir><dir name="Model"><file name="Api.php" hash="ea7c720767bc58cb740d2f70100f699b"/><file name="Asyncorders.php" hash="3f60d1a1c1885268ae7e2ddfb1772feb"/><file name="Asyncsubscribers.php" hash="b79a42df357267205d7e74bb7c220755"/><file name="Asyncwebhooks.php" hash="fc57fee18b5f9cc098318ca1242a082f"/><file name="BulksyncExport.php" hash="71af9a6134b415a324dc9c937a5b2f8e"/><file name="BulksyncImport.php" hash="fb3716e235bc22cf91c4c17edf10ec23"/><file name="Cache.php" hash="89ac2fac903a566e6f6a3c0951bf274d"/><file name="Config.php" hash="b6cccdaa6bab4a5d9ba4d1eafb26318c"/><file name="Cron.php" hash="22e8fe391681954a0f19379a99a2ff80"/><dir name="Custom"><file name="Collection.php" hash="304d372c1b8bd8d8d09dd743e03cdf66"/></dir><file name="Ecommerce.php" hash="f4581befe128963df3e3d062b1bc4d55"/><file name="Ecommerce360.php" hash="d8c897d93bf09480f980a8bc3d7d69f2"/><dir name="Email"><file name="Template.php" hash="81c9f040cf931dfb9e2a2484d9cc0b09"/></dir><dir name="Feed"><file name="Updates.php" hash="16e3d78ea15dbf71d0291945d28d6a42"/></dir><file name="Lastorder.php" hash="f2977e76892b0b1a5e031f8eabf93f18"/><file name="MCAPI.php" hash="b95b1faee6c18505213a6d9ee75f9168"/><file name="MCEXPORTAPI.php" hash="810b1c7b0f6daf93e11c7fbbc90980a3"/><file name="Monkey.php" hash="ed50cfa8528e149e1a635e691f1cad30"/><dir name="Mysql4"><dir name="Apidebug"><file name="Collection.php" hash="7cc3fe74a46da1a4770b49eb7ac47f97"/></dir><file name="Apidebug.php" hash="2699eec825e8fb88b1d572728c10b7bc"/><dir name="Asyncorders"><file name="Collection.php" hash="e7b17fac028f7116c762e120b0f3f0a8"/></dir><file name="Asyncorders.php" hash="3eb64d883705854ce7899fd891101c63"/><dir name="Asyncsubscribers"><file name="Collection.php" hash="3458134c9a1ced7359db40f7b79a133f"/></dir><file name="Asyncsubscribers.php" hash="a067c1e951ce61558e00f3aa8e5d15ef"/><dir name="Asyncwebhooks"><file name="Collection.php" hash="44170fc7219e1992c6cd0dbad863af4f"/></dir><file name="Asyncwebhooks.php" hash="79de544aaed58102758eeef01467b066"/><dir name="Bulksync"><dir name="Export"><file name="Collection.php" hash="ac64bc652233136189c504f678062374"/></dir><file name="Export.php" hash="eedc5a3549b3815f0d290eca3e0579df"/><dir name="Import"><file name="Collection.php" hash="6cb3e09a817488f9bfa50f877a5c2b0b"/></dir><file name="Import.php" hash="487fc6c0335ebf352081185d9afe3f88"/></dir><dir name="Ecommerce"><file name="Collection.php" hash="80319b6c991c510f1569800c80d384f1"/></dir><file name="Ecommerce.php" hash="b3290a6170c8c8f275dcd4300840ea26"/><dir name="Lastorder"><file name="Collection.php" hash="38d6a7519cfe21caf7f5d22877aa1477"/></dir><file name="Lastorder.php" hash="f3987329cb78c978bcc94ba375d9f998"/></dir><file name="Observer.php" hash="2f2a1230efed1d9936daa492d42509b3"/><file name="Subscriber.php" hash="cce616f3b027dc59f50cde2d8be9f06d"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Account.php" hash="3bb41cc678707e978e06754e3b64a0db"/><file name="Attributes.php" hash="4ac1c98f3b3b84b2c93ddfcc3df5d817"/><file name="BulksyncDatasource.php" hash="36331ac3ecd034f914666a49e4d75cbc"/><file name="BulksyncStatus.php" hash="658f1f9d1ee7177d5dc094862bce155a"/><file name="Checkoutsubscribe.php" hash="28c8641a8fa4c336487af2227e152136"/><file name="CronProcessLimit.php" hash="3ca3a61f07b7aa84479eddda35efdde4"/><file name="CustomerGroup.php" hash="7b58091d697dae1829cd2244eb405a90"/><file name="Ecommerce360.php" hash="24906da389cbf6b4a97c3edab5c7f020"/><file name="List.php" hash="acbffbbfe0a11566e745e01fce34ec51"/><file name="OrderProcessLimit.php" hash="bc3add48e125caa904774cb6b669ba0c"/><file name="OrderStatus.php" hash="d3eeeee5d614e8fa83e258ce53cbed79"/><file name="Status.php" hash="e1e5cf6252241f39d0ceaff6f94d3afb"/><file name="TransactionalEmails.php" hash="b2f0d564a59372cba59d3aac7e4fe9e0"/><file name="WebhookDelete.php" hash="c90bbf8b0cf2a546c0f72193f8c605cf"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BulksyncController.php" hash="8b688f333a192f121615f12024d38d0e"/><file name="ConfigController.php" hash="805444a2f60413a24cce094c56327d95"/><file name="EcommerceController.php" hash="424f9fdd7ac7be4310cb83e911f6cc8f"/></dir><dir name="Customer"><file name="AccountController.php" hash="14479dffeacd3c2421ce5822f7d7f190"/></dir><file name="SignupController.php" hash="e379f52f8ee0191a4c7289cd2afcd19d"/><file name="WebhookController.php" hash="255278ff6da9c4383d1b58cf716eb974"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f203274d5b6522dd00f630a58bc18623"/><file name="config.xml" hash="785a1185739ab818954fcf54b2922dff"/><file name="system.xml" hash="c34f4b9f706815154982715ef4e50fb6"/></dir><dir name="sql"><dir name="monkey_setup"><file name="mysql4-install-0.0.1.php" hash="52d34e66c63b9382830a8a4018fda871"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="a0af4b1dc5867a79c8f8dc5db81bedd4"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="59e4b29b2230d2beeb48eda241c5f14a"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="fd3d921c965f9983dc53f78c4c613704"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="bbe6b895320effca77cc2c23431f043f"/><file name="mysql4-upgrade-0.0.5-0.0.6.php" hash="98b72d9ef4ec8078c09a1f641fc35a39"/><file name="mysql4-upgrade-0.0.6-0.0.7.php" hash="ea15755fc072e7c82b78063589360779"/><file name="mysql4-upgrade-1.0.10-1.0.11.php" hash="b2ec497921eb2bd9a97a318554fd980b"/><file name="mysql4-upgrade-1.1.21-1.1.22.php" hash="a42e904240209791fb4be7ab49faff60"/><file name="mysql4-upgrade-1.1.23-1.1.24.php" hash="ee987d88cb3b5bbd4d273214359360ca"/><file name="mysql4-upgrade-1.1.33-1.1.34.php" hash="0dbd8c7ed4d508db89e6f18c66f61a8f"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="14750274ece5816d6c1ab490f7d610ab"/><file name="mysql4-upgrade-1.2.1-1.2.2.php" hash="c622ec016eb8134492d6011007d82149"/><file name="mysql4-upgrade-1.2.4-1.2.5.php" hash="84f13828afcba137c57da9b39baf5b8f"/></dir></dir></dir><dir name="Mandrill"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="6ca5fb9bf9254323e1f2b4447203b562"/></dir><file name="Userinfo.php" hash="7cd34efc0231424c9e2f5e662154c41c"/></dir></dir><dir name="Templates"><dir name="Templates"><file name="Grid.php" hash="a67b366bf40d808740516b1af668eba6"/></dir><file name="Templates.php" hash="1682fe6d39605a9839bf3cdb3c1185b7"/></dir><dir name="Users"><dir name="Senders"><file name="Grid.php" hash="f06ff10d84a8f38aaf8b6edf3508014b"/></dir><file name="Senders.php" hash="4a4449652c495a9d4c12966ab007e7a4"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="86fcaa6a66a5a628ded7215172448daf"/></dir><dir name="Model"><file name="Customcollection.php" hash="9b5766c0393a54b4356254725b4d78b2"/><dir name="Email"><file name="Queue.php" hash="4909872969524b9e4e19dc4ee3854b6b"/><file name="Template.php" hash="0e7abaa1bc71cd1d9e26afd26c4fb34e"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Userinfo.php" hash="3b4c0d612cdd9f0ca08a93ebe89d3fe4"/></dir></dir><file name="Config.php" hash="2219d951bf6b2553ec0284b65d8d92a2"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Mandrill"><file name="UsersController.php" hash="6ffb1b993cac9c7c5e76341c68de0ad4"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8ea87cce062596388f7e9507943e8bb5"/><file name="config.xml" hash="4e846175a3362b3f57bcbd3a566949ff"/><file name="system.xml" hash="d05b90ca129297b6ffda52a4ba1fd26a"/></dir></dir><dir name="AbandonedCart"><dir name="Block"><dir name="Adminhtml"><dir name="Abandonedmails"><file name="Grid.php" hash="cacc96f2eec230c27b90a799a8d058ab"/></dir><file name="Abandonedmails.php" hash="c2714b5a6cb534c91564ebc340fe3f26"/><dir name="Abandonedorder"><file name="Grid.php" hash="9bd11db18a11d29a4acfba5d1c7e234e"/></dir><file name="Abandonedorder.php" hash="1a14da87647612a8773f34f70bc05dea"/><dir name="Dashboard"><file name="Sales.php" hash="b0d6fce3a5f4ef5a891c8578eb36ef97"/><file name="Totals.php" hash="a1f1e16a5846fac473a83a3df037c76c"/></dir><file name="Dashboard.php" hash="d45cf2734e5b7e18d5f13753d4393143"/><dir name="System"><dir name="Config"><file name="Date.php" hash="323a49af281f06dfa72c1d3512257e04"/><dir name="Fieldset"><file name="Hint.php" hash="6358bc58857011c08dedcbab885b461f"/></dir></dir></dir></dir><dir name="Email"><dir name="Order"><file name="Items.php" hash="69d7d7eaded2071555a4e8cd4a5bfc92"/></dir></dir><dir name="Popup"><file name="Emailcatcher.php" hash="0a88cf2ae484cadadb8665c6be692e55"/></dir></dir><dir name="Helper"><file name="Data.php" hash="3e5a2e3d99b62936b0766313b9e62462"/></dir><dir name="Model"><file name="Abtesting.php" hash="fdf9df78b6656c898fd74fbcb3ec51e1"/><file name="Config.php" hash="36a47f3d4db78d60d8a8f3e0db08aba4"/><file name="Cron.php" hash="e18b5d1ff214fe42ab1629b889b32072"/><file name="EventObserver.php" hash="8e0cac12462945dd87000dd630bc0005"/><file name="Mailssent.php" hash="e238f4116cb473cdcfb3a909d08adaa4"/><file name="Popup.php" hash="d2a4922acc0c5c3994cbc0b2114658b8"/><dir name="Resource"><dir name="Abtesting"><file name="Collection.php" hash="f96fe4be550bef6daabc5d211c86aca0"/></dir><file name="Abtesting.php" hash="46e70f8507676e157ddec44f66094e59"/><dir name="Mailssent"><file name="Collection.php" hash="dc1e2c44eb53381d57d10a6bc08ad497"/></dir><file name="Mailssent.php" hash="80f0b4e3f29d10951362f07eb45a3ece"/><dir name="Order"><file name="Collection.php" hash="46d0b77d0786485b576fdc3bb91f868d"/></dir><dir name="Popup"><file name="Collection.php" hash="af37502f9802c7574318ab28a8fb1b16"/></dir><file name="Popup.php" hash="446921e9b1da1973c83665e8f749bbbb"/></dir><dir name="System"><dir name="Config"><file name="Automatic.php" hash="a4f5e052810187fb824933e76ea8a1cf"/><file name="Cmspage.php" hash="89bfcbe90a7b2f396a56b3f1fe72dbd2"/><file name="Customergroup.php" hash="74af027c3fb6745d0e45938f83394489"/><file name="Discounttype.php" hash="55c251fafbd10821d6c18c381c307888"/><file name="Maxemails.php" hash="63b860ace056552d159ada056eebfbd7"/><file name="Unit.php" hash="07fa0c25182538e08479cc4f91c7ca16"/><file name="Yesnovariation.php" hash="d24e4bf79afe73e85422c53835de0012"/></dir></dir></dir><dir name="controllers"><file name="AbandonedController.php" hash="a4104d88dba1783314256cd8972afd6f"/><dir name="Adminhtml"><file name="AbandonedmailsController.php" hash="0c0c4c29e1400adc87bb2bfce7beb335"/><file name="AbandonedorderController.php" hash="cc1a121821d90ef49aa0b382492c7c9c"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="62708e88154b231e694210cca0aa6c97"/><file name="config.xml" hash="252466f28f076fa39ee900ec9f7dc9cf"/><file name="system.xml" hash="a475b2a528b5bbd7b38caf1607b7e733"/></dir><dir name="sql"><dir name="ebizmarts_abandonedcart_setup"><file name="mysql4-install-0.1.0.php" hash="0e1a8c0391654c480773b78a50db5a83"/><file name="mysql4-upgrade-0.1.12-0.1.13.php" hash="401a70cac4b711e374e03f94ec38c8bd"/><file name="mysql4-upgrade-0.1.18-0.1.19.php" hash="ac4d268c0a77196d0211144e4e72406f"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="2e87d09a5008ac2f2432a25e08474c87"/><file name="mysql4-upgrade-0.1.20-0.1.21.php" hash="c461ba10961b4ee4e9385173d4264617"/><file name="mysql4-upgrade-0.1.29-0.1.30.php" hash="2201180f761aa3ca68ef451246fdfe0c"/><file name="mysql4-upgrade-0.1.30-0.1.31.php" hash="6b55997a2fcdaf25bed9fe852a56125a"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="60daa0d70a1af929a39d6e20ee52ee9c"/><file name="mysql4-upgrade-1.1.35-1.2.0.php" hash="6db4903a37aa2879925a1b74439772e0"/></dir></dir></dir><dir name="Autoresponder"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backtostock"><dir name="Fieldset"><file name="Hint.php" hash="196c96e0bdfb853c42510d8cef4bf69a"/></dir></dir><dir name="Birthday"><dir name="Fieldset"><file name="Hint.php" hash="bff790a4ecf1f7ed7ac5d966cb8d516f"/></dir></dir><dir name="Fieldset"><file name="Hint.php" hash="eea231bb3f99b0f3708c2d43144e0f44"/></dir><dir name="Review"><dir name="Fieldset"><file name="Hint.php" hash="d9906e111824893ef363926dd2b485eb"/></dir></dir><dir name="Wishlist"><dir name="Fieldset"><file name="Hint.php" hash="75a66f64700f02eebfa391f953bc42d0"/></dir></dir></dir></dir></dir><dir name="Backtostock"><file name="Notice.php" hash="30efc30519a1ecb31d39a5fe59a6ae90"/></dir><dir name="Customer"><dir name="Account"><file name="List.php" hash="755d6d07d113450617bc31e8bc039df0"/></dir></dir><dir name="Email"><dir name="Backtostock"><file name="Item.php" hash="178b97ceae8c488bf49cb44b6f5f5d11"/></dir><dir name="Related"><file name="Items.php" hash="831fda241af415c53d47274ecc395299"/></dir><dir name="Review"><file name="Items.php" hash="de3dd88f0a2399314c746b08cbe4ab82"/></dir><dir name="Wishlist"><file name="Items.php" hash="5c712e43bca1a83bf7592e082acca863"/></dir></dir><dir name="Review"><file name="Form.php" hash="cb10cbe1702bc6261874ed68eec47a00"/></dir><file name="Unsubscribe.php" hash="bb945f9a63f38ca0b6cdd2a0daed5416"/></dir><dir name="Helper"><file name="Data.php" hash="45eec5e986cf0997ff5f97f7148f0ec3"/></dir><dir name="Model"><file name="Backtostock.php" hash="fa62a4685c70474a2ce3da394e68c597"/><file name="Backtostockalert.php" hash="eabe65c559ee1d93bc8b67dc0bb32a40"/><file name="Config.php" hash="75a65035e240a5154b2037feceb4d864"/><file name="Cron.php" hash="1a91f6d26fae3295fae3e3b5525b99c2"/><file name="EventObserver.php" hash="302607caf7e1e258d2bd20318d7c1fcc"/><dir name="Resource"><dir name="Backtostock"><file name="Collection.php" hash="95a70c48dce1bac7fcb86447bb899057"/></dir><file name="Backtostock.php" hash="85c29c73ba30f2fdf819fc88f5e03098"/><dir name="Backtostockalert"><file name="Collection.php" hash="c0c5d87c559d2e4011697b1a0ccf4846"/></dir><file name="Backtostockalert.php" hash="148ae085ef93a7cf6e52cdd60f1ca9a2"/><dir name="Review"><file name="Collection.php" hash="098061d250555679c9f609d2087ef9d4"/></dir><file name="Review.php" hash="def28f2df3fad1aab4a67f274bf8c49c"/><dir name="Unsubscribe"><file name="Collection.php" hash="11048027437c0a5bc1478e4f2cdcc51d"/></dir><file name="Unsubscribe.php" hash="3b9e4d09dbb7ba483a5d16b6312050e6"/><dir name="Visited"><file name="Collection.php" hash="b09c0ce08ac30cc30f974e5c744eabf1"/></dir><file name="Visited.php" hash="f92ff7341cef12c7978154ccd558cb07"/></dir><file name="Review.php" hash="c14806dfb106363262b9911e8d06f628"/><dir name="System"><dir name="Config"><file name="Automatic.php" hash="4de4d5c373fa1ea373751cbd5ed7efbc"/><file name="Couponcounter.php" hash="18049531633e26b8970935e6b9c73823"/><file name="Customergroup.php" hash="aa31f980b1d28248f137fe2a06b3ba2c"/><file name="Discounttype.php" hash="1228055f8abc3bffba6020f4bb4210e0"/><file name="Generaltype.php" hash="463210c06e00794b79df38a61dfa56c2"/><file name="Hours.php" hash="db8c055c1fc0628f5fad84fc15c6d389"/><file name="Newordertrigger.php" hash="757bcc13562d4a5b905d57920906411f"/><file name="Registeredcustomergroup.php" hash="f2f296748fba58d5f78659fa38c0f9a2"/><file name="Time.php" hash="4b491667d8ea9816b07f584e84556556"/></dir></dir><file name="Unsubscribe.php" hash="cb20baf948256b9b70a13ed52ab91bab"/><file name="Visited.php" hash="2e9f119fc630cefc50f5a2a21546ebfc"/></dir><dir name="controllers"><file name="AutoresponderController.php" hash="c85f997b44d46f043c0e0b7e795078fa"/><file name="BacktostockController.php" hash="61f07f9bdc3951dbddeaf8161d55023d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="59a240f12b496566f1a2b1de5f053e96"/><file name="config.xml" hash="1e7491909901c389668d4dcc9fb01c04"/><file name="system.xml" hash="e4e5ae3db49d9c0e2f3e618270e3cffe"/></dir><dir name="sql"><dir name="ebizmarts_autoresponder_setup"><file name="mysql4-install-0.1.0.php" hash="359071e3ba91e10cb82a7fda5298d223"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="8ff0b9bcb8cf7a56ec20be7bb9a2ed1a"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="14a2bba4bc7151978058c6d86a1ad1a4"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="2b58c316322a942587b09f53f4123f8c"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="53cc6beed11e8631c11a008c5fd78ce1"/><file name="mysql4-upgrade-1.1.14-1.2.0.php" hash="858407c0999fde1fc6a419a91b91ed1f"/><file name="mysql4-upgrade-1.2.0-1.2.1.php" hash="8e9c3c4d9b834efe749f5c5eaedfe8b5"/></dir></dir></dir><dir name="SweetMonkey"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Autovars.php" hash="c3f656a47154d66c1efc155923ed42e9"/><dir name="Fieldset"><file name="Hint.php" hash="a1d28320ed21eaa6c20aa98c0b4e3492"/></dir><dir name="Form"><dir name="Field"><file name="Mapfields.php" hash="71cedb6e1763ac9778a5c0cfdc364a8a"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="83c32ef3e5433e701a10ef9cc5370d04"/></dir><dir name="Model"><file name="Observer.php" hash="4477a7479de954637b6c176765d5c2e0"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MageMonkeyController.php" hash="3f090a75f7385e587489c914dde45c53"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8a81e6639cd53c96717a6b993d5fcd93"/><file name="config.xml" hash="0550e8de5d4215aeb945d06514ae6959"/><file name="system.xml" hash="93e8f26427a0df9183f6680441ce23f6"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ebizmarts_MageMonkey.xml" hash="951aa15bc51345726e05080bd5fc084b"/><file name="Ebizmarts_Mandrill.xml" hash="ea4b352b5a0233330ecde76a0f9113dd"/><file name="Ebizmarts_AbandonedCart.xml" hash="48c4cfe8246d5a995e2836c43ab38d74"/><file name="Ebizmarts_Autoresponder.xml" hash="97302f94f5893147db18c4034d135256"/><file name="Ebizmarts_SweetMonkey.xml" hash="05d9393c17c76a589fd7681ed668d53f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magemonkey.xml" hash="8eef43f9d728e252a5f7d7b6cea93a19"/><dir name="ebizmarts"><file name="abandonedcart.xml" hash="14282d8f8739578d51c57def5df1227a"/><file name="autoresponder.xml" hash="d8dfb68cfd7c838cf29e9281a9a76c36"/></dir></dir><dir name="template"><dir name="magemonkey"><dir name="checkout"><file name="subscribe.phtml" hash="6647c5e991170303f99b956dbbddd6c6"/></dir><file name="lists.phtml" hash="8562e11e1d5e60807e7d8d991b8d1fb1"/></dir><dir name="ebizmarts_abandonedcart"><dir name="email"><dir name="order"><dir name="items"><dir name="order"><file name="default.phtml" hash="c078d029b2065e8b1938c3cfb24e8219"/></dir></dir><file name="items.phtml" hash="87f18755675a13f6e91a56b562bcd0fe"/></dir></dir><dir name="popup"><file name="emailcatcher.phtml" hash="86e370dc654f430029ae5d4037883e59"/></dir></dir><dir name="ebizmarts"><dir name="autoresponder"><dir name="backtostock"><dir name="catalog"><dir name="product"><file name="form.phtml" hash="c04b1aaf96617c47d1530538f2f9f5e0"/><file name="notice.phtml" hash="ba7963278c9ed51066c736cdc0b73978"/></dir></dir><file name="item.phtml" hash="9ff57a2867309f380525ad671a753f9e"/></dir><dir name="customer"><file name="list.phtml" hash="21d2f116e2f509943175c43bc5863582"/></dir><dir name="related"><file name="items.phtml" hash="b2a04397a22c9cdd421fe04b4c107dd7"/></dir><dir name="review"><file name="items.phtml" hash="1bc37dcc7087d375eed0849b76bcec64"/></dir><file name="unsubscribe.phtml" hash="ca8ed1c5810e07f1cdc91edb64420417"/><dir name="wishlist"><file name="items.phtml" hash="1e65bee4638cb557503b36e3224b853c"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magemonkey.xml" hash="4a2ba63a9d3002774b622e76339e6fbb"/><dir name="ebizmarts"><file name="mandrill.xml" hash="ba93e973a9019841c7d914ecd729983c"/><file name="abandonedcart.xml" hash="9ed91dab216911a13a2669bd81734180"/></dir></dir><dir name="template"><dir name="magemonkey"><dir name="bulksync"><dir name="export"><file name="form.phtml" hash="06a3c582f8469c11c644e688efb4e5a5"/></dir><dir name="import"><file name="form.phtml" hash="06a3c582f8469c11c644e688efb4e5a5"/></dir></dir><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="fb568722b009e63ac13714bd1465a413"/></dir><file name="oauth_wizard.phtml" hash="91b3472b4e9a5bc26851b76bfcea59c5"/><file name="resetlocal360.phtml" hash="3347fad7cfb13e7b4c6647489bed1480"/><file name="resetremote360.phtml" hash="2a67ad95f8ffabdc1e2d1e572c4118ae"/><file name="upgradeforpatch.phtml" hash="6a0ed64653b65b4d0d206f86dcf29a9c"/></dir></dir></dir><dir name="ebizmarts"><dir name="mandrill"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="954efb14abd386cfff5881e15cda9be2"/></dir></dir></dir></dir><dir name="abandonedcart"><dir name="dashboard"><file name="index.phtml" hash="31a02b6aa63614bb2a52044195568f15"/><file name="salebar.phtml" hash="7a8c978ff415853550f9b1a3cbabfd1c"/><file name="totalbar.phtml" hash="95cb90a952f5548481c180004e39b7f1"/></dir><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="ce2c35827f741b243bb366003e8dd412"/></dir></dir></dir></dir><dir name="autoresponder"><dir name="system"><dir name="config"><dir name="backtostock"><dir name="fieldset"><file name="hint.phtml" hash="623380a9c486eae57da00de6bd8b843d"/></dir></dir><dir name="birthday"><dir name="fieldset"><file name="hint.phtml" hash="d7f944a685769a46cb709f89c6e56f3b"/></dir></dir><dir name="fieldset"><file name="hint.phtml" hash="4c3f34e11b35f8d98ba675d6d5643cfb"/></dir><dir name="review"><dir name="fieldset"><file name="hint.phtml" hash="205b3fac2bc9682cdbdc9e3a8ec688df"/></dir></dir><dir name="wishlist"><dir name="fieldset"><file name="hint.phtml" hash="563ece5feca65f3ff728b89929cb2339"/></dir></dir></dir></dir></dir></dir><dir name="sweetmonkey"><dir name="system"><dir name="config"><file name="autovars.phtml" hash="53da8402573546ecdcbe2f5e9b3ab57a"/><dir name="fieldset"><file name="hint.phtml" hash="c3ffcb12d9c132c02dbd22e27a1b4f36"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Ebizmarts_MageMonkey.csv" hash="181e91ed91dfea5fe7dab66af5719af8"/><file name="Ebizmarts_Mandrill.csv" hash="3dac3af57664fd34f5eda8abf4098ee0"/><file name="Ebizmarts_AbandonedCart.csv" hash="214bcd0e8cd6153c48fab236dcfdba1b"/><dir name="template"><dir name="email"><dir name="ebizmarts"><dir name="abandonedcart"><file name="abandoned_cart_mail_1.html" hash="36ceaf0e511ecb2c785fb482c634ed2c"/><file name="abandoned_cart_mail_2.html" hash="ab628f7bf4f82d44d8d9a5b39c838e00"/><file name="abandoned_cart_mail_3.html" hash="c46eef13c346494f26f2e01ff7de9de2"/><file name="abandoned_cart_mail_generic.html" hash="c87513fa9e7fc18035c9b4421c51478e"/><file name="popup_coupon_template.html" hash="7411805f6751997e3de8a4f11196c14e"/></dir><dir name="autoresponder"><file name="backtostock.html" hash="fcccb77375b946faf13cf991b363ec3a"/><file name="birthday.html" hash="81132b642c9c1b8a6988e7e438384b48"/><file name="neworder.html" hash="0262dc0daedee87904ca7be1def4078a"/><file name="noactivity.html" hash="59347130b4bf761c6830397f7a6b817d"/><file name="relatedproducts.html" hash="9cd19f74d0c42967526d54a197453945"/><file name="review.html" hash="0d9d872e4a0d0290cea079ccec3658c5"/><file name="reviewcoupon.html" hash="51915e3ff4ef402093b402ea82ac3182"/><file name="visitedproducts.html" hash="31245a22c3decda3fd93c18f87d58284"/><file name="wishlist.html" hash="2bb0a835b2e0bffd3ac551266d52fb46"/></dir></dir></dir></dir><file name="Ebizmarts_Autoresponder.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Ebizmarts_SweetMonkey.csv" hash="f0cdb51ba2052ce7f7ec1c9885ee5d3c"/></dir><dir name="nl_NL"><dir name="template"><dir name="email"><dir name="ebizmarts"><dir name="abandonedcart"><file name="abandoned_cart_mail_1.html" hash="64df67da5c2759572c80c47677fc4244"/><file name="abandoned_cart_mail_2.html" hash="3e65ab1c4140408422b6fd7e190a2f4b"/><file name="abandoned_cart_mail_3.html" hash="de4cbef63748e20638017e04827d39b9"/><file name="abandoned_cart_mail_generic.html" hash="de90f1d4f52d4603e3c08ebd4c5aa4e5"/><file name="popup_coupon_template.html" hash="8059d68fce7783956033ff0cf27f2c0b"/></dir><dir name="autoresponder"><file name="backtostock.html" hash="d5feeeaaf9f7416dcfb072e1b39844fa"/><file name="birthday.html" hash="b7099ba5f0de5e8c7f56f1aca1ec8779"/><file name="neworder.html" hash="dd016910da8029a2b2266e9a82eac167"/><file name="noactivity.html" hash="6d3b63329f5d664a9f81b2aba55b5588"/><file name="relatedproducts.html" hash="5bb28d77374568fbab07519048edb301"/><file name="review.html" hash="a1116b4a34c72fb94d8945730096ed83"/><file name="reviewcoupon.html" hash="bdd27369d3e76d915489399d95a502fc"/><file name="visitedproducts.html" hash="74941796112fba1158707ab6bdf4b2d4"/><file name="wishlist.html" hash="e456275499caa1cc018d7da1da32d525"/></dir></dir></dir></dir><file name="Ebizmarts_MageMonkey.csv" hash="3e0b1485b10cf7c9f6f64437f870c7fe"/><file name="Ebizmarts_SweetMonkey.csv" hash="063c94afbaa6e2fbe2028580209bc09b"/><file name="Ebizmarts_AbandonedCart.csv" hash="099104a7a9492249c0e24909145abfa3"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magemonkey"><file name="magemonkey.css" hash="2072357ef844855f7a4607245b1e9a17"/><file name="magemonkey.js" hash="da526f54eff51cd903f082395717fe31"/><file name="mailchimp-connected-ebizmarts-title.png" hash="c6bcb1aa606ecd3b0a9753bb48ddeb58"/><file name="mailchimp-ico.png" hash="14978ec398cede4060bc9b00365bb6c5"/><file name="mailchimp-section-background.png" hash="d4536261c6a3534fbb855428c0cca62c"/><file name="mailchimp-tab.png" hash="61972b4e063364071e81d8c9e10d8feb"/></dir><dir name="abandonedcart"><file name="abandonedcart.css" hash="bd6049fa8b17a1060e8a63fa29aefd94"/></dir><dir name="ebizmarts"><file name="Logo_Ebizmarts.png" hash="7ab7b13bda23200752897259e910daab"/><file name="ebizmarts-tab.png" hash="6dfa08c5cd4329d1df6e7b71fb1f925a"/><file name="ebizmarts.css" hash="a579734639953c1970ec26f56dda5837"/><dir name="mandrill"><file name="mandrill-tab.png" hash="d7eaf9deef355e4b8b55a96070b90ffe"/><file name="mandrill.css" hash="d93f1f52db38195a4f85d20de519151e"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="magemonkey"><file name="magemonkey.css" hash="8f25ca79fc6901215f713f0e048c4a9f"/><file name="monkey.js" hash="0e8737a98720a49bdfd5d1494a548416"/></dir></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="Mandrill"><dir name="Mandrill"><file name="Exceptions.php" hash="54d952267c004cddeedd8d9be07698c8"/><file name="Exports.php" hash="913582d277f98c8fcadad861abefb50a"/><file name="Inbound.php" hash="6ffadbba23e10cc338be144e06cb2c10"/><file name="Internal.php" hash="fa680d47c780922a111078827cad1505"/><file name="Ips.php" hash="644d1037d58e2b19757e503aa76e5679"/><file name="Messages.php" hash="8e344f6b3771711ee2e91771e988ae2e"/><file name="Metadata.php" hash="25eb150c69697389a6f780f4460cbe85"/><file name="Rejects.php" hash="97414f03a0b9cb96c1949a4cc29a934e"/><file name="Senders.php" hash="875ddbeff3f920397c73c2c2797f3eea"/><file name="Subaccounts.php" hash="ae09174af8fea96458e4a5820390ff43"/><file name="Tags.php" hash="ee2f9e328d4d49aa8b0289978f7375b0"/><file name="Templates.php" hash="67d118c42cc6a95f2513c15936ac77f1"/><file name="Urls.php" hash="184c17ebb031f1f6e6dad687a4bf767d"/><file name="Users.php" hash="826dac98663eefce2f5ccc4a5b0d38e9"/><file name="Webhooks.php" hash="37ea24a982630aa321444b85392f3397"/><file name="Whitelists.php" hash="d132144d50c3b713c98ad699984e4e38"/></dir><file name="Mandrill.php" hash="563f44c23be47259c8da58a168cd5bd9"/><file name="Message.php" hash="784920e095d8d9f0269b46f00071fcc9"/></dir></dir><dir name="js"><dir name="ebizmarts"><dir name="abandonedcart"><file name="popup.css" hash="2bf9fef85964298cc44143ef0fc78d21"/><file name="xmark.png" hash="6f14c834def36c1185347c49021030a4"/></dir><dir name="autoresponders"><file name="visitedproducts.js" hash="82955e7a3845c77b4dc14a526163ba65"/><file name="visitedproductsstorecodes.js" hash="e0a0accd7d6f0e2bf8828d6e45c9b653"/></dir><dir name="magemonkey"><file name="campaignCatcher.js" hash="c4b8d3bae426f22f0edf92fa95c5d747"/></dir></dir></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ebizmarts_MageMonkey</name>
|
4 |
+
<version>1.2.7</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>MailChimp integration for Magento by Ebizmarts</summary>
|
10 |
<description>Full MailChimp integration, automatic webhooks, multiple lists, interest groups</description>
|
11 |
+
<notes>1.2.7
|
12 |
--------
|
13 |
Bug Fixes:
|
14 |
+
Wrong default sender issue for Mandrill solved.
|
15 |
+
Webhooks error when loadByEmail(true) issue solved.
|
16 |
+
Added support for dropdown MailChimp groups.
|
17 |
+
Problem with checkout breaking with SagePay solved.
|
18 |
+

|
19 |
+
Enhancements:
|
20 |
+
Coding standards compatibility improved.</notes>
|
21 |
<authors><author><name>Ebizmarts Development Team</name><user>ebizmarts</user><email>info@ebizmarts.com</email></author></authors>
|
22 |
+
<date>2016-10-26</date>
|
23 |
+
<time>18:14:27</time>
|
24 |
+
<contents><target name="magecommunity"><dir name="Ebizmarts"><dir name="MageMonkey"><dir name="Block"><dir name="Adminhtml"><dir name="Bulksync"><dir name="Export"><file name="Form.php" hash="3ce4974c74b5a2989754f5224663b6f0"/></dir><file name="Export.php" hash="ab839a4011692b69b292fe59eb50100e"/><dir name="Import"><file name="Form.php" hash="8f8ba669442a0a773d0dd60f8b25aac7"/></dir><file name="Import.php" hash="9c7ba4a566038356e60e9482301d7cb7"/><dir name="Queue"><file name="Grid.php" hash="d9bbc66e07c30ec7230d4132ac5076e8"/></dir><file name="Queue.php" hash="c3cea1da02e0a09d7876958058ee091e"/><dir name="QueueExport"><file name="Grid.php" hash="fcd5a7b47475d675def6b8b6de419b27"/></dir><file name="QueueExport.php" hash="5d389b15db1c01f8824f8d3dbddce963"/><dir name="QueueImport"><file name="Grid.php" hash="be7385740c85b1aede3a8769abf7233b"/></dir><file name="QueueImport.php" hash="a105aff1abe7e4da99fb5890a5202042"/></dir><dir name="Customer"><dir name="Edit"><dir name="Tab"><file name="Memberactivity.php" hash="55fbb4519c6d862948dc4d8bf4416cfb"/></dir></dir></dir><dir name="Ecommerce"><file name="Grid.php" hash="084f90df148d03ad835b21e407c85695"/></dir><file name="Ecommerce.php" hash="48c237e8cc1223ad26a88d2409679fec"/><dir name="Ecommerceapi"><file name="Grid.php" hash="83e8fd2c69ece5398a021fb190cd88e3"/><dir name="Renderer"><file name="Items.php" hash="d72cfedf0cafc938becf9bd52801ba3a"/></dir></dir><file name="Ecommerceapi.php" hash="a9f659502d96bcd1a69a88d15fcab4f9"/><dir name="Memberactivity"><file name="Grid.php" hash="9638c3879c010e19cddb02b5b514d0a1"/></dir><dir name="Newsletter"><dir name="Subscriber"><dir name="Renderer"><file name="Firstname.php" hash="ac50d0bb77f39d0c31f0502eb38ecac7"/><file name="Lastname.php" hash="83d539c8573663710e89b31d7f6279e9"/></dir></dir></dir><dir name="Renderer"><file name="Date.php" hash="6e4e52403ec55df3aa2183fd4b51b095"/><file name="Importypes.php" hash="87c7a222e403781fcd8ee08cf0b489ba"/><file name="Lists.php" hash="2dbd23844a822d3406efae08e89ce0d7"/><file name="Progress.php" hash="31eaaa5a7e99b21a4ed705971fe1001d"/><file name="Yesno.php" hash="c3173a8e8ea2d5f03531e7d996bbd259"/></dir><dir name="System"><dir name="Config"><file name="Account.php" hash="fccf1faac2682d754655631e6451c026"/><file name="Date.php" hash="455120f4f2e8d7801f3c220e231b6789"/><dir name="Fieldset"><file name="Hint.php" hash="31bf492c4e6137312c55bc437bf226cf"/></dir><dir name="Form"><dir name="Field"><file name="Mapfields.php" hash="2ce2b207eee07b7faf4fcfa8d743f4cb"/></dir></dir><file name="OauthWizard.php" hash="3817a6f4c8c5c89385f9cb3a0a379579"/><file name="ResetLocalEcommerce.php" hash="e104c012fc920c0f71a02815b53ffa47"/><file name="ResetRemoteEcommerce.php" hash="f3d14a262cbb5ccdd67a7340dc0bb615"/><file name="UpgradeForPatch.php" hash="af2a9e07b33c70f3b3748579ef3472d0"/></dir></dir></dir><dir name="Checkout"><file name="Subscribe.php" hash="823bb840da85ae6919dd6f6f5e747c94"/></dir><dir name="Customer"><dir name="Account"><file name="Lists.php" hash="d0ed1ad1b7b4f2c44caee0062f923017"/></dir></dir><file name="Lists.php" hash="a17082dea2fd41af37ce29065351abdc"/><file name="Signup.php" hash="a12b412350b518ddef11abb14bbe5dea"/></dir><dir name="Helper"><file name="Cache.php" hash="4e6cd9724c2788056aacacd37f5699cc"/><file name="Data.php" hash="24e7c1449722fa30621dd15251a295f8"/><file name="Export.php" hash="91f24805e9cbbe124f0c99cb8f1f1272"/><file name="Oauth2.php" hash="684a7b71d97b438081ebf332057ec8ea"/></dir><dir name="Model"><file name="Api.php" hash="ea7c720767bc58cb740d2f70100f699b"/><file name="Asyncorders.php" hash="3f60d1a1c1885268ae7e2ddfb1772feb"/><file name="Asyncsubscribers.php" hash="b79a42df357267205d7e74bb7c220755"/><file name="Asyncwebhooks.php" hash="fc57fee18b5f9cc098318ca1242a082f"/><file name="BulksyncExport.php" hash="71af9a6134b415a324dc9c937a5b2f8e"/><file name="BulksyncImport.php" hash="fb3716e235bc22cf91c4c17edf10ec23"/><file name="Cache.php" hash="89ac2fac903a566e6f6a3c0951bf274d"/><file name="Config.php" hash="b6cccdaa6bab4a5d9ba4d1eafb26318c"/><file name="Cron.php" hash="3fd99efeaa3d71f7dc7ca282bbd8ecf8"/><dir name="Custom"><file name="Collection.php" hash="304d372c1b8bd8d8d09dd743e03cdf66"/></dir><file name="Ecommerce.php" hash="f4581befe128963df3e3d062b1bc4d55"/><file name="Ecommerce360.php" hash="d8c897d93bf09480f980a8bc3d7d69f2"/><dir name="Email"><file name="Template.php" hash="81c9f040cf931dfb9e2a2484d9cc0b09"/></dir><dir name="Feed"><file name="Updates.php" hash="ab4ddafa4c57aadb6ef1238440dee141"/></dir><file name="Lastorder.php" hash="f2977e76892b0b1a5e031f8eabf93f18"/><file name="MCAPI.php" hash="b95b1faee6c18505213a6d9ee75f9168"/><file name="MCEXPORTAPI.php" hash="810b1c7b0f6daf93e11c7fbbc90980a3"/><file name="Monkey.php" hash="ed50cfa8528e149e1a635e691f1cad30"/><dir name="Mysql4"><dir name="Apidebug"><file name="Collection.php" hash="7cc3fe74a46da1a4770b49eb7ac47f97"/></dir><file name="Apidebug.php" hash="2699eec825e8fb88b1d572728c10b7bc"/><dir name="Asyncorders"><file name="Collection.php" hash="e7b17fac028f7116c762e120b0f3f0a8"/></dir><file name="Asyncorders.php" hash="3eb64d883705854ce7899fd891101c63"/><dir name="Asyncsubscribers"><file name="Collection.php" hash="3458134c9a1ced7359db40f7b79a133f"/></dir><file name="Asyncsubscribers.php" hash="a067c1e951ce61558e00f3aa8e5d15ef"/><dir name="Asyncwebhooks"><file name="Collection.php" hash="44170fc7219e1992c6cd0dbad863af4f"/></dir><file name="Asyncwebhooks.php" hash="79de544aaed58102758eeef01467b066"/><dir name="Bulksync"><dir name="Export"><file name="Collection.php" hash="e335d3bd632554a315bc673678d4287a"/></dir><file name="Export.php" hash="eedc5a3549b3815f0d290eca3e0579df"/><dir name="Import"><file name="Collection.php" hash="4d007588a0b433d0e8ce3208f8dcc0c9"/></dir><file name="Import.php" hash="487fc6c0335ebf352081185d9afe3f88"/></dir><dir name="Ecommerce"><file name="Collection.php" hash="80319b6c991c510f1569800c80d384f1"/></dir><file name="Ecommerce.php" hash="b3290a6170c8c8f275dcd4300840ea26"/><dir name="Lastorder"><file name="Collection.php" hash="38d6a7519cfe21caf7f5d22877aa1477"/></dir><file name="Lastorder.php" hash="f3987329cb78c978bcc94ba375d9f998"/></dir><file name="Observer.php" hash="04d5d74b24e80042b25b765fbc49954a"/><file name="Subscriber.php" hash="cce616f3b027dc59f50cde2d8be9f06d"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Account.php" hash="3bb41cc678707e978e06754e3b64a0db"/><file name="Attributes.php" hash="4ac1c98f3b3b84b2c93ddfcc3df5d817"/><file name="BulksyncDatasource.php" hash="36331ac3ecd034f914666a49e4d75cbc"/><file name="BulksyncStatus.php" hash="658f1f9d1ee7177d5dc094862bce155a"/><file name="Checkoutsubscribe.php" hash="28c8641a8fa4c336487af2227e152136"/><file name="CronProcessLimit.php" hash="3ca3a61f07b7aa84479eddda35efdde4"/><file name="CustomerGroup.php" hash="7b58091d697dae1829cd2244eb405a90"/><file name="Ecommerce360.php" hash="24906da389cbf6b4a97c3edab5c7f020"/><file name="List.php" hash="acbffbbfe0a11566e745e01fce34ec51"/><file name="OrderProcessLimit.php" hash="bc3add48e125caa904774cb6b669ba0c"/><file name="OrderStatus.php" hash="d3eeeee5d614e8fa83e258ce53cbed79"/><file name="Status.php" hash="e1e5cf6252241f39d0ceaff6f94d3afb"/><file name="TransactionalEmails.php" hash="b2f0d564a59372cba59d3aac7e4fe9e0"/><file name="WebhookDelete.php" hash="c90bbf8b0cf2a546c0f72193f8c605cf"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BulksyncController.php" hash="8b688f333a192f121615f12024d38d0e"/><file name="ConfigController.php" hash="805444a2f60413a24cce094c56327d95"/><file name="EcommerceController.php" hash="424f9fdd7ac7be4310cb83e911f6cc8f"/></dir><dir name="Customer"><file name="AccountController.php" hash="14479dffeacd3c2421ce5822f7d7f190"/></dir><file name="SignupController.php" hash="e379f52f8ee0191a4c7289cd2afcd19d"/><file name="WebhookController.php" hash="255278ff6da9c4383d1b58cf716eb974"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f203274d5b6522dd00f630a58bc18623"/><file name="config.xml" hash="d9caa54337bc947765f00e1538f4c1f7"/><file name="system.xml" hash="c34f4b9f706815154982715ef4e50fb6"/></dir><dir name="sql"><dir name="monkey_setup"><file name="mysql4-install-0.0.1.php" hash="52d34e66c63b9382830a8a4018fda871"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="a0af4b1dc5867a79c8f8dc5db81bedd4"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="59e4b29b2230d2beeb48eda241c5f14a"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="fd3d921c965f9983dc53f78c4c613704"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="bbe6b895320effca77cc2c23431f043f"/><file name="mysql4-upgrade-0.0.5-0.0.6.php" hash="98b72d9ef4ec8078c09a1f641fc35a39"/><file name="mysql4-upgrade-0.0.6-0.0.7.php" hash="ea15755fc072e7c82b78063589360779"/><file name="mysql4-upgrade-1.0.10-1.0.11.php" hash="b2ec497921eb2bd9a97a318554fd980b"/><file name="mysql4-upgrade-1.1.21-1.1.22.php" hash="a42e904240209791fb4be7ab49faff60"/><file name="mysql4-upgrade-1.1.23-1.1.24.php" hash="ee987d88cb3b5bbd4d273214359360ca"/><file name="mysql4-upgrade-1.1.33-1.1.34.php" hash="0dbd8c7ed4d508db89e6f18c66f61a8f"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="14750274ece5816d6c1ab490f7d610ab"/><file name="mysql4-upgrade-1.2.1-1.2.2.php" hash="c622ec016eb8134492d6011007d82149"/><file name="mysql4-upgrade-1.2.4-1.2.5.php" hash="84f13828afcba137c57da9b39baf5b8f"/></dir></dir></dir><dir name="Mandrill"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="6ca5fb9bf9254323e1f2b4447203b562"/></dir><file name="Userinfo.php" hash="7cd34efc0231424c9e2f5e662154c41c"/></dir></dir><dir name="Templates"><dir name="Templates"><file name="Grid.php" hash="a67b366bf40d808740516b1af668eba6"/></dir><file name="Templates.php" hash="1682fe6d39605a9839bf3cdb3c1185b7"/></dir><dir name="Users"><dir name="Senders"><file name="Grid.php" hash="f06ff10d84a8f38aaf8b6edf3508014b"/></dir><file name="Senders.php" hash="4a4449652c495a9d4c12966ab007e7a4"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="86fcaa6a66a5a628ded7215172448daf"/></dir><dir name="Model"><file name="Customcollection.php" hash="9b5766c0393a54b4356254725b4d78b2"/><dir name="Email"><file name="Queue.php" hash="cd25a2d0f0fd1fd3793ab307efad1bc6"/><file name="Template.php" hash="d430799765d1aff4ab65e36085c9a0ab"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Userinfo.php" hash="3b4c0d612cdd9f0ca08a93ebe89d3fe4"/></dir></dir><file name="Config.php" hash="2219d951bf6b2553ec0284b65d8d92a2"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Mandrill"><file name="UsersController.php" hash="6ffb1b993cac9c7c5e76341c68de0ad4"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8ea87cce062596388f7e9507943e8bb5"/><file name="config.xml" hash="a04006076a29a76e9d9cd8d0d821f5e0"/><file name="system.xml" hash="d05b90ca129297b6ffda52a4ba1fd26a"/></dir></dir><dir name="AbandonedCart"><dir name="Block"><dir name="Adminhtml"><dir name="Abandonedmails"><file name="Grid.php" hash="cacc96f2eec230c27b90a799a8d058ab"/></dir><file name="Abandonedmails.php" hash="c2714b5a6cb534c91564ebc340fe3f26"/><dir name="Abandonedorder"><file name="Grid.php" hash="9bd11db18a11d29a4acfba5d1c7e234e"/></dir><file name="Abandonedorder.php" hash="1a14da87647612a8773f34f70bc05dea"/><dir name="Dashboard"><file name="Sales.php" hash="b0d6fce3a5f4ef5a891c8578eb36ef97"/><file name="Totals.php" hash="a1f1e16a5846fac473a83a3df037c76c"/></dir><file name="Dashboard.php" hash="d45cf2734e5b7e18d5f13753d4393143"/><dir name="System"><dir name="Config"><file name="Date.php" hash="323a49af281f06dfa72c1d3512257e04"/><dir name="Fieldset"><file name="Hint.php" hash="6358bc58857011c08dedcbab885b461f"/></dir></dir></dir></dir><dir name="Email"><dir name="Order"><file name="Items.php" hash="d27762e92c93a365291596ddc88d791d"/></dir></dir><dir name="Popup"><file name="Emailcatcher.php" hash="0a88cf2ae484cadadb8665c6be692e55"/></dir></dir><dir name="Helper"><file name="Data.php" hash="3e5a2e3d99b62936b0766313b9e62462"/></dir><dir name="Model"><file name="Abtesting.php" hash="fdf9df78b6656c898fd74fbcb3ec51e1"/><file name="Config.php" hash="36a47f3d4db78d60d8a8f3e0db08aba4"/><file name="Cron.php" hash="bf5532c7478fcaf80481e236e57d94e3"/><file name="EventObserver.php" hash="8e0cac12462945dd87000dd630bc0005"/><file name="Mailssent.php" hash="e238f4116cb473cdcfb3a909d08adaa4"/><file name="Popup.php" hash="d2a4922acc0c5c3994cbc0b2114658b8"/><dir name="Resource"><dir name="Abtesting"><file name="Collection.php" hash="f96fe4be550bef6daabc5d211c86aca0"/></dir><file name="Abtesting.php" hash="46e70f8507676e157ddec44f66094e59"/><dir name="Mailssent"><file name="Collection.php" hash="dc1e2c44eb53381d57d10a6bc08ad497"/></dir><file name="Mailssent.php" hash="80f0b4e3f29d10951362f07eb45a3ece"/><dir name="Order"><file name="Collection.php" hash="46d0b77d0786485b576fdc3bb91f868d"/></dir><dir name="Popup"><file name="Collection.php" hash="af37502f9802c7574318ab28a8fb1b16"/></dir><file name="Popup.php" hash="446921e9b1da1973c83665e8f749bbbb"/></dir><dir name="System"><dir name="Config"><file name="Automatic.php" hash="a4f5e052810187fb824933e76ea8a1cf"/><file name="Cmspage.php" hash="89bfcbe90a7b2f396a56b3f1fe72dbd2"/><file name="Customergroup.php" hash="74af027c3fb6745d0e45938f83394489"/><file name="Discounttype.php" hash="55c251fafbd10821d6c18c381c307888"/><file name="Maxemails.php" hash="63b860ace056552d159ada056eebfbd7"/><file name="Unit.php" hash="07fa0c25182538e08479cc4f91c7ca16"/><file name="Yesnovariation.php" hash="d24e4bf79afe73e85422c53835de0012"/></dir></dir></dir><dir name="controllers"><file name="AbandonedController.php" hash="a4104d88dba1783314256cd8972afd6f"/><dir name="Adminhtml"><file name="AbandonedmailsController.php" hash="0c0c4c29e1400adc87bb2bfce7beb335"/><file name="AbandonedorderController.php" hash="cc1a121821d90ef49aa0b382492c7c9c"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="62708e88154b231e694210cca0aa6c97"/><file name="config.xml" hash="409b5c3d91672020e55c7970517611cd"/><file name="system.xml" hash="a475b2a528b5bbd7b38caf1607b7e733"/></dir><dir name="sql"><dir name="ebizmarts_abandonedcart_setup"><file name="mysql4-install-0.1.0.php" hash="0e1a8c0391654c480773b78a50db5a83"/><file name="mysql4-upgrade-0.1.12-0.1.13.php" hash="401a70cac4b711e374e03f94ec38c8bd"/><file name="mysql4-upgrade-0.1.18-0.1.19.php" hash="ac4d268c0a77196d0211144e4e72406f"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="2e87d09a5008ac2f2432a25e08474c87"/><file name="mysql4-upgrade-0.1.20-0.1.21.php" hash="c461ba10961b4ee4e9385173d4264617"/><file name="mysql4-upgrade-0.1.29-0.1.30.php" hash="2201180f761aa3ca68ef451246fdfe0c"/><file name="mysql4-upgrade-0.1.30-0.1.31.php" hash="6b55997a2fcdaf25bed9fe852a56125a"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="60daa0d70a1af929a39d6e20ee52ee9c"/><file name="mysql4-upgrade-1.1.35-1.2.0.php" hash="6db4903a37aa2879925a1b74439772e0"/></dir></dir></dir><dir name="Autoresponder"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backtostock"><dir name="Fieldset"><file name="Hint.php" hash="196c96e0bdfb853c42510d8cef4bf69a"/></dir></dir><dir name="Birthday"><dir name="Fieldset"><file name="Hint.php" hash="bff790a4ecf1f7ed7ac5d966cb8d516f"/></dir></dir><dir name="Fieldset"><file name="Hint.php" hash="eea231bb3f99b0f3708c2d43144e0f44"/></dir><dir name="Review"><dir name="Fieldset"><file name="Hint.php" hash="d9906e111824893ef363926dd2b485eb"/></dir></dir><dir name="Wishlist"><dir name="Fieldset"><file name="Hint.php" hash="75a66f64700f02eebfa391f953bc42d0"/></dir></dir></dir></dir></dir><dir name="Backtostock"><file name="Notice.php" hash="30efc30519a1ecb31d39a5fe59a6ae90"/></dir><dir name="Customer"><dir name="Account"><file name="List.php" hash="755d6d07d113450617bc31e8bc039df0"/></dir></dir><dir name="Email"><dir name="Backtostock"><file name="Item.php" hash="178b97ceae8c488bf49cb44b6f5f5d11"/></dir><dir name="Related"><file name="Items.php" hash="831fda241af415c53d47274ecc395299"/></dir><dir name="Review"><file name="Items.php" hash="de3dd88f0a2399314c746b08cbe4ab82"/></dir><dir name="Wishlist"><file name="Items.php" hash="5c712e43bca1a83bf7592e082acca863"/></dir></dir><dir name="Review"><file name="Form.php" hash="cb10cbe1702bc6261874ed68eec47a00"/></dir><file name="Unsubscribe.php" hash="bb945f9a63f38ca0b6cdd2a0daed5416"/></dir><dir name="Helper"><file name="Data.php" hash="45eec5e986cf0997ff5f97f7148f0ec3"/></dir><dir name="Model"><file name="Backtostock.php" hash="fa62a4685c70474a2ce3da394e68c597"/><file name="Backtostockalert.php" hash="eabe65c559ee1d93bc8b67dc0bb32a40"/><file name="Config.php" hash="75a65035e240a5154b2037feceb4d864"/><file name="Cron.php" hash="989aebc0065b930ecd59ff7f7ef2518d"/><file name="EventObserver.php" hash="302607caf7e1e258d2bd20318d7c1fcc"/><dir name="Resource"><dir name="Backtostock"><file name="Collection.php" hash="95a70c48dce1bac7fcb86447bb899057"/></dir><file name="Backtostock.php" hash="85c29c73ba30f2fdf819fc88f5e03098"/><dir name="Backtostockalert"><file name="Collection.php" hash="c0c5d87c559d2e4011697b1a0ccf4846"/></dir><file name="Backtostockalert.php" hash="148ae085ef93a7cf6e52cdd60f1ca9a2"/><dir name="Review"><file name="Collection.php" hash="098061d250555679c9f609d2087ef9d4"/></dir><file name="Review.php" hash="def28f2df3fad1aab4a67f274bf8c49c"/><dir name="Unsubscribe"><file name="Collection.php" hash="11048027437c0a5bc1478e4f2cdcc51d"/></dir><file name="Unsubscribe.php" hash="3b9e4d09dbb7ba483a5d16b6312050e6"/><dir name="Visited"><file name="Collection.php" hash="b09c0ce08ac30cc30f974e5c744eabf1"/></dir><file name="Visited.php" hash="f92ff7341cef12c7978154ccd558cb07"/></dir><file name="Review.php" hash="c14806dfb106363262b9911e8d06f628"/><dir name="System"><dir name="Config"><file name="Automatic.php" hash="4de4d5c373fa1ea373751cbd5ed7efbc"/><file name="Couponcounter.php" hash="18049531633e26b8970935e6b9c73823"/><file name="Customergroup.php" hash="aa31f980b1d28248f137fe2a06b3ba2c"/><file name="Discounttype.php" hash="1228055f8abc3bffba6020f4bb4210e0"/><file name="Generaltype.php" hash="463210c06e00794b79df38a61dfa56c2"/><file name="Hours.php" hash="db8c055c1fc0628f5fad84fc15c6d389"/><file name="Newordertrigger.php" hash="757bcc13562d4a5b905d57920906411f"/><file name="Registeredcustomergroup.php" hash="f2f296748fba58d5f78659fa38c0f9a2"/><file name="Time.php" hash="4b491667d8ea9816b07f584e84556556"/></dir></dir><file name="Unsubscribe.php" hash="cb20baf948256b9b70a13ed52ab91bab"/><file name="Visited.php" hash="2e9f119fc630cefc50f5a2a21546ebfc"/></dir><dir name="controllers"><file name="AutoresponderController.php" hash="c85f997b44d46f043c0e0b7e795078fa"/><file name="BacktostockController.php" hash="61f07f9bdc3951dbddeaf8161d55023d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="59a240f12b496566f1a2b1de5f053e96"/><file name="config.xml" hash="29c2b97f6ba93332eda3a5c3ec14a1a1"/><file name="system.xml" hash="e4e5ae3db49d9c0e2f3e618270e3cffe"/></dir><dir name="sql"><dir name="ebizmarts_autoresponder_setup"><file name="mysql4-install-0.1.0.php" hash="359071e3ba91e10cb82a7fda5298d223"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="8ff0b9bcb8cf7a56ec20be7bb9a2ed1a"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="14a2bba4bc7151978058c6d86a1ad1a4"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="2b58c316322a942587b09f53f4123f8c"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="53cc6beed11e8631c11a008c5fd78ce1"/><file name="mysql4-upgrade-1.1.14-1.2.0.php" hash="858407c0999fde1fc6a419a91b91ed1f"/><file name="mysql4-upgrade-1.2.0-1.2.1.php" hash="8e9c3c4d9b834efe749f5c5eaedfe8b5"/></dir></dir></dir><dir name="SweetMonkey"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Autovars.php" hash="c3f656a47154d66c1efc155923ed42e9"/><dir name="Fieldset"><file name="Hint.php" hash="a1d28320ed21eaa6c20aa98c0b4e3492"/></dir><dir name="Form"><dir name="Field"><file name="Mapfields.php" hash="71cedb6e1763ac9778a5c0cfdc364a8a"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="83c32ef3e5433e701a10ef9cc5370d04"/></dir><dir name="Model"><file name="Observer.php" hash="4477a7479de954637b6c176765d5c2e0"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MageMonkeyController.php" hash="3f090a75f7385e587489c914dde45c53"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8a81e6639cd53c96717a6b993d5fcd93"/><file name="config.xml" hash="0550e8de5d4215aeb945d06514ae6959"/><file name="system.xml" hash="93e8f26427a0df9183f6680441ce23f6"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ebizmarts_MageMonkey.xml" hash="951aa15bc51345726e05080bd5fc084b"/><file name="Ebizmarts_Mandrill.xml" hash="ea4b352b5a0233330ecde76a0f9113dd"/><file name="Ebizmarts_AbandonedCart.xml" hash="48c4cfe8246d5a995e2836c43ab38d74"/><file name="Ebizmarts_Autoresponder.xml" hash="97302f94f5893147db18c4034d135256"/><file name="Ebizmarts_SweetMonkey.xml" hash="05d9393c17c76a589fd7681ed668d53f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magemonkey.xml" hash="8eef43f9d728e252a5f7d7b6cea93a19"/><dir name="ebizmarts"><file name="abandonedcart.xml" hash="14282d8f8739578d51c57def5df1227a"/><file name="autoresponder.xml" hash="d8dfb68cfd7c838cf29e9281a9a76c36"/></dir></dir><dir name="template"><dir name="magemonkey"><dir name="checkout"><file name="subscribe.phtml" hash="c854d4bb3c9b9dcb7edd7c93ab97ef33"/></dir><file name="lists.phtml" hash="8562e11e1d5e60807e7d8d991b8d1fb1"/></dir><dir name="ebizmarts_abandonedcart"><dir name="email"><dir name="order"><dir name="items"><dir name="order"><file name="default.phtml" hash="c078d029b2065e8b1938c3cfb24e8219"/></dir></dir><file name="items.phtml" hash="87f18755675a13f6e91a56b562bcd0fe"/></dir></dir><dir name="popup"><file name="emailcatcher.phtml" hash="86e370dc654f430029ae5d4037883e59"/></dir></dir><dir name="ebizmarts"><dir name="autoresponder"><dir name="backtostock"><dir name="catalog"><dir name="product"><file name="form.phtml" hash="c04b1aaf96617c47d1530538f2f9f5e0"/><file name="notice.phtml" hash="ba7963278c9ed51066c736cdc0b73978"/></dir></dir><file name="item.phtml" hash="9ff57a2867309f380525ad671a753f9e"/></dir><dir name="customer"><file name="list.phtml" hash="21d2f116e2f509943175c43bc5863582"/></dir><dir name="related"><file name="items.phtml" hash="b2a04397a22c9cdd421fe04b4c107dd7"/></dir><dir name="review"><file name="items.phtml" hash="1bc37dcc7087d375eed0849b76bcec64"/></dir><file name="unsubscribe.phtml" hash="ca8ed1c5810e07f1cdc91edb64420417"/><dir name="wishlist"><file name="items.phtml" hash="1e65bee4638cb557503b36e3224b853c"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magemonkey.xml" hash="4a2ba63a9d3002774b622e76339e6fbb"/><dir name="ebizmarts"><file name="mandrill.xml" hash="ba93e973a9019841c7d914ecd729983c"/><file name="abandonedcart.xml" hash="9ed91dab216911a13a2669bd81734180"/></dir></dir><dir name="template"><dir name="magemonkey"><dir name="bulksync"><dir name="export"><file name="form.phtml" hash="06a3c582f8469c11c644e688efb4e5a5"/></dir><dir name="import"><file name="form.phtml" hash="06a3c582f8469c11c644e688efb4e5a5"/></dir></dir><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="5fd681875c69535a645403e0f5ea3a68"/></dir><file name="oauth_wizard.phtml" hash="91b3472b4e9a5bc26851b76bfcea59c5"/><file name="resetlocal360.phtml" hash="3347fad7cfb13e7b4c6647489bed1480"/><file name="resetremote360.phtml" hash="2a67ad95f8ffabdc1e2d1e572c4118ae"/><file name="upgradeforpatch.phtml" hash="6a0ed64653b65b4d0d206f86dcf29a9c"/></dir></dir></dir><dir name="ebizmarts"><dir name="mandrill"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="25fcac173fb142a415ba057fabbad3f1"/></dir></dir></dir></dir><dir name="abandonedcart"><dir name="dashboard"><file name="index.phtml" hash="31a02b6aa63614bb2a52044195568f15"/><file name="salebar.phtml" hash="7a8c978ff415853550f9b1a3cbabfd1c"/><file name="totalbar.phtml" hash="95cb90a952f5548481c180004e39b7f1"/></dir><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="fbbfdc57ded23cc2f87db41298e21a32"/></dir></dir></dir></dir><dir name="autoresponder"><dir name="system"><dir name="config"><dir name="backtostock"><dir name="fieldset"><file name="hint.phtml" hash="623380a9c486eae57da00de6bd8b843d"/></dir></dir><dir name="birthday"><dir name="fieldset"><file name="hint.phtml" hash="d7f944a685769a46cb709f89c6e56f3b"/></dir></dir><dir name="fieldset"><file name="hint.phtml" hash="9456b62324f0c49bd6f25d145463e461"/></dir><dir name="review"><dir name="fieldset"><file name="hint.phtml" hash="205b3fac2bc9682cdbdc9e3a8ec688df"/></dir></dir><dir name="wishlist"><dir name="fieldset"><file name="hint.phtml" hash="563ece5feca65f3ff728b89929cb2339"/></dir></dir></dir></dir></dir></dir><dir name="sweetmonkey"><dir name="system"><dir name="config"><file name="autovars.phtml" hash="53da8402573546ecdcbe2f5e9b3ab57a"/><dir name="fieldset"><file name="hint.phtml" hash="c3ffcb12d9c132c02dbd22e27a1b4f36"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Ebizmarts_MageMonkey.csv" hash="181e91ed91dfea5fe7dab66af5719af8"/><file name="Ebizmarts_Mandrill.csv" hash="3dac3af57664fd34f5eda8abf4098ee0"/><file name="Ebizmarts_AbandonedCart.csv" hash="214bcd0e8cd6153c48fab236dcfdba1b"/><dir name="template"><dir name="email"><dir name="ebizmarts"><dir name="abandonedcart"><file name="abandoned_cart_mail_1.html" hash="36ceaf0e511ecb2c785fb482c634ed2c"/><file name="abandoned_cart_mail_2.html" hash="ab628f7bf4f82d44d8d9a5b39c838e00"/><file name="abandoned_cart_mail_3.html" hash="c46eef13c346494f26f2e01ff7de9de2"/><file name="abandoned_cart_mail_generic.html" hash="c87513fa9e7fc18035c9b4421c51478e"/><file name="popup_coupon_template.html" hash="7411805f6751997e3de8a4f11196c14e"/></dir><dir name="autoresponder"><file name="backtostock.html" hash="fcccb77375b946faf13cf991b363ec3a"/><file name="birthday.html" hash="81132b642c9c1b8a6988e7e438384b48"/><file name="neworder.html" hash="0262dc0daedee87904ca7be1def4078a"/><file name="noactivity.html" hash="59347130b4bf761c6830397f7a6b817d"/><file name="relatedproducts.html" hash="9cd19f74d0c42967526d54a197453945"/><file name="review.html" hash="0d9d872e4a0d0290cea079ccec3658c5"/><file name="reviewcoupon.html" hash="51915e3ff4ef402093b402ea82ac3182"/><file name="visitedproducts.html" hash="31245a22c3decda3fd93c18f87d58284"/><file name="wishlist.html" hash="2bb0a835b2e0bffd3ac551266d52fb46"/></dir></dir></dir></dir><file name="Ebizmarts_Autoresponder.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Ebizmarts_SweetMonkey.csv" hash="f0cdb51ba2052ce7f7ec1c9885ee5d3c"/></dir><dir name="nl_NL"><dir name="template"><dir name="email"><dir name="ebizmarts"><dir name="abandonedcart"><file name="abandoned_cart_mail_1.html" hash="64df67da5c2759572c80c47677fc4244"/><file name="abandoned_cart_mail_2.html" hash="3e65ab1c4140408422b6fd7e190a2f4b"/><file name="abandoned_cart_mail_3.html" hash="de4cbef63748e20638017e04827d39b9"/><file name="abandoned_cart_mail_generic.html" hash="de90f1d4f52d4603e3c08ebd4c5aa4e5"/><file name="popup_coupon_template.html" hash="8059d68fce7783956033ff0cf27f2c0b"/></dir><dir name="autoresponder"><file name="backtostock.html" hash="d5feeeaaf9f7416dcfb072e1b39844fa"/><file name="birthday.html" hash="b7099ba5f0de5e8c7f56f1aca1ec8779"/><file name="neworder.html" hash="dd016910da8029a2b2266e9a82eac167"/><file name="noactivity.html" hash="6d3b63329f5d664a9f81b2aba55b5588"/><file name="relatedproducts.html" hash="5bb28d77374568fbab07519048edb301"/><file name="review.html" hash="a1116b4a34c72fb94d8945730096ed83"/><file name="reviewcoupon.html" hash="bdd27369d3e76d915489399d95a502fc"/><file name="visitedproducts.html" hash="74941796112fba1158707ab6bdf4b2d4"/><file name="wishlist.html" hash="e456275499caa1cc018d7da1da32d525"/></dir></dir></dir></dir><file name="Ebizmarts_MageMonkey.csv" hash="3e0b1485b10cf7c9f6f64437f870c7fe"/><file name="Ebizmarts_SweetMonkey.csv" hash="063c94afbaa6e2fbe2028580209bc09b"/><file name="Ebizmarts_AbandonedCart.csv" hash="099104a7a9492249c0e24909145abfa3"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magemonkey"><file name="magemonkey.css" hash="2072357ef844855f7a4607245b1e9a17"/><file name="magemonkey.js" hash="da526f54eff51cd903f082395717fe31"/><file name="mailchimp-connected-ebizmarts-title.png" hash="c6bcb1aa606ecd3b0a9753bb48ddeb58"/><file name="mailchimp-ico.png" hash="14978ec398cede4060bc9b00365bb6c5"/><file name="mailchimp-section-background.png" hash="d4536261c6a3534fbb855428c0cca62c"/><file name="mailchimp-tab.png" hash="61972b4e063364071e81d8c9e10d8feb"/></dir><dir name="abandonedcart"><file name="abandonedcart.css" hash="bd6049fa8b17a1060e8a63fa29aefd94"/></dir><dir name="ebizmarts"><file name="Logo_Ebizmarts.png" hash="7ab7b13bda23200752897259e910daab"/><file name="ebizmarts-tab.png" hash="6dfa08c5cd4329d1df6e7b71fb1f925a"/><file name="ebizmarts.css" hash="a579734639953c1970ec26f56dda5837"/><dir name="mandrill"><file name="mandrill-tab.png" hash="d7eaf9deef355e4b8b55a96070b90ffe"/><file name="mandrill.css" hash="d93f1f52db38195a4f85d20de519151e"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="magemonkey"><file name="magemonkey.css" hash="8f25ca79fc6901215f713f0e048c4a9f"/><file name="monkey.js" hash="0e8737a98720a49bdfd5d1494a548416"/></dir></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="Mandrill"><dir name="Mandrill"><file name="Exceptions.php" hash="3a2c8fd337f5c3240a46fcabf4f13ec2"/><file name="Exports.php" hash="913582d277f98c8fcadad861abefb50a"/><file name="HttpError.php" hash="28954e58d5c6ecaf1d9255c3f31a68c2"/><file name="Inbound.php" hash="6ffadbba23e10cc338be144e06cb2c10"/><file name="Internal.php" hash="fa680d47c780922a111078827cad1505"/><file name="InvalidKey.php" hash="158778d424e99209f812e00f4fd22d92"/><file name="Ips.php" hash="644d1037d58e2b19757e503aa76e5679"/><file name="Messages.php" hash="8e344f6b3771711ee2e91771e988ae2e"/><file name="Metadata.php" hash="25eb150c69697389a6f780f4460cbe85"/><file name="PaymentRequired.php" hash="74c733bd2145ee667c64d703503412e8"/><file name="Rejects.php" hash="97414f03a0b9cb96c1949a4cc29a934e"/><file name="Senders.php" hash="875ddbeff3f920397c73c2c2797f3eea"/><file name="Subaccounts.php" hash="ae09174af8fea96458e4a5820390ff43"/><file name="Tags.php" hash="ee2f9e328d4d49aa8b0289978f7375b0"/><file name="Templates.php" hash="67d118c42cc6a95f2513c15936ac77f1"/><file name="UnknownSubaccount.php" hash="2a37c821c9aff0951121a6f2a59b6465"/><file name="UnknownTemplate.php" hash="28954e58d5c6ecaf1d9255c3f31a68c2"/><file name="Urls.php" hash="184c17ebb031f1f6e6dad687a4bf767d"/><file name="Users.php" hash="826dac98663eefce2f5ccc4a5b0d38e9"/><file name="ValidationError.php" hash="72516e1f8265e9aca7dd77d6e50fdd0b"/><file name="Webhooks.php" hash="37ea24a982630aa321444b85392f3397"/><file name="Whitelists.php" hash="d132144d50c3b713c98ad699984e4e38"/></dir><file name="Mandrill.php" hash="563f44c23be47259c8da58a168cd5bd9"/><file name="Message.php" hash="784920e095d8d9f0269b46f00071fcc9"/></dir></dir><dir name="js"><dir name="ebizmarts"><dir name="abandonedcart"><file name="popup.css" hash="2bf9fef85964298cc44143ef0fc78d21"/><file name="xmark.png" hash="6f14c834def36c1185347c49021030a4"/></dir><dir name="autoresponders"><file name="visitedproducts.js" hash="82955e7a3845c77b4dc14a526163ba65"/><file name="visitedproductsstorecodes.js" hash="e0a0accd7d6f0e2bf8828d6e45c9b653"/></dir><dir name="magemonkey"><file name="campaignCatcher.js" hash="c4b8d3bae426f22f0edf92fa95c5d747"/></dir></dir></dir></target></contents>
|
25 |
<compatible/>
|
26 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
27 |
</package>
|