Version Notes
1.1.34
--------
Email Catcher popup redesign.
Fixed Warning on Abandoned Cart cron process.
Fixed Warning on Autoresponder Emails cron process.
Solved problem on customer information sent to MailChimp.
Fixed problem on some displays of Back to Stock form.
Time sent to MailChimp with orders.
Added First and Last name to subscribers.
Footer subscription when not logged in working correctly.
Solved issue with Admin controllers isAllowed (Latest security patches).
Fixed issue with reset ecommerce orders.
Misspelling when error occurs in reset ecommerce orders changed.
Changed cron jobs timing to clean expired coupons.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Ebizmarts_MageMonkey |
Version | 1.1.34 |
Comparing to | |
See all releases |
Code changes from version 1.1.33 to 1.1.34
- app/code/community/Ebizmarts/AbandonedCart/Block/Popup/Emailcatcher.php +26 -0
- app/code/community/Ebizmarts/AbandonedCart/Helper/Data.php +33 -36
- app/code/community/Ebizmarts/AbandonedCart/Model/Config.php +3 -0
- app/code/community/Ebizmarts/AbandonedCart/Model/Cron.php +4 -3
- app/code/community/Ebizmarts/AbandonedCart/Model/EventObserver.php +4 -1
- app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Yesnovariation.php +1 -1
- app/code/community/Ebizmarts/AbandonedCart/controllers/Adminhtml/AbandonedmailsController.php +11 -0
- app/code/community/Ebizmarts/AbandonedCart/controllers/Adminhtml/AbandonedorderController.php +16 -0
- app/code/community/Ebizmarts/AbandonedCart/etc/adminhtml.xml +22 -0
- app/code/community/Ebizmarts/AbandonedCart/etc/config.xml +5 -4
- app/code/community/Ebizmarts/AbandonedCart/etc/system.xml +51 -12
- app/code/community/Ebizmarts/Autoresponder/Model/Config.php +7 -0
- app/code/community/Ebizmarts/Autoresponder/Model/Cron.php +29 -15
- app/code/community/Ebizmarts/Autoresponder/Model/EventObserver.php +20 -17
- app/code/community/Ebizmarts/Autoresponder/etc/config.xml +10 -10
- app/code/community/Ebizmarts/Autoresponder/etc/system.xml +131 -1
- app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Newsletter/Subscriber/Renderer/Firstname.php +22 -0
- app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Newsletter/Subscriber/Renderer/Lastname.php +22 -0
- app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/ResetLocalEcommerce.php +1 -1
- app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/ResetRemoteEcommerce.php +1 -1
- app/code/community/Ebizmarts/MageMonkey/Block/Lists.php +2 -1
- app/code/community/Ebizmarts/MageMonkey/Helper/Data.php +25 -21
- app/code/community/Ebizmarts/MageMonkey/Model/Ecommerce360.php +19 -6
- app/code/community/Ebizmarts/MageMonkey/Model/Feed/Updates.php +9 -7
- app/code/community/Ebizmarts/MageMonkey/Model/Lastorder.php +22 -0
- app/code/community/Ebizmarts/MageMonkey/Model/Monkey.php +8 -2
- app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Lastorder.php +22 -0
- app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Lastorder/Collection.php +23 -0
- app/code/community/Ebizmarts/MageMonkey/Model/Observer.php +29 -3
- app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/BulksyncController.php +27 -0
- app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/ConfigController.php +9 -0
- app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/EcommerceController.php +19 -0
- app/code/community/Ebizmarts/MageMonkey/etc/config.xml +13 -1
- app/code/community/Ebizmarts/MageMonkey/sql/monkey_setup/mysql4-upgrade-1.1.33-1.1.34.php +24 -0
- app/code/community/Ebizmarts/Mandrill/controllers/Adminhtml/Mandrill/UsersController.php +9 -0
- app/code/community/Ebizmarts/Mandrill/etc/adminhtml.xml +17 -0
- app/code/community/Ebizmarts/Mandrill/etc/config.xml +1 -1
- app/code/community/Ebizmarts/SweetMonkey/Model/Observer.php +6 -1
- app/code/community/Ebizmarts/SweetMonkey/controllers/Adminhtml/MageMonkeyController.php +10 -0
- app/design/adminhtml/default/default/template/magemonkey/system/config/resetremote360.phtml +1 -1
- app/design/frontend/base/default/template/ebizmarts/autoresponder/backtostock/catalog/product/form.phtml +2 -2
- app/design/frontend/base/default/template/ebizmarts_abandonedcart/popup/emailcatcher.phtml +51 -21
- js/ebizmarts/abandonedcart/popup.css +47 -2
- js/ebizmarts/abandonedcart/xmark.png +0 -0
- js/ebizmarts/magemonkey/campaignCatcher.js +1 -1
- package.xml +27 -7
app/code/community/Ebizmarts/AbandonedCart/Block/Popup/Emailcatcher.php
CHANGED
@@ -50,4 +50,30 @@ class Ebizmarts_AbandonedCart_Block_Popup_Emailcatcher extends Mage_Core_Block_T
|
|
50 |
{
|
51 |
return Mage::app()->getStore()->getId();
|
52 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
}
|
50 |
{
|
51 |
return Mage::app()->getStore()->getId();
|
52 |
}
|
53 |
+
|
54 |
+
protected function _handleCookie(){
|
55 |
+
$storeId = Mage::app()->getStore()->getId();
|
56 |
+
$emailCookie = Mage::getModel('core/cookie')->get('email');
|
57 |
+
$subscribeCookie = Mage::getModel('core/cookie')->get('subscribe');
|
58 |
+
$cookieValues = explode('/', $emailCookie);
|
59 |
+
$email = $cookieValues[0];
|
60 |
+
$email = str_replace(' ', '+', $email);
|
61 |
+
$fName = $cookieValues[1];
|
62 |
+
$lName = $cookieValues[2];
|
63 |
+
if($subscribeCookie == 'true'){
|
64 |
+
$subscriber = Mage::getModel('newsletter/subscriber')->loadByEmail($email);
|
65 |
+
if(!$subscriber->getId()) {
|
66 |
+
$subscriber = Mage::getModel('newsletter/subscriber')
|
67 |
+
->setStoreId($storeId);
|
68 |
+
if($fName){
|
69 |
+
$subscriber->setSubscriberFirstname($fName);
|
70 |
+
}
|
71 |
+
if($lName){
|
72 |
+
$subscriber->setSubscriberLastname($lName);
|
73 |
+
}
|
74 |
+
$subscriber->subscribe($email);
|
75 |
+
return 'location.reload';
|
76 |
+
}
|
77 |
+
}
|
78 |
+
}
|
79 |
}
|
app/code/community/Ebizmarts/AbandonedCart/Helper/Data.php
CHANGED
@@ -71,54 +71,51 @@ class Ebizmarts_AbandonedCart_Helper_Data extends Mage_Core_Helper_Abstract
|
|
71 |
->save();
|
72 |
}
|
73 |
|
74 |
-
public function getTBTPoints($customerId
|
75 |
{
|
|
|
76 |
|
77 |
-
|
78 |
-
|
79 |
|
80 |
-
|
81 |
-
$tbtVars['pts'] = $tbtCustomer->getPointsSummary();
|
82 |
|
83 |
-
|
|
|
|
|
|
|
84 |
|
85 |
-
|
86 |
-
$lastTransfers = $tbtCustomer->getTransfers()
|
87 |
-
->selectOnlyActive()
|
88 |
-
->addOrder('last_update_ts', Varien_Data_Collection::SORT_ORDER_DESC);
|
89 |
|
90 |
-
|
|
|
91 |
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
} else if (is_null($spent) && $transfer->getQuantity() < 0) {
|
98 |
-
$spent = $this->_formatDateMerge($transfer->getEffectiveStart());
|
99 |
-
}
|
100 |
-
|
101 |
-
if (!is_null($spent) && !is_null($earn)) {
|
102 |
-
break;
|
103 |
-
}
|
104 |
|
|
|
|
|
105 |
}
|
106 |
-
}
|
107 |
|
108 |
-
if ($earn) {
|
109 |
-
$tbtVars['ptsearn'] = $earn;
|
110 |
-
}
|
111 |
-
if ($spent) {
|
112 |
-
$tbtVars['ptsspent'] = $spent;
|
113 |
}
|
|
|
114 |
|
115 |
-
|
116 |
-
$
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
|
|
|
|
|
|
|
|
|
|
122 |
}
|
|
|
123 |
}
|
124 |
}
|
71 |
->save();
|
72 |
}
|
73 |
|
74 |
+
public function getTBTPoints($customerId)
|
75 |
{
|
76 |
+
$tbtCustomer = Mage::getModel('rewards/customer')->load($customerId);
|
77 |
|
78 |
+
//Point balance
|
79 |
+
$tbtVars['pts'] = $tbtCustomer->getPointsSummary();
|
80 |
|
81 |
+
$tbtVars['points'] = $tbtCustomer->getUsablePointsBalance(1);
|
|
|
82 |
|
83 |
+
//Earn and Spent points
|
84 |
+
$lastTransfers = $tbtCustomer->getTransfers()
|
85 |
+
->selectOnlyActive()
|
86 |
+
->addOrder('last_update_ts', Varien_Data_Collection::SORT_ORDER_DESC);
|
87 |
|
88 |
+
$spent = $earn = null;
|
|
|
|
|
|
|
89 |
|
90 |
+
if ($lastTransfers->getSize()) {
|
91 |
+
foreach ($lastTransfers as $transfer) {
|
92 |
|
93 |
+
if (is_null($earn) && $transfer->getQuantity() > 0) {
|
94 |
+
$earn = $this->_formatDateMerge($transfer->getEffectiveStart());
|
95 |
+
} else if (is_null($spent) && $transfer->getQuantity() < 0) {
|
96 |
+
$spent = $this->_formatDateMerge($transfer->getEffectiveStart());
|
97 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
|
99 |
+
if (!is_null($spent) && !is_null($earn)) {
|
100 |
+
break;
|
101 |
}
|
|
|
102 |
|
|
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
+
}
|
105 |
|
106 |
+
if ($earn) {
|
107 |
+
$tbtVars['ptsearn'] = $earn;
|
108 |
+
}
|
109 |
+
if ($spent) {
|
110 |
+
$tbtVars['ptsspent'] = $spent;
|
111 |
+
}
|
112 |
+
|
113 |
+
//Expiration Points
|
114 |
+
$val = Mage::getSingleton('rewards/expiry')
|
115 |
+
->getExpiryDate($tbtCustomer);
|
116 |
+
if ($val) {
|
117 |
+
$tbtVars['ptsexp'] = $val;
|
118 |
}
|
119 |
+
return $tbtVars;
|
120 |
}
|
121 |
}
|
app/code/community/Ebizmarts/AbandonedCart/Model/Config.php
CHANGED
@@ -70,7 +70,10 @@ class Ebizmarts_AbandonedCart_Model_Config
|
|
70 |
const ENABLE_POPUP = 'ebizmarts_abandonedcart/emailcatcher/popup_general';
|
71 |
const POPUP_HEADING = 'ebizmarts_abandonedcart/emailcatcher/popup_heading';
|
72 |
const POPUP_TEXT = 'ebizmarts_abandonedcart/emailcatcher/popup_text';
|
|
|
|
|
73 |
const POPUP_WIDTH = 'ebizmarts_abandonedcart/emailcatcher/popup_width';
|
|
|
74 |
const POPUP_SUBSCRIPTION = 'ebizmarts_abandonedcart/emailcatcher/popup_subscription';
|
75 |
const POPUP_CAN_CANCEL = 'ebizmarts_abandonedcart/emailcatcher/popup_cancel';
|
76 |
const POPUP_COOKIE_TIME = 'ebizmarts_abandonedcart/emailcatcher/popup_cookie_time';
|
70 |
const ENABLE_POPUP = 'ebizmarts_abandonedcart/emailcatcher/popup_general';
|
71 |
const POPUP_HEADING = 'ebizmarts_abandonedcart/emailcatcher/popup_heading';
|
72 |
const POPUP_TEXT = 'ebizmarts_abandonedcart/emailcatcher/popup_text';
|
73 |
+
const POPUP_FNAME = 'ebizmarts_abandonedcart/emailcatcher/popup_fname';
|
74 |
+
const POPUP_LNAME = 'ebizmarts_abandonedcart/emailcatcher/popup_lname';
|
75 |
const POPUP_WIDTH = 'ebizmarts_abandonedcart/emailcatcher/popup_width';
|
76 |
+
const POPUP_HEIGHT = 'ebizmarts_abandonedcart/emailcatcher/popup_height';
|
77 |
const POPUP_SUBSCRIPTION = 'ebizmarts_abandonedcart/emailcatcher/popup_subscription';
|
78 |
const POPUP_CAN_CANCEL = 'ebizmarts_abandonedcart/emailcatcher/popup_cancel';
|
79 |
const POPUP_COOKIE_TIME = 'ebizmarts_abandonedcart/emailcatcher/popup_cookie_time';
|
app/code/community/Ebizmarts/AbandonedCart/Model/Cron.php
CHANGED
@@ -66,6 +66,7 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
66 |
->getFirstItem();
|
67 |
if ($item) {
|
68 |
$status = $item->getCurrentStatus();
|
|
|
69 |
if (Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_ACTIVE, $storeId) && $status == 1) {
|
70 |
$abTesting = true;
|
71 |
$suffix = Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_MANDRILL_SUFFIX, $storeId);
|
@@ -464,8 +465,8 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
464 |
$customer = Mage::getModel('customer/customer')
|
465 |
->setStore(Mage::app()->getStore($storeId))
|
466 |
->loadByEmail($email);
|
467 |
-
if ($customer->getId()) {
|
468 |
-
$tbtPoints = Mage::helper('ebizmarts_abandonedcart')->getTBTPoints($customer->getId()
|
469 |
foreach ($tbtPoints as $key => $field) {
|
470 |
if ($key == 'points') {
|
471 |
if ($field >= Mage::getStoreConfig('sweetmonkey/general/email_points', $storeId)) {
|
@@ -597,7 +598,7 @@ class Ebizmarts_AbandonedCart_Model_Cron
|
|
597 |
* @param $email
|
598 |
* @return array
|
599 |
*/
|
600 |
-
protected function _createNewCoupon($store, $email
|
601 |
{
|
602 |
$collection = Mage::getModel('salesrule/rule')->getCollection()
|
603 |
->addFieldToFilter('name', array('like' => 'Abandoned coupon ' . $email));
|
66 |
->getFirstItem();
|
67 |
if ($item) {
|
68 |
$status = $item->getCurrentStatus();
|
69 |
+
$suffix = '';
|
70 |
if (Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_ACTIVE, $storeId) && $status == 1) {
|
71 |
$abTesting = true;
|
72 |
$suffix = Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::AB_TESTING_MANDRILL_SUFFIX, $storeId);
|
465 |
$customer = Mage::getModel('customer/customer')
|
466 |
->setStore(Mage::app()->getStore($storeId))
|
467 |
->loadByEmail($email);
|
468 |
+
if ($customer->getId() && Mage::helper('sweetmonkey')->enabled()) {
|
469 |
+
$tbtPoints = Mage::helper('ebizmarts_abandonedcart')->getTBTPoints($customer->getId());
|
470 |
foreach ($tbtPoints as $key => $field) {
|
471 |
if ($key == 'points') {
|
472 |
if ($field >= Mage::getStoreConfig('sweetmonkey/general/email_points', $storeId)) {
|
598 |
* @param $email
|
599 |
* @return array
|
600 |
*/
|
601 |
+
protected function _createNewCoupon($store, $email)
|
602 |
{
|
603 |
$collection = Mage::getModel('salesrule/rule')->getCollection()
|
604 |
->addFieldToFilter('name', array('like' => 'Abandoned coupon ' . $email));
|
app/code/community/Ebizmarts/AbandonedCart/Model/EventObserver.php
CHANGED
@@ -78,7 +78,10 @@ class Ebizmarts_AbandonedCart_Model_EventObserver
|
|
78 |
$onCheckout = ($action == 'saveOrder' || $action == 'savePayment' || $action == 'saveShippingMethod' || $action == 'saveBilling');
|
79 |
if(Mage::getModel('core/cookie')->get('email') && Mage::getModel('core/cookie')->get('email')!= 'none' && !$onCheckout) {
|
80 |
// if (isset($_COOKIE['email']) && $_COOKIE['email'] != 'none' && !$onCheckout) {
|
81 |
-
$
|
|
|
|
|
|
|
82 |
if ($quote->getCustomerEmail() != $email) {
|
83 |
$quote->setCustomerEmail($email)
|
84 |
->save();
|
78 |
$onCheckout = ($action == 'saveOrder' || $action == 'savePayment' || $action == 'saveShippingMethod' || $action == 'saveBilling');
|
79 |
if(Mage::getModel('core/cookie')->get('email') && Mage::getModel('core/cookie')->get('email')!= 'none' && !$onCheckout) {
|
80 |
// if (isset($_COOKIE['email']) && $_COOKIE['email'] != 'none' && !$onCheckout) {
|
81 |
+
$emailCookie = Mage::getModel('core/cookie')->get('email');
|
82 |
+
$emailCookieArr = explode('/', $emailCookie);
|
83 |
+
$email = $emailCookieArr[0];
|
84 |
+
$email = str_replace(' ', '+', $email);
|
85 |
if ($quote->getCustomerEmail() != $email) {
|
86 |
$quote->setCustomerEmail($email)
|
87 |
->save();
|
app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Yesnovariation.php
CHANGED
@@ -20,7 +20,7 @@ class Ebizmarts_AbandonedCart_Model_System_Config_Yesnovariation
|
|
20 |
}
|
21 |
$options = array(
|
22 |
array('value' => 0, 'label' => Mage::helper('ebizmarts_abandonedcart')->__('No')),
|
23 |
-
array('value' => $active, 'label' => Mage::helper('ebizmarts_abandonedcart')->__('Yes'))
|
24 |
);
|
25 |
return $options;
|
26 |
}
|
20 |
}
|
21 |
$options = array(
|
22 |
array('value' => 0, 'label' => Mage::helper('ebizmarts_abandonedcart')->__('No')),
|
23 |
+
array('value' => ($active + 1), 'label' => Mage::helper('ebizmarts_abandonedcart')->__('Yes'))
|
24 |
);
|
25 |
return $options;
|
26 |
}
|
app/code/community/Ebizmarts/AbandonedCart/controllers/Adminhtml/AbandonedmailsController.php
CHANGED
@@ -66,4 +66,15 @@ class Ebizmarts_AbandonedCart_Adminhtml_AbandonedmailsController extends Mage_Ad
|
|
66 |
/**
|
67 |
*
|
68 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
}
|
66 |
/**
|
67 |
*
|
68 |
*/
|
69 |
+
protected function _isAllowed() {
|
70 |
+
switch ($this->getRequest()->getActionName()) {
|
71 |
+
case 'index':
|
72 |
+
case 'grid':
|
73 |
+
case 'exportExcel':
|
74 |
+
case 'exportCsv':
|
75 |
+
$acl = 'newsletter/magemonkey/ebizmarts_emails';
|
76 |
+
break;
|
77 |
+
}
|
78 |
+
return Mage::getSingleton('admin/session')->isAllowed($acl);
|
79 |
+
}
|
80 |
}
|
app/code/community/Ebizmarts/AbandonedCart/controllers/Adminhtml/AbandonedorderController.php
CHANGED
@@ -92,4 +92,20 @@ class Ebizmarts_AbandonedCart_Adminhtml_AbandonedorderController extends Mage_Ad
|
|
92 |
$this->getResponse()->setBody($output);
|
93 |
return;
|
94 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
}
|
92 |
$this->getResponse()->setBody($output);
|
93 |
return;
|
94 |
}
|
95 |
+
|
96 |
+
protected function _isAllowed() {
|
97 |
+
switch ($this->getRequest()->getActionName()) {
|
98 |
+
case 'dashboard':
|
99 |
+
case 'ajaxBlock':
|
100 |
+
$acl = 'dashboard/ebizmarts_abandonedcart';
|
101 |
+
break;
|
102 |
+
case 'index':
|
103 |
+
case 'grid':
|
104 |
+
case 'exportExcel':
|
105 |
+
case 'exportCsv':
|
106 |
+
$acl = 'sales/ebizmarts_abandonedcart';
|
107 |
+
break;
|
108 |
+
}
|
109 |
+
return Mage::getSingleton('admin/session')->isAllowed($acl);
|
110 |
+
}
|
111 |
}
|
app/code/community/Ebizmarts/AbandonedCart/etc/adminhtml.xml
CHANGED
@@ -37,6 +37,28 @@
|
|
37 |
<resources>
|
38 |
<admin>
|
39 |
<children>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
<dashboard>
|
41 |
<children>
|
42 |
<ebizmarts_abandonedcart translate="title" module="ebizmarts_abandonedcart">
|
37 |
<resources>
|
38 |
<admin>
|
39 |
<children>
|
40 |
+
<sales>
|
41 |
+
<children>
|
42 |
+
<ebizmarts_abandonedcart translate="title" module="ebizmarts_abandonedcart">
|
43 |
+
<title>Abandoned Cart Orders</title>
|
44 |
+
<sort_order>800</sort_order>
|
45 |
+
<action>adminhtml/abandonedorder/index</action>
|
46 |
+
</ebizmarts_abandonedcart>
|
47 |
+
</children>
|
48 |
+
</sales>
|
49 |
+
<newsletter>
|
50 |
+
<children>
|
51 |
+
<magemonkey>
|
52 |
+
<children>
|
53 |
+
<ebizmarts_emails translate="title" module="ebizmarts_abandonedcart">
|
54 |
+
<title>Emails Sent</title>
|
55 |
+
<sort_order>810</sort_order>
|
56 |
+
<action>adminhtml/abandonedmails/index</action>
|
57 |
+
</ebizmarts_emails>
|
58 |
+
</children>
|
59 |
+
</magemonkey>
|
60 |
+
</children>
|
61 |
+
</newsletter>
|
62 |
<dashboard>
|
63 |
<children>
|
64 |
<ebizmarts_abandonedcart translate="title" module="ebizmarts_abandonedcart">
|
app/code/community/Ebizmarts/AbandonedCart/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_AbandonedCart>
|
13 |
-
<version>1.1.
|
14 |
</Ebizmarts_AbandonedCart>
|
15 |
</modules>
|
16 |
<global>
|
@@ -215,7 +215,7 @@
|
|
215 |
</ebizmarts_abandoned_cart>
|
216 |
<ebizmarts_abandoned_cart_clean_expiredcoupons>
|
217 |
<schedule>
|
218 |
-
<cron_expr>0
|
219 |
</schedule>
|
220 |
<run>
|
221 |
<model>ebizmarts_abandonedcart/cron::cleanAbandonedCartExpiredCoupons</model>
|
@@ -243,8 +243,9 @@
|
|
243 |
<popup_cancel>1</popup_cancel>
|
244 |
<popup_subscription>1</popup_subscription>
|
245 |
<popup_heading>Welcome to our store!</popup_heading>
|
246 |
-
<popup_text>Please enter your email address to get the most of our store and improve your shopping experience.</popup_text>
|
247 |
-
<popup_width>
|
|
|
248 |
<popup_cookie_time>1</popup_cookie_time>
|
249 |
<popup_insist>1</popup_insist>
|
250 |
<popup_coupon_mandrill_tag>popup_coupon</popup_coupon_mandrill_tag>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_AbandonedCart>
|
13 |
+
<version>1.1.34</version>
|
14 |
</Ebizmarts_AbandonedCart>
|
15 |
</modules>
|
16 |
<global>
|
215 |
</ebizmarts_abandoned_cart>
|
216 |
<ebizmarts_abandoned_cart_clean_expiredcoupons>
|
217 |
<schedule>
|
218 |
+
<cron_expr>0 1 * * *</cron_expr>
|
219 |
</schedule>
|
220 |
<run>
|
221 |
<model>ebizmarts_abandonedcart/cron::cleanAbandonedCartExpiredCoupons</model>
|
243 |
<popup_cancel>1</popup_cancel>
|
244 |
<popup_subscription>1</popup_subscription>
|
245 |
<popup_heading>Welcome to our store!</popup_heading>
|
246 |
+
<popup_text>Please enter your email address to get the most out of our store and improve your shopping experience.</popup_text>
|
247 |
+
<popup_width>700</popup_width>
|
248 |
+
<popup_height>245</popup_height>
|
249 |
<popup_cookie_time>1</popup_cookie_time>
|
250 |
<popup_insist>1</popup_insist>
|
251 |
<popup_coupon_mandrill_tag>popup_coupon</popup_coupon_mandrill_tag>
|
app/code/community/Ebizmarts/AbandonedCart/etc/system.xml
CHANGED
@@ -525,7 +525,7 @@
|
|
525 |
<show_in_website>1</show_in_website>
|
526 |
<show_in_store>1</show_in_store>
|
527 |
<depends>
|
528 |
-
<active separator=",">
|
529 |
</depends>
|
530 |
</mandrill_suffix>
|
531 |
<subject1 translate="label comment">
|
@@ -538,7 +538,7 @@
|
|
538 |
<can_be_empty>0</can_be_empty>
|
539 |
<comment><![CDATA[The subject for the first email abandoned cart]]></comment>
|
540 |
<depends>
|
541 |
-
<active separator=",">
|
542 |
</depends>
|
543 |
</subject1>
|
544 |
<template1 translate="label">
|
@@ -551,7 +551,7 @@
|
|
551 |
<show_in_website>1</show_in_website>
|
552 |
<show_in_store>1</show_in_store>
|
553 |
<depends>
|
554 |
-
<active separator=",">
|
555 |
</depends>
|
556 |
</template1>
|
557 |
<subject2 translate="label comment">
|
@@ -564,7 +564,7 @@
|
|
564 |
<can_be_empty>0</can_be_empty>
|
565 |
<comment><![CDATA[The subject for the second email abandoned cart]]></comment>
|
566 |
<depends>
|
567 |
-
<active separator=",">
|
568 |
</depends>
|
569 |
</subject2>
|
570 |
<template2 translate="label">
|
@@ -577,7 +577,7 @@
|
|
577 |
<show_in_website>1</show_in_website>
|
578 |
<show_in_store>1</show_in_store>
|
579 |
<depends>
|
580 |
-
<active separator=",">
|
581 |
</depends>
|
582 |
</template2>
|
583 |
<subject3 translate="label comment">
|
@@ -590,7 +590,7 @@
|
|
590 |
<can_be_empty>0</can_be_empty>
|
591 |
<comment><![CDATA[The subject for the third email abandoned cart]]></comment>
|
592 |
<depends>
|
593 |
-
<active separator=",">
|
594 |
</depends>
|
595 |
</subject3>
|
596 |
<template3 translate="label">
|
@@ -603,7 +603,7 @@
|
|
603 |
<show_in_website>1</show_in_website>
|
604 |
<show_in_store>1</show_in_store>
|
605 |
<depends>
|
606 |
-
<active separator=",">
|
607 |
</depends>
|
608 |
</template3>
|
609 |
<subject4 translate="label comment">
|
@@ -616,7 +616,7 @@
|
|
616 |
<can_be_empty>0</can_be_empty>
|
617 |
<comment><![CDATA[The subject for the fourth email abandoned cart]]></comment>
|
618 |
<depends>
|
619 |
-
<active separator=",">
|
620 |
</depends>
|
621 |
</subject4>
|
622 |
<template4 translate="label">
|
@@ -629,7 +629,7 @@
|
|
629 |
<show_in_website>1</show_in_website>
|
630 |
<show_in_store>1</show_in_store>
|
631 |
<depends>
|
632 |
-
<active separator=",">
|
633 |
</depends>
|
634 |
</template4>
|
635 |
<subject5 translate="label comment">
|
@@ -642,7 +642,7 @@
|
|
642 |
<can_be_empty>0</can_be_empty>
|
643 |
<comment><![CDATA[The subject for the fourth email abandoned cart]]></comment>
|
644 |
<depends>
|
645 |
-
<active separator=",">
|
646 |
</depends>
|
647 |
</subject5>
|
648 |
<template5 translate="label">
|
@@ -655,7 +655,7 @@
|
|
655 |
<show_in_website>1</show_in_website>
|
656 |
<show_in_store>1</show_in_store>
|
657 |
<depends>
|
658 |
-
<active separator=",">
|
659 |
</depends>
|
660 |
</template5>
|
661 |
<A_Btesting_sendon translate="label">
|
@@ -669,7 +669,7 @@
|
|
669 |
<comment>
|
670 |
<![CDATA[The coupon will be created on testing email for Abandoned Cart number]]></comment>
|
671 |
<depends>
|
672 |
-
<active separator=",">-
|
673 |
</depends>
|
674 |
</A_Btesting_sendon>
|
675 |
</fields>
|
@@ -718,6 +718,32 @@
|
|
718 |
<popup_general>1</popup_general>
|
719 |
</depends>
|
720 |
</popup_text>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
721 |
<popup_width translate="label comment">
|
722 |
<label>Popup Width</label>
|
723 |
<frontend_type>text</frontend_type>
|
@@ -731,6 +757,19 @@
|
|
731 |
<popup_general>1</popup_general>
|
732 |
</depends>
|
733 |
</popup_width>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
734 |
<popup_subscription translate="label comment">
|
735 |
<label>Subscribe customer</label>
|
736 |
<frontend_type>select</frontend_type>
|
525 |
<show_in_website>1</show_in_website>
|
526 |
<show_in_store>1</show_in_store>
|
527 |
<depends>
|
528 |
+
<active separator=",">1,2,3,4,5,-1,-2,-3,-4,-5</active>
|
529 |
</depends>
|
530 |
</mandrill_suffix>
|
531 |
<subject1 translate="label comment">
|
538 |
<can_be_empty>0</can_be_empty>
|
539 |
<comment><![CDATA[The subject for the first email abandoned cart]]></comment>
|
540 |
<depends>
|
541 |
+
<active separator=",">1,2,3,4,5,-1,-2,-3,-4,-5</active>
|
542 |
</depends>
|
543 |
</subject1>
|
544 |
<template1 translate="label">
|
551 |
<show_in_website>1</show_in_website>
|
552 |
<show_in_store>1</show_in_store>
|
553 |
<depends>
|
554 |
+
<active separator=",">1,2,3,4,5,-1,-2,-3,-4,-5</active>
|
555 |
</depends>
|
556 |
</template1>
|
557 |
<subject2 translate="label comment">
|
564 |
<can_be_empty>0</can_be_empty>
|
565 |
<comment><![CDATA[The subject for the second email abandoned cart]]></comment>
|
566 |
<depends>
|
567 |
+
<active separator=",">2,3,4,5,-1,-2,-3,-4,-5</active>
|
568 |
</depends>
|
569 |
</subject2>
|
570 |
<template2 translate="label">
|
577 |
<show_in_website>1</show_in_website>
|
578 |
<show_in_store>1</show_in_store>
|
579 |
<depends>
|
580 |
+
<active separator=",">2,3,4,5,-2,-3,-4,-5</active>
|
581 |
</depends>
|
582 |
</template2>
|
583 |
<subject3 translate="label comment">
|
590 |
<can_be_empty>0</can_be_empty>
|
591 |
<comment><![CDATA[The subject for the third email abandoned cart]]></comment>
|
592 |
<depends>
|
593 |
+
<active separator=",">3,4,5,-2,-3,-4,-5</active>
|
594 |
</depends>
|
595 |
</subject3>
|
596 |
<template3 translate="label">
|
603 |
<show_in_website>1</show_in_website>
|
604 |
<show_in_store>1</show_in_store>
|
605 |
<depends>
|
606 |
+
<active separator=",">3,4,5,-3,-4,-5</active>
|
607 |
</depends>
|
608 |
</template3>
|
609 |
<subject4 translate="label comment">
|
616 |
<can_be_empty>0</can_be_empty>
|
617 |
<comment><![CDATA[The subject for the fourth email abandoned cart]]></comment>
|
618 |
<depends>
|
619 |
+
<active separator=",">4,5,-4,-5</active>
|
620 |
</depends>
|
621 |
</subject4>
|
622 |
<template4 translate="label">
|
629 |
<show_in_website>1</show_in_website>
|
630 |
<show_in_store>1</show_in_store>
|
631 |
<depends>
|
632 |
+
<active separator=",">4,5,-4,-5</active>
|
633 |
</depends>
|
634 |
</template4>
|
635 |
<subject5 translate="label comment">
|
642 |
<can_be_empty>0</can_be_empty>
|
643 |
<comment><![CDATA[The subject for the fourth email abandoned cart]]></comment>
|
644 |
<depends>
|
645 |
+
<active separator=",">5,-5</active>
|
646 |
</depends>
|
647 |
</subject5>
|
648 |
<template5 translate="label">
|
655 |
<show_in_website>1</show_in_website>
|
656 |
<show_in_store>1</show_in_store>
|
657 |
<depends>
|
658 |
+
<active separator=",">5,-5</active>
|
659 |
</depends>
|
660 |
</template5>
|
661 |
<A_Btesting_sendon translate="label">
|
669 |
<comment>
|
670 |
<![CDATA[The coupon will be created on testing email for Abandoned Cart number]]></comment>
|
671 |
<depends>
|
672 |
+
<active separator=",">-1,-2,-3,-4,-5</active>
|
673 |
</depends>
|
674 |
</A_Btesting_sendon>
|
675 |
</fields>
|
718 |
<popup_general>1</popup_general>
|
719 |
</depends>
|
720 |
</popup_text>
|
721 |
+
<popup_fname translate="label">
|
722 |
+
<label>Ask for first name on popup</label>
|
723 |
+
<frontend_type>select</frontend_type>
|
724 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
725 |
+
<sort_order>236</sort_order>
|
726 |
+
<show_in_default>1</show_in_default>
|
727 |
+
<show_in_website>1</show_in_website>
|
728 |
+
<show_in_store>1</show_in_store>
|
729 |
+
<can_be_empty>1</can_be_empty>
|
730 |
+
<depends>
|
731 |
+
<popup_general>1</popup_general>
|
732 |
+
</depends>
|
733 |
+
</popup_fname>
|
734 |
+
<popup_lname translate="label">
|
735 |
+
<label>Ask for last name on popup</label>
|
736 |
+
<frontend_type>select</frontend_type>
|
737 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
738 |
+
<sort_order>237</sort_order>
|
739 |
+
<show_in_default>1</show_in_default>
|
740 |
+
<show_in_website>1</show_in_website>
|
741 |
+
<show_in_store>1</show_in_store>
|
742 |
+
<can_be_empty>1</can_be_empty>
|
743 |
+
<depends>
|
744 |
+
<popup_general>1</popup_general>
|
745 |
+
</depends>
|
746 |
+
</popup_lname>
|
747 |
<popup_width translate="label comment">
|
748 |
<label>Popup Width</label>
|
749 |
<frontend_type>text</frontend_type>
|
757 |
<popup_general>1</popup_general>
|
758 |
</depends>
|
759 |
</popup_width>
|
760 |
+
<popup_height translate="label comment">
|
761 |
+
<label>Popup Height</label>
|
762 |
+
<frontend_type>text</frontend_type>
|
763 |
+
<sort_order>241</sort_order>
|
764 |
+
<show_in_default>1</show_in_default>
|
765 |
+
<show_in_website>1</show_in_website>
|
766 |
+
<show_in_store>1</show_in_store>
|
767 |
+
<can_be_empty>1</can_be_empty>
|
768 |
+
<comment><![CDATA[The height is in pixels.]]></comment>
|
769 |
+
<depends>
|
770 |
+
<popup_general>1</popup_general>
|
771 |
+
</depends>
|
772 |
+
</popup_height>
|
773 |
<popup_subscription translate="label comment">
|
774 |
<label>Subscribe customer</label>
|
775 |
<frontend_type>select</frontend_type>
|
app/code/community/Ebizmarts/Autoresponder/Model/Config.php
CHANGED
@@ -84,6 +84,13 @@ class Ebizmarts_Autoresponder_Model_Config
|
|
84 |
const NOACTIVITY_TEMPLATE = 'ebizmarts_autoresponder/noactivity/template';
|
85 |
const NOACTIVITY_MANDRILL_TAG = 'ebizmarts_autoresponder/noactivity/mandrill-tag';
|
86 |
const NOACTIVITY_SUBJECT = 'ebizmarts_autoresponder/noactivity/subject';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
const NOACTIVITY_CRON_TIME = 'ebizmarts_autoresponder/noactivity/cron-time';
|
88 |
|
89 |
const WISHLIST_ACTIVE = 'ebizmarts_autoresponder/wishlist/active';
|
84 |
const NOACTIVITY_TEMPLATE = 'ebizmarts_autoresponder/noactivity/template';
|
85 |
const NOACTIVITY_MANDRILL_TAG = 'ebizmarts_autoresponder/noactivity/mandrill-tag';
|
86 |
const NOACTIVITY_SUBJECT = 'ebizmarts_autoresponder/noactivity/subject';
|
87 |
+
const NOACTIVITY_COUPON = 'ebizmarts_autoresponder/noactivity/coupon';
|
88 |
+
const NOACTIVITY_CUSTOMER_COUPON = 'ebizmarts_autoresponder/noactivity/customer_coupon';
|
89 |
+
const NOACTIVITY_AUTOMATIC = 'ebizmarts_autoresponder/noactivity/automatic';
|
90 |
+
const NOACTIVITY_COUPON_CODE = 'ebizmarts_autoresponder/noactivity/coupon_code';
|
91 |
+
const NOACTIVITY_EXPIRE = 'ebizmarts_autoresponder/noactivity/expire';
|
92 |
+
const NOACTIVITY_LENGTH = 'ebizmarts_autoresponder/noactivity/length';
|
93 |
+
const NOACTIVITY_DISCOUNT_TYPE = 'ebizmarts_autoresponder/noactivity/discounttype';
|
94 |
const NOACTIVITY_CRON_TIME = 'ebizmarts_autoresponder/noactivity/cron-time';
|
95 |
|
96 |
const WISHLIST_ACTIVE = 'ebizmarts_autoresponder/wishlist/active';
|
app/code/community/Ebizmarts/Autoresponder/Model/Cron.php
CHANGED
@@ -94,7 +94,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
94 |
$customer = Mage::getModel('customer/customer')
|
95 |
->setStore(Mage::app()->getStore($storeId))
|
96 |
->loadByEmail($email);
|
97 |
-
if ($customer->getId()) {
|
98 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
99 |
foreach ($tbtPoints as $key => $field) {
|
100 |
if ($key == 'points') {
|
@@ -106,6 +106,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
106 |
}
|
107 |
}
|
108 |
}
|
|
|
109 |
|
110 |
$mail = Mage::getModel('core/email_template')->setTemplateSubject($mailSubject)->sendTransactional($templateId, $sender, $email, $name, $vars, $storeId);
|
111 |
$translate->setTranslateInLine(true);
|
@@ -151,7 +152,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
151 |
$couponcode = '';
|
152 |
if ($sendCoupon && in_array($customer->getGroupId(), $customerGroupsCoupon)) {
|
153 |
if (Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_AUTOMATIC, $storeId) == Ebizmarts_Autoresponder_Model_Config::COUPON_AUTOMATIC) {
|
154 |
-
list($couponcode, $discount, $toDate) = $this->_createNewCoupon($storeId, $email);
|
155 |
$vars = array('couponcode' => $couponcode, 'discount' => $discount, 'todate' => $toDate, 'name' => $name, 'tags' => array($tags), 'url' => $url);
|
156 |
} else {
|
157 |
$couponcode = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_COUPON_CODE);
|
@@ -163,7 +164,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
163 |
$customer = Mage::getModel('customer/customer')
|
164 |
->setStore(Mage::app()->getStore($storeId))
|
165 |
->loadByEmail($email);
|
166 |
-
if ($customer->getId()) {
|
167 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
168 |
foreach ($tbtPoints as $key => $field) {
|
169 |
if ($key == 'points') {
|
@@ -193,6 +194,8 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
193 |
$templateId = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NOACTIVITY_TEMPLATE, $storeId);
|
194 |
$mailSubject = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NOACTIVITY_SUBJECT, $storeId);
|
195 |
$tags = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NOACTIVITY_MANDRILL_TAG, $storeId) . "_$storeId";
|
|
|
|
|
196 |
|
197 |
$collection = Mage::getModel('customer/customer')->getCollection();
|
198 |
|
@@ -223,10 +226,20 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
223 |
$url = Mage::getModel('core/url')->setStore($storeId)->getUrl() . 'ebizautoresponder/autoresponder/unsubscribe?list=noactivity&email=' . $email . '&store=' . $storeId;
|
224 |
$vars = array('name' => $name, 'tags' => array($tags), 'lastlogin' => $lastVisited, 'url' => $url);
|
225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
$customer = Mage::getModel('customer/customer')
|
227 |
->setStore(Mage::app()->getStore($storeId))
|
228 |
->loadByEmail($email);
|
229 |
-
if ($customer->getId()) {
|
230 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
231 |
foreach ($tbtPoints as $key => $field) {
|
232 |
if ($key == 'points') {
|
@@ -301,7 +314,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
301 |
$customer = Mage::getModel('customer/customer')
|
302 |
->setStore(Mage::app()->getStore($storeId))
|
303 |
->loadByEmail($email);
|
304 |
-
if ($customer->getId()) {
|
305 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
306 |
foreach ($tbtPoints as $key => $field) {
|
307 |
if ($key == 'points') {
|
@@ -385,7 +398,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
385 |
$customer = Mage::getModel('customer/customer')
|
386 |
->setStore(Mage::app()->getStore($storeId))
|
387 |
->loadByEmail($email);
|
388 |
-
if ($customer->getId()) {
|
389 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
390 |
foreach ($tbtPoints as $key => $field) {
|
391 |
if ($key == 'points') {
|
@@ -442,7 +455,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
442 |
$customer = Mage::getModel('customer/customer')
|
443 |
->setStore(Mage::app()->getStore($storeId))
|
444 |
->loadByEmail($email);
|
445 |
-
if ($customer->getId()) {
|
446 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
447 |
foreach ($tbtPoints as $key => $field) {
|
448 |
if ($key == 'points') {
|
@@ -482,7 +495,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
482 |
$customer = Mage::getModel('customer/customer')
|
483 |
->setStore(Mage::app()->getStore($storeId))
|
484 |
->loadByEmail($email);
|
485 |
-
if ($customer->getId()) {
|
486 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
487 |
foreach ($tbtPoints as $key => $field) {
|
488 |
if ($key == 'points') {
|
@@ -687,7 +700,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
687 |
$customer = Mage::getModel('customer/customer')
|
688 |
->setStore(Mage::app()->getStore($storeId))
|
689 |
->loadByEmail($email);
|
690 |
-
if ($customer->getId()) {
|
691 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
692 |
foreach ($tbtPoints as $key => $field) {
|
693 |
if ($key == 'points') {
|
@@ -821,7 +834,7 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
821 |
$customer = Mage::getModel('customer/customer')
|
822 |
->setStore(Mage::app()->getStore($storeId))
|
823 |
->loadByEmail($_email);
|
824 |
-
if ($customer->getId()) {
|
825 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
826 |
foreach ($tbtPoints as $key => $field) {
|
827 |
if ($key == 'points') {
|
@@ -938,10 +951,10 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
938 |
}
|
939 |
|
940 |
|
941 |
-
protected function _createNewCoupon($store, $email)
|
942 |
{
|
943 |
$collection = Mage::getModel('salesrule/rule')->getCollection()
|
944 |
-
->addFieldToFilter('name', array('like' =>
|
945 |
if (!count($collection)) {
|
946 |
$couponamount = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_DISCOUNT, $store);
|
947 |
$couponexpiredays = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_EXPIRE, $store);
|
@@ -966,8 +979,8 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
966 |
$groups[] = $groupid;
|
967 |
}
|
968 |
$coupon_rule = Mage::getModel('salesrule/rule');
|
969 |
-
$coupon_rule->setName(
|
970 |
-
->setDescription(
|
971 |
->setFromDate($fromDate)
|
972 |
->setToDate($toDate)
|
973 |
->setIsActive(1)
|
@@ -1013,9 +1026,10 @@ class Ebizmarts_Autoresponder_Model_Cron
|
|
1013 |
$today = date('Y-m-d');
|
1014 |
$reviewCouponFilter = array('like' => 'Review coupon%');
|
1015 |
$birthdayCouponFilter = array('like' => 'Birthday coupon%');
|
|
|
1016 |
|
1017 |
$collection = Mage::getModel('salesrule/rule')->getCollection()
|
1018 |
-
->addFieldToFilter('name', array($reviewCouponFilter, $birthdayCouponFilter))
|
1019 |
->addFieldToFilter('to_date', array('lt' => $today));
|
1020 |
|
1021 |
foreach ($collection as $toDelete) {
|
94 |
$customer = Mage::getModel('customer/customer')
|
95 |
->setStore(Mage::app()->getStore($storeId))
|
96 |
->loadByEmail($email);
|
97 |
+
if ($customer->getId() && Mage::helper('sweetmonkey')->enabled()) {
|
98 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
99 |
foreach ($tbtPoints as $key => $field) {
|
100 |
if ($key == 'points') {
|
106 |
}
|
107 |
}
|
108 |
}
|
109 |
+
$vars['order'] = $order;
|
110 |
|
111 |
$mail = Mage::getModel('core/email_template')->setTemplateSubject($mailSubject)->sendTransactional($templateId, $sender, $email, $name, $vars, $storeId);
|
112 |
$translate->setTranslateInLine(true);
|
152 |
$couponcode = '';
|
153 |
if ($sendCoupon && in_array($customer->getGroupId(), $customerGroupsCoupon)) {
|
154 |
if (Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_AUTOMATIC, $storeId) == Ebizmarts_Autoresponder_Model_Config::COUPON_AUTOMATIC) {
|
155 |
+
list($couponcode, $discount, $toDate) = $this->_createNewCoupon($storeId, $email, 'Birthday coupon');
|
156 |
$vars = array('couponcode' => $couponcode, 'discount' => $discount, 'todate' => $toDate, 'name' => $name, 'tags' => array($tags), 'url' => $url);
|
157 |
} else {
|
158 |
$couponcode = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_COUPON_CODE);
|
164 |
$customer = Mage::getModel('customer/customer')
|
165 |
->setStore(Mage::app()->getStore($storeId))
|
166 |
->loadByEmail($email);
|
167 |
+
if ($customer->getId() && Mage::helper('sweetmonkey')->enabled()) {
|
168 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
169 |
foreach ($tbtPoints as $key => $field) {
|
170 |
if ($key == 'points') {
|
194 |
$templateId = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NOACTIVITY_TEMPLATE, $storeId);
|
195 |
$mailSubject = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NOACTIVITY_SUBJECT, $storeId);
|
196 |
$tags = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NOACTIVITY_MANDRILL_TAG, $storeId) . "_$storeId";
|
197 |
+
$sendCoupon = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NOACTIVITY_COUPON, $storeId);
|
198 |
+
$customerGroupsCoupon = explode(",", Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NOACTIVITY_CUSTOMER_COUPON, $storeId));
|
199 |
|
200 |
$collection = Mage::getModel('customer/customer')->getCollection();
|
201 |
|
226 |
$url = Mage::getModel('core/url')->setStore($storeId)->getUrl() . 'ebizautoresponder/autoresponder/unsubscribe?list=noactivity&email=' . $email . '&store=' . $storeId;
|
227 |
$vars = array('name' => $name, 'tags' => array($tags), 'lastlogin' => $lastVisited, 'url' => $url);
|
228 |
|
229 |
+
if ($sendCoupon && in_array($cust->getGroupId(), $customerGroupsCoupon)) {
|
230 |
+
if (Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NOACTIVITY_AUTOMATIC, $storeId) == Ebizmarts_Autoresponder_Model_Config::COUPON_AUTOMATIC) {
|
231 |
+
list($couponcode, $discount, $toDate) = $this->_createNewCoupon($storeId, $email, 'No Activity coupon');
|
232 |
+
$vars = array('couponcode' => $couponcode, 'discount' => $discount, 'todate' => $toDate, 'name' => $name, 'tags' => array($tags), 'lastlogin' => $lastVisited, 'url' => $url);
|
233 |
+
} else {
|
234 |
+
$couponcode = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_COUPON_CODE);
|
235 |
+
$vars = array('couponcode' => $couponcode, 'name' => $name, 'tags' => array($tags), 'lastlogin' => $lastVisited, 'url' => $url);
|
236 |
+
}
|
237 |
+
}
|
238 |
+
|
239 |
$customer = Mage::getModel('customer/customer')
|
240 |
->setStore(Mage::app()->getStore($storeId))
|
241 |
->loadByEmail($email);
|
242 |
+
if ($customer->getId() && Mage::helper('sweetmonkey')->enabled()) {
|
243 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
244 |
foreach ($tbtPoints as $key => $field) {
|
245 |
if ($key == 'points') {
|
314 |
$customer = Mage::getModel('customer/customer')
|
315 |
->setStore(Mage::app()->getStore($storeId))
|
316 |
->loadByEmail($email);
|
317 |
+
if ($customer->getId() && Mage::helper('sweetmonkey')->enabled()) {
|
318 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
319 |
foreach ($tbtPoints as $key => $field) {
|
320 |
if ($key == 'points') {
|
398 |
$customer = Mage::getModel('customer/customer')
|
399 |
->setStore(Mage::app()->getStore($storeId))
|
400 |
->loadByEmail($email);
|
401 |
+
if ($customer->getId() && Mage::helper('sweetmonkey')->enabled()) {
|
402 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
403 |
foreach ($tbtPoints as $key => $field) {
|
404 |
if ($key == 'points') {
|
455 |
$customer = Mage::getModel('customer/customer')
|
456 |
->setStore(Mage::app()->getStore($storeId))
|
457 |
->loadByEmail($email);
|
458 |
+
if ($customer->getId() && Mage::helper('sweetmonkey')->enabled()) {
|
459 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
460 |
foreach ($tbtPoints as $key => $field) {
|
461 |
if ($key == 'points') {
|
495 |
$customer = Mage::getModel('customer/customer')
|
496 |
->setStore(Mage::app()->getStore($storeId))
|
497 |
->loadByEmail($email);
|
498 |
+
if ($customer->getId() && Mage::helper('sweetmonkey')->enabled()) {
|
499 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
500 |
foreach ($tbtPoints as $key => $field) {
|
501 |
if ($key == 'points') {
|
700 |
$customer = Mage::getModel('customer/customer')
|
701 |
->setStore(Mage::app()->getStore($storeId))
|
702 |
->loadByEmail($email);
|
703 |
+
if ($customer->getId() && Mage::helper('sweetmonkey')->enabled()) {
|
704 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
705 |
foreach ($tbtPoints as $key => $field) {
|
706 |
if ($key == 'points') {
|
834 |
$customer = Mage::getModel('customer/customer')
|
835 |
->setStore(Mage::app()->getStore($storeId))
|
836 |
->loadByEmail($_email);
|
837 |
+
if ($customer->getId() && Mage::helper('sweetmonkey')->enabled()) {
|
838 |
$tbtPoints = Mage::helper('ebizmarts_autoresponder')->getTBTPoints($customer->getId(), $storeId);
|
839 |
foreach ($tbtPoints as $key => $field) {
|
840 |
if ($key == 'points') {
|
951 |
}
|
952 |
|
953 |
|
954 |
+
protected function _createNewCoupon($store, $email, $string)
|
955 |
{
|
956 |
$collection = Mage::getModel('salesrule/rule')->getCollection()
|
957 |
+
->addFieldToFilter('name', array('like' => $string . $email));
|
958 |
if (!count($collection)) {
|
959 |
$couponamount = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_DISCOUNT, $store);
|
960 |
$couponexpiredays = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_EXPIRE, $store);
|
979 |
$groups[] = $groupid;
|
980 |
}
|
981 |
$coupon_rule = Mage::getModel('salesrule/rule');
|
982 |
+
$coupon_rule->setName($string . ' ' . $email)
|
983 |
+
->setDescription($string . ' ' . $email)
|
984 |
->setFromDate($fromDate)
|
985 |
->setToDate($toDate)
|
986 |
->setIsActive(1)
|
1026 |
$today = date('Y-m-d');
|
1027 |
$reviewCouponFilter = array('like' => 'Review coupon%');
|
1028 |
$birthdayCouponFilter = array('like' => 'Birthday coupon%');
|
1029 |
+
$noActivityCouponFilter = array('like' => 'No Activity coupon%');
|
1030 |
|
1031 |
$collection = Mage::getModel('salesrule/rule')->getCollection()
|
1032 |
+
->addFieldToFilter('name', array($reviewCouponFilter, $birthdayCouponFilter, $noActivityCouponFilter))
|
1033 |
->addFieldToFilter('to_date', array('lt' => $today));
|
1034 |
|
1035 |
foreach ($collection as $toDelete) {
|
app/code/community/Ebizmarts/Autoresponder/Model/EventObserver.php
CHANGED
@@ -233,25 +233,28 @@ class Ebizmarts_Autoresponder_Model_EventObserver
|
|
233 |
$new_data = $observer->getEvent()->getData('data_object')->getData();
|
234 |
|
235 |
$order = $observer->getEvent()->getOrder();
|
|
|
236 |
|
237 |
-
|
238 |
-
if (
|
239 |
-
$
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
|
|
244 |
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
|
|
255 |
}
|
256 |
}
|
257 |
}
|
233 |
$new_data = $observer->getEvent()->getData('data_object')->getData();
|
234 |
|
235 |
$order = $observer->getEvent()->getOrder();
|
236 |
+
$configStatuses = explode(',',Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NEWORDER_ORDER_STATUS, $storeId));
|
237 |
|
238 |
+
foreach($configStatuses as $status) {
|
239 |
+
if (isset($new_data['status']) && isset($original_data['status']) && $original_data['status'] !== $new_data['status'] && $new_data['status'] == $status) {
|
240 |
+
if (Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NEWORDER_ACTIVE, $storeId) && Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NEWORDER_TRIGGER, $storeId) == 1) {
|
241 |
+
$tags = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NEWORDER_MANDRILL_TAG, $storeId) . "_$storeId";
|
242 |
+
$mailSubject = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NEWORDER_SUBJECT, $storeId);
|
243 |
+
$senderId = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::GENERAL_SENDER, $storeId);
|
244 |
+
$sender = array('name' => Mage::getStoreConfig("trans_email/ident_$senderId/name", $storeId), 'email' => Mage::getStoreConfig("trans_email/ident_$senderId/email", $storeId));
|
245 |
+
$templateId = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::NEWORDER_TEMPLATE, $storeId);
|
246 |
|
247 |
+
//Send email
|
248 |
+
$translate = Mage::getSingleton('core/translate');
|
249 |
+
$email = $order->getCustomerEmail();
|
250 |
+
if (Mage::helper('ebizmarts_autoresponder')->isSubscribed($email, 'neworder', $storeId)) {
|
251 |
+
$name = $order->getCustomerFirstname() . ' ' . $order->getCustomerLastname();
|
252 |
+
$url = Mage::getModel('core/url')->setStore($storeId)->getUrl() . 'ebizautoresponder/autoresponder/unsubscribe?list=neworder&email=' . $email . '&store=' . $storeId;
|
253 |
+
$vars = array('tags' => array($tags), 'url' => $url);
|
254 |
+
$mail = Mage::getModel('core/email_template')->setTemplateSubject($mailSubject)->sendTransactional($templateId, $sender, $email, $name, $vars, $storeId);
|
255 |
+
$translate->setTranslateInLine(true);
|
256 |
+
Mage::helper('ebizmarts_abandonedcart')->saveMail('new order', $email, $name, "", $storeId);
|
257 |
+
}
|
258 |
}
|
259 |
}
|
260 |
}
|
app/code/community/Ebizmarts/Autoresponder/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_Autoresponder>
|
13 |
-
<version>1.1.
|
14 |
</Ebizmarts_Autoresponder>
|
15 |
</modules>
|
16 |
<global>
|
@@ -159,6 +159,14 @@
|
|
159 |
</mandrill_save_config>
|
160 |
</observers>
|
161 |
</admin_system_config_changed_section_mandrill>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
</events>
|
163 |
<translate>
|
164 |
<modules>
|
@@ -204,14 +212,6 @@
|
|
204 |
</ebizmarts_autoresponder_review_product_post_after>
|
205 |
</observers>
|
206 |
</review_product_post_after>
|
207 |
-
<sales_order_save_after>
|
208 |
-
<observers>
|
209 |
-
<ebizmarts_autoresponder_order_save_after>
|
210 |
-
<class>ebizmarts_autoresponder/eventObserver</class>
|
211 |
-
<method>orderSaved</method>
|
212 |
-
</ebizmarts_autoresponder_order_save_after>
|
213 |
-
</observers>
|
214 |
-
</sales_order_save_after>
|
215 |
</events>
|
216 |
<translate>
|
217 |
<modules>
|
@@ -236,7 +236,7 @@
|
|
236 |
</ebizmarts_autoresponder>
|
237 |
<ebizmarts_autoresponder_backtostock_cleanup>
|
238 |
<schedule>
|
239 |
-
<cron_expr>0
|
240 |
</schedule>
|
241 |
<run>
|
242 |
<model>ebizmarts_autoresponder/cron::cleanupBackToStock</model>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_Autoresponder>
|
13 |
+
<version>1.1.13</version>
|
14 |
</Ebizmarts_Autoresponder>
|
15 |
</modules>
|
16 |
<global>
|
159 |
</mandrill_save_config>
|
160 |
</observers>
|
161 |
</admin_system_config_changed_section_mandrill>
|
162 |
+
<sales_order_save_after>
|
163 |
+
<observers>
|
164 |
+
<ebizmarts_autoresponder_order_save_after>
|
165 |
+
<class>ebizmarts_autoresponder/eventObserver</class>
|
166 |
+
<method>orderSaved</method>
|
167 |
+
</ebizmarts_autoresponder_order_save_after>
|
168 |
+
</observers>
|
169 |
+
</sales_order_save_after>
|
170 |
</events>
|
171 |
<translate>
|
172 |
<modules>
|
212 |
</ebizmarts_autoresponder_review_product_post_after>
|
213 |
</observers>
|
214 |
</review_product_post_after>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
</events>
|
216 |
<translate>
|
217 |
<modules>
|
236 |
</ebizmarts_autoresponder>
|
237 |
<ebizmarts_autoresponder_backtostock_cleanup>
|
238 |
<schedule>
|
239 |
+
<cron_expr>0 1 * * *</cron_expr>
|
240 |
</schedule>
|
241 |
<run>
|
242 |
<model>ebizmarts_autoresponder/cron::cleanupBackToStock</model>
|
app/code/community/Ebizmarts/Autoresponder/etc/system.xml
CHANGED
@@ -991,11 +991,141 @@
|
|
991 |
<active>1</active>
|
992 |
</depends>
|
993 |
</customer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
994 |
<cron-time translate="label">
|
995 |
<label>Hour to send emails</label>
|
996 |
<frontend_type>select</frontend_type>
|
997 |
<source_model>ebizmarts_autoresponder/system_config_hours</source_model>
|
998 |
-
<sort_order>
|
999 |
<show_in_default>1</show_in_default>
|
1000 |
<show_in_website>1</show_in_website>
|
1001 |
<show_in_store>1</show_in_store>
|
991 |
<active>1</active>
|
992 |
</depends>
|
993 |
</customer>
|
994 |
+
<coupon translate="label">
|
995 |
+
<label>Create Coupon?</label>
|
996 |
+
<frontend_type>select</frontend_type>
|
997 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
998 |
+
<sort_order>55</sort_order>
|
999 |
+
<show_in_default>1</show_in_default>
|
1000 |
+
<show_in_website>1</show_in_website>
|
1001 |
+
<show_in_store>1</show_in_store>
|
1002 |
+
<depends>
|
1003 |
+
<active>1</active>
|
1004 |
+
</depends>
|
1005 |
+
</coupon>
|
1006 |
+
<customer_coupon translate="label comment">
|
1007 |
+
<label>Customer Groups for coupon</label>
|
1008 |
+
<frontend_type>multiselect</frontend_type>
|
1009 |
+
<source_model>ebizmarts_autoresponder/system_config_customergroup</source_model>
|
1010 |
+
<sort_order>60</sort_order>
|
1011 |
+
<show_in_default>1</show_in_default>
|
1012 |
+
<show_in_website>1</show_in_website>
|
1013 |
+
<show_in_store>1</show_in_store>
|
1014 |
+
<can_be_empty>0</can_be_empty>
|
1015 |
+
<comment><![CDATA[]]></comment>
|
1016 |
+
<depends>
|
1017 |
+
<active>1</active>
|
1018 |
+
<coupon>1</coupon>
|
1019 |
+
</depends>
|
1020 |
+
</customer_coupon>
|
1021 |
+
<automatic translate="label">
|
1022 |
+
<label>Option</label>
|
1023 |
+
<frontend_type>select</frontend_type>
|
1024 |
+
<source_model>ebizmarts_autoresponder/system_config_automatic</source_model>
|
1025 |
+
<sort_order>65</sort_order>
|
1026 |
+
<show_in_default>1</show_in_default>
|
1027 |
+
<show_in_website>1</show_in_website>
|
1028 |
+
<show_in_store>1</show_in_store>
|
1029 |
+
<depends>
|
1030 |
+
<active>1</active>
|
1031 |
+
<coupon>1</coupon>
|
1032 |
+
</depends>
|
1033 |
+
</automatic>
|
1034 |
+
<coupon_code>
|
1035 |
+
<label>Coupon Code</label>
|
1036 |
+
<frontend_type>text</frontend_type>
|
1037 |
+
<sort_order>70</sort_order>
|
1038 |
+
<show_in_default>1</show_in_default>
|
1039 |
+
<show_in_website>1</show_in_website>
|
1040 |
+
<show_in_store>1</show_in_store>
|
1041 |
+
<can_be_empty>0</can_be_empty>
|
1042 |
+
<comment><![CDATA[The code of an existing coupon]]></comment>
|
1043 |
+
<depends>
|
1044 |
+
<active>1</active>
|
1045 |
+
<coupon>1</coupon>
|
1046 |
+
<automatic>1</automatic>
|
1047 |
+
</depends>
|
1048 |
+
</coupon_code>
|
1049 |
+
<expire>
|
1050 |
+
<label>Expire on</label>
|
1051 |
+
<frontend_type>text</frontend_type>
|
1052 |
+
<sort_order>75</sort_order>
|
1053 |
+
<show_in_default>1</show_in_default>
|
1054 |
+
<show_in_website>1</show_in_website>
|
1055 |
+
<show_in_store>1</show_in_store>
|
1056 |
+
<can_be_empty>0</can_be_empty>
|
1057 |
+
<comment><![CDATA[The coupon expiration in days]]></comment>
|
1058 |
+
<depends>
|
1059 |
+
<active>1</active>
|
1060 |
+
<coupon>1</coupon>
|
1061 |
+
<automatic>2</automatic>
|
1062 |
+
</depends>
|
1063 |
+
</expire>
|
1064 |
+
<length>
|
1065 |
+
<label>Coupon length</label>
|
1066 |
+
<frontend_type>text</frontend_type>
|
1067 |
+
<sort_order>80</sort_order>
|
1068 |
+
<show_in_default>1</show_in_default>
|
1069 |
+
<show_in_website>1</show_in_website>
|
1070 |
+
<show_in_store>1</show_in_store>
|
1071 |
+
<can_be_empty>0</can_be_empty>
|
1072 |
+
<depends>
|
1073 |
+
<active>1</active>
|
1074 |
+
<coupon>1</coupon>
|
1075 |
+
<automatic>2</automatic>
|
1076 |
+
</depends>
|
1077 |
+
</length>
|
1078 |
+
<discounttype>
|
1079 |
+
<label>Discount type</label>
|
1080 |
+
<frontend_type>select</frontend_type>
|
1081 |
+
<source_model>ebizmarts_autoresponder/system_config_discounttype</source_model>
|
1082 |
+
<sort_order>85</sort_order>
|
1083 |
+
<show_in_default>1</show_in_default>
|
1084 |
+
<show_in_website>1</show_in_website>
|
1085 |
+
<show_in_store>1</show_in_store>
|
1086 |
+
<can_be_empty>0</can_be_empty>
|
1087 |
+
<comment><![CDATA[Select percentage or fixed discount]]></comment>
|
1088 |
+
<depends>
|
1089 |
+
<active>1</active>
|
1090 |
+
<coupon>1</coupon>
|
1091 |
+
<automatic>2</automatic>
|
1092 |
+
</depends>
|
1093 |
+
</discounttype>
|
1094 |
+
<discount>
|
1095 |
+
<label>Discount amount</label>
|
1096 |
+
<frontend_type>text</frontend_type>
|
1097 |
+
<sort_order>90</sort_order>
|
1098 |
+
<show_in_default>1</show_in_default>
|
1099 |
+
<show_in_website>1</show_in_website>
|
1100 |
+
<show_in_store>1</show_in_store>
|
1101 |
+
<can_be_empty>0</can_be_empty>
|
1102 |
+
<comment><![CDATA[Amount]]></comment>
|
1103 |
+
<depends>
|
1104 |
+
<active>1</active>
|
1105 |
+
<coupon>1</coupon>
|
1106 |
+
<automatic>2</automatic>
|
1107 |
+
</depends>
|
1108 |
+
</discount>
|
1109 |
+
<couponlabel>
|
1110 |
+
<label>Label for coupon</label>
|
1111 |
+
<frontend_type>text</frontend_type>
|
1112 |
+
<sort_order>95</sort_order>
|
1113 |
+
<show_in_default>1</show_in_default>
|
1114 |
+
<show_in_website>1</show_in_website>
|
1115 |
+
<show_in_store>1</show_in_store>
|
1116 |
+
<can_be_empty>0</can_be_empty>
|
1117 |
+
<comment><![CDATA[]]></comment>
|
1118 |
+
<depends>
|
1119 |
+
<active>1</active>
|
1120 |
+
<coupon>1</coupon>
|
1121 |
+
<automatic>2</automatic>
|
1122 |
+
</depends>
|
1123 |
+
</couponlabel>
|
1124 |
<cron-time translate="label">
|
1125 |
<label>Hour to send emails</label>
|
1126 |
<frontend_type>select</frontend_type>
|
1127 |
<source_model>ebizmarts_autoresponder/system_config_hours</source_model>
|
1128 |
+
<sort_order>100</sort_order>
|
1129 |
<show_in_default>1</show_in_default>
|
1130 |
<show_in_website>1</show_in_website>
|
1131 |
<show_in_store>1</show_in_store>
|
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Newsletter/Subscriber/Renderer/Firstname.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Created by PhpStorm.
|
4 |
+
* User: santisp
|
5 |
+
* Date: 22/05/15
|
6 |
+
* Time: 05:23 PM
|
7 |
+
*/
|
8 |
+
class Ebizmarts_MageMonkey_Block_Adminhtml_Newsletter_Subscriber_Renderer_Firstname extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract{
|
9 |
+
|
10 |
+
public function render(Varien_Object $row)
|
11 |
+
{
|
12 |
+
$subscriberFirstName = $row->getData('subscriber_firstname');
|
13 |
+
$customerFirstName = $row->getData('customer_firstname');
|
14 |
+
if($subscriberFirstName){
|
15 |
+
return $subscriberFirstName;
|
16 |
+
}elseif($customerFirstName){
|
17 |
+
return $customerFirstName;
|
18 |
+
}else{
|
19 |
+
return '----';
|
20 |
+
}
|
21 |
+
}
|
22 |
+
}
|
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Newsletter/Subscriber/Renderer/Lastname.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Created by PhpStorm.
|
4 |
+
* User: santisp
|
5 |
+
* Date: 22/05/15
|
6 |
+
* Time: 05:23 PM
|
7 |
+
*/
|
8 |
+
class Ebizmarts_MageMonkey_Block_Adminhtml_Newsletter_Subscriber_Renderer_Lastname extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract{
|
9 |
+
|
10 |
+
public function render(Varien_Object $row)
|
11 |
+
{
|
12 |
+
$subscriberLastName = $row->getData('subscriber_lastname');
|
13 |
+
$customerLastName = $row->getData('customer_lastname');
|
14 |
+
if($subscriberLastName){
|
15 |
+
return $subscriberLastName;
|
16 |
+
}elseif($customerLastName){
|
17 |
+
return $customerLastName;
|
18 |
+
}else{
|
19 |
+
return '----';
|
20 |
+
}
|
21 |
+
}
|
22 |
+
}
|
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/ResetLocalEcommerce.php
CHANGED
@@ -28,7 +28,7 @@ class Ebizmarts_MageMonkey_Block_Adminhtml_System_Config_ResetLocalEcommerce ext
|
|
28 |
public function getAjaxCheckUrl()
|
29 |
{
|
30 |
$store = $this->getRequest()->getParam('store');
|
31 |
-
return Mage::helper('adminhtml')->getUrl('
|
32 |
}
|
33 |
|
34 |
/**
|
28 |
public function getAjaxCheckUrl()
|
29 |
{
|
30 |
$store = $this->getRequest()->getParam('store');
|
31 |
+
return Mage::helper('adminhtml')->getUrl('adminhtml/ecommerce/resetLocalEcommerce/store/' . $store);
|
32 |
}
|
33 |
|
34 |
/**
|
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/ResetRemoteEcommerce.php
CHANGED
@@ -28,7 +28,7 @@ class Ebizmarts_MageMonkey_Block_Adminhtml_System_Config_ResetRemoteEcommerce ex
|
|
28 |
public function getAjaxCheckUrl()
|
29 |
{
|
30 |
$store = $this->getRequest()->getParam('store');
|
31 |
-
return Mage::helper('adminhtml')->getUrl('
|
32 |
}
|
33 |
|
34 |
/**
|
28 |
public function getAjaxCheckUrl()
|
29 |
{
|
30 |
$store = $this->getRequest()->getParam('store');
|
31 |
+
return Mage::helper('adminhtml')->getUrl('adminhtml/ecommerce/resetRemoteEcommerce/store/' . $store);
|
32 |
}
|
33 |
|
34 |
/**
|
app/code/community/Ebizmarts/MageMonkey/Block/Lists.php
CHANGED
@@ -255,7 +255,7 @@ class Ebizmarts_MageMonkey_Block_Lists extends Mage_Core_Block_Template
|
|
255 |
}
|
256 |
}
|
257 |
if (isset($groupings)) {
|
258 |
-
$this->_setGrouping($groupings,$fieldType,$myGroups);
|
259 |
}
|
260 |
}
|
261 |
}
|
@@ -466,6 +466,7 @@ class Ebizmarts_MageMonkey_Block_Lists extends Mage_Core_Block_Template
|
|
466 |
|
467 |
}
|
468 |
}
|
|
|
469 |
}
|
470 |
/**
|
471 |
* Return element id for group to be added to the post on checkout
|
255 |
}
|
256 |
}
|
257 |
if (isset($groupings)) {
|
258 |
+
array_merge($this->_setGrouping($groupings,$fieldType,$myGroups), $myGroups);
|
259 |
}
|
260 |
}
|
261 |
}
|
466 |
|
467 |
}
|
468 |
}
|
469 |
+
return $myGroups;
|
470 |
}
|
471 |
/**
|
472 |
* Return element id for group to be added to the post on checkout
|
app/code/community/Ebizmarts/MageMonkey/Helper/Data.php
CHANGED
@@ -412,18 +412,26 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
412 |
->toArray());
|
413 |
}
|
414 |
|
415 |
-
$this->_setMaps($maps,$customer,$merge_vars, $websiteId);
|
416 |
|
417 |
//GUEST
|
418 |
if (!$customer->getId() && !$request->getPost('firstname')) {
|
419 |
-
|
|
|
|
|
|
|
|
|
420 |
|
421 |
if ($guestFirstName) {
|
422 |
$merge_vars['FNAME'] = $guestFirstName;
|
423 |
}
|
424 |
}
|
425 |
if (!$customer->getId() && !$request->getPost('lastname')) {
|
426 |
-
|
|
|
|
|
|
|
|
|
427 |
|
428 |
if ($guestLastName) {
|
429 |
$merge_vars['LNAME'] = $guestLastName;
|
@@ -501,19 +509,16 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
501 |
break;
|
502 |
case 'billing_address':
|
503 |
case 'shipping_address':
|
504 |
-
$this->_setAddress($customAtt,$merge_vars, $customer, $key);
|
505 |
-
|
506 |
break;
|
507 |
case 'date_of_purchase':
|
508 |
|
509 |
-
$last_order = Mage::
|
510 |
-
->
|
511 |
-
->addFieldToFilter('
|
512 |
-
->setOrder('created_at', 'desc')
|
513 |
-
->setPageSize(1)
|
514 |
->getFirstItem();
|
515 |
if ($last_order->getId()) {
|
516 |
-
$merge_vars[$key] =
|
517 |
}
|
518 |
|
519 |
break;
|
@@ -562,6 +567,7 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
562 |
|
563 |
}
|
564 |
}
|
|
|
565 |
}
|
566 |
protected function _setAddress($customAtt,$merge_vars, $customer, $key)
|
567 |
{
|
@@ -594,6 +600,7 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
594 |
$merge_vars['COUNTRY'] = $country;
|
595 |
}
|
596 |
}
|
|
|
597 |
}
|
598 |
/**
|
599 |
* Get Mergevars
|
@@ -623,7 +630,6 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
623 |
} else {
|
624 |
$customer = $object;
|
625 |
}
|
626 |
-
|
627 |
}
|
628 |
|
629 |
if (is_object($object)) {
|
@@ -880,7 +886,6 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
880 |
{
|
881 |
$monkeyPost = Mage::getSingleton('core/session')->getMonkeyPost();
|
882 |
$post = unserialize($monkeyPost);
|
883 |
-
$defaultList = Mage::helper('monkey')->config('list');
|
884 |
if (isset($post['magemonkey_force'])) {
|
885 |
foreach ($post['list'] as $list) {
|
886 |
$listId = $list['subscribed'];
|
@@ -893,10 +898,10 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
893 |
}
|
894 |
//Subscription for One Step Checkout with force subscription
|
895 |
} elseif (Mage::getSingleton('core/session')->getIsOneStepCheckout() && Mage::helper('monkey')->config('checkout_subscribe') > 2 && !Mage::getSingleton('core/session')->getIsUpdateCustomer()) {
|
896 |
-
$this->subscribeToList($object, $db
|
897 |
} elseif(!$post){
|
898 |
//subscribe customer from admin
|
899 |
-
$this->subscribeToList($object, $db,
|
900 |
}
|
901 |
|
902 |
}
|
@@ -910,14 +915,10 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
910 |
*/
|
911 |
public function subscribeToList($object, $db, $listId = NULL, $forceSubscribe = FALSE)
|
912 |
{
|
913 |
-
if (!$listId) {
|
914 |
-
$listId = Mage::helper('monkey')->config('list');
|
915 |
-
}
|
916 |
$email = $object->getEmail();
|
917 |
-
|
918 |
if ($object instanceof Mage_Customer_Model_Customer) {
|
919 |
$subscriber = Mage::getModel('newsletter/subscriber')
|
920 |
-
->setImportMode(TRUE)
|
921 |
->setSubscriberEmail($email);
|
922 |
} else {
|
923 |
// $customer = Mage::getSingleton('customer/customer')->load($email);
|
@@ -927,7 +928,10 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
|
|
927 |
$subscriber = $object;
|
928 |
}
|
929 |
|
930 |
-
$defaultList = Mage::
|
|
|
|
|
|
|
931 |
if ($listId == $defaultList && !Mage::getSingleton('core/session')->getIsHandleSubscriber() && !$forceSubscribe/*from admin*/) {
|
932 |
$subscriber->subscribe($email);
|
933 |
} else {
|
412 |
->toArray());
|
413 |
}
|
414 |
|
415 |
+
$merge_vars = $this->_setMaps($maps,$customer,$merge_vars, $websiteId);
|
416 |
|
417 |
//GUEST
|
418 |
if (!$customer->getId() && !$request->getPost('firstname')) {
|
419 |
+
if($customer->getSubscriberFirstname()) {
|
420 |
+
$guestFirstName = $customer->getSubscriberFirstname();
|
421 |
+
}else{
|
422 |
+
$guestFirstName = $this->config('guest_name', $customer->getStoreId());
|
423 |
+
}
|
424 |
|
425 |
if ($guestFirstName) {
|
426 |
$merge_vars['FNAME'] = $guestFirstName;
|
427 |
}
|
428 |
}
|
429 |
if (!$customer->getId() && !$request->getPost('lastname')) {
|
430 |
+
if($customer->getSubscriberLastname()){
|
431 |
+
$guestLastName = $customer->getSubscriberLastname();
|
432 |
+
}else {
|
433 |
+
$guestLastName = $this->config('guest_lastname', $customer->getStoreId());
|
434 |
+
}
|
435 |
|
436 |
if ($guestLastName) {
|
437 |
$merge_vars['LNAME'] = $guestLastName;
|
509 |
break;
|
510 |
case 'billing_address':
|
511 |
case 'shipping_address':
|
512 |
+
$merge_vars = array_merge($merge_vars, $this->_setAddress($customAtt,$merge_vars, $customer, $key));
|
|
|
513 |
break;
|
514 |
case 'date_of_purchase':
|
515 |
|
516 |
+
$last_order = Mage::getModel('monkey/lastorder')
|
517 |
+
->getCollection()
|
518 |
+
->addFieldToFilter('email', array('eq' => $customer->getEmail()))
|
|
|
|
|
519 |
->getFirstItem();
|
520 |
if ($last_order->getId()) {
|
521 |
+
$merge_vars[$key] = $last_order->getDate();
|
522 |
}
|
523 |
|
524 |
break;
|
567 |
|
568 |
}
|
569 |
}
|
570 |
+
return $merge_vars;
|
571 |
}
|
572 |
protected function _setAddress($customAtt,$merge_vars, $customer, $key)
|
573 |
{
|
600 |
$merge_vars['COUNTRY'] = $country;
|
601 |
}
|
602 |
}
|
603 |
+
return $merge_vars;
|
604 |
}
|
605 |
/**
|
606 |
* Get Mergevars
|
630 |
} else {
|
631 |
$customer = $object;
|
632 |
}
|
|
|
633 |
}
|
634 |
|
635 |
if (is_object($object)) {
|
886 |
{
|
887 |
$monkeyPost = Mage::getSingleton('core/session')->getMonkeyPost();
|
888 |
$post = unserialize($monkeyPost);
|
|
|
889 |
if (isset($post['magemonkey_force'])) {
|
890 |
foreach ($post['list'] as $list) {
|
891 |
$listId = $list['subscribed'];
|
898 |
}
|
899 |
//Subscription for One Step Checkout with force subscription
|
900 |
} elseif (Mage::getSingleton('core/session')->getIsOneStepCheckout() && Mage::helper('monkey')->config('checkout_subscribe') > 2 && !Mage::getSingleton('core/session')->getIsUpdateCustomer()) {
|
901 |
+
$this->subscribeToList($object, $db);
|
902 |
} elseif(!$post){
|
903 |
//subscribe customer from admin
|
904 |
+
$this->subscribeToList($object, $db, TRUE);
|
905 |
}
|
906 |
|
907 |
}
|
915 |
*/
|
916 |
public function subscribeToList($object, $db, $listId = NULL, $forceSubscribe = FALSE)
|
917 |
{
|
|
|
|
|
|
|
918 |
$email = $object->getEmail();
|
919 |
+
$storeId = $object->getStoreId();
|
920 |
if ($object instanceof Mage_Customer_Model_Customer) {
|
921 |
$subscriber = Mage::getModel('newsletter/subscriber')
|
|
|
922 |
->setSubscriberEmail($email);
|
923 |
} else {
|
924 |
// $customer = Mage::getSingleton('customer/customer')->load($email);
|
928 |
$subscriber = $object;
|
929 |
}
|
930 |
|
931 |
+
$defaultList = Mage::getStoreConfig(Ebizmarts_MageMonkey_Model_Config::GENERAL_LIST, $storeId);
|
932 |
+
if(!$listId){
|
933 |
+
$listId = $defaultList;
|
934 |
+
}
|
935 |
if ($listId == $defaultList && !Mage::getSingleton('core/session')->getIsHandleSubscriber() && !$forceSubscribe/*from admin*/) {
|
936 |
$subscriber->subscribe($email);
|
937 |
} else {
|
app/code/community/Ebizmarts/MageMonkey/Model/Ecommerce360.php
CHANGED
@@ -93,6 +93,18 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
|
|
93 |
{
|
94 |
$storeId = Mage::app()->getStore()->getId();
|
95 |
$order = $observer->getEvent()->getOrder();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
if ((($this->_getCampaignCookie() &&
|
97 |
$this->_getEmailCookie()) || Mage::getStoreConfig(Ebizmarts_MageMonkey_Model_Config::ECOMMERCE360_ACTIVE, $storeId) == 2) &&
|
98 |
$this->isActive()
|
@@ -122,7 +134,6 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
|
|
122 |
if ($discount != 0) {
|
123 |
$subtotal = $subtotal + ($discount);
|
124 |
}
|
125 |
-
$createdAtArr = str_split($this->_order->getCreatedAt(), 10);
|
126 |
$this->_info = array(
|
127 |
'id' => $this->_order->getIncrementId(),
|
128 |
'total' => $subtotal,
|
@@ -130,11 +141,14 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
|
|
130 |
'tax' => $this->_order->getBaseTaxAmount(),
|
131 |
'store_id' => $this->_order->getStoreId(),
|
132 |
'store_name' => $this->_order->getStoreName(),
|
133 |
-
'order_date' => $
|
134 |
'plugin_id' => 1215,
|
135 |
'items' => array()
|
136 |
);
|
137 |
|
|
|
|
|
|
|
138 |
$emailCookie = $this->_getEmailCookie();
|
139 |
$campaignCookie = $this->_getCampaignCookie();
|
140 |
|
@@ -361,7 +375,6 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
|
|
361 |
if ($discount != 0) {
|
362 |
$subtotal = $subtotal + ($discount);
|
363 |
}
|
364 |
-
$createdAtArr = str_split($this->_order->getCreatedAt(), 10);
|
365 |
|
366 |
$this->_info = array(
|
367 |
'id' => $this->_order->getIncrementId(),
|
@@ -370,7 +383,7 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
|
|
370 |
'tax' => $this->_order->getBaseTaxAmount(),
|
371 |
'store_id' => $this->_order->getStoreId(),
|
372 |
'store_name' => $this->_order->getStoreName(),
|
373 |
-
'order_date' => $
|
374 |
'plugin_id' => 1215,
|
375 |
'items' => array()
|
376 |
);
|
@@ -387,7 +400,7 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
|
|
387 |
$sync = Mage::getModel('monkey/asyncorders');
|
388 |
$this->_info['order_id'] = $this->_order->getId();
|
389 |
$sync->setInfo(serialize($this->_info))
|
390 |
-
->setCreatedAt($
|
391 |
->setProcessed(0)
|
392 |
->save();
|
393 |
$rs['complete'] = true;
|
@@ -414,7 +427,7 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
|
|
414 |
->setOrderIncrementId($this->_info['id'])
|
415 |
->setOrderId($this->_info['order_id'])
|
416 |
->setMcEmailId($this->_info ['email'])
|
417 |
-
->setCreatedAt($
|
418 |
->setStoreId($this->_info['store_id']);
|
419 |
if (isset($this->_info['campaign_id']) && $this->_info['campaign_id']) {
|
420 |
$order->setMcCampaignId($this->_info['campaign_id']);
|
93 |
{
|
94 |
$storeId = Mage::app()->getStore()->getId();
|
95 |
$order = $observer->getEvent()->getOrder();
|
96 |
+
$customerEmail = $order->getCustomerEmail();
|
97 |
+
$collection = Mage::getModel('monkey/lastorder')->getCollection()
|
98 |
+
->addFieldToFilter('email', array('eq' => $customerEmail));
|
99 |
+
if(count($collection) > 0){
|
100 |
+
//When saving the new date is automatically placed.
|
101 |
+
$item = $collection->getFirstItem();
|
102 |
+
$item->save();
|
103 |
+
}else{
|
104 |
+
Mage::getModel('monkey/lastorder')
|
105 |
+
->setEmail($customerEmail)
|
106 |
+
->save();
|
107 |
+
}
|
108 |
if ((($this->_getCampaignCookie() &&
|
109 |
$this->_getEmailCookie()) || Mage::getStoreConfig(Ebizmarts_MageMonkey_Model_Config::ECOMMERCE360_ACTIVE, $storeId) == 2) &&
|
110 |
$this->isActive()
|
134 |
if ($discount != 0) {
|
135 |
$subtotal = $subtotal + ($discount);
|
136 |
}
|
|
|
137 |
$this->_info = array(
|
138 |
'id' => $this->_order->getIncrementId(),
|
139 |
'total' => $subtotal,
|
141 |
'tax' => $this->_order->getBaseTaxAmount(),
|
142 |
'store_id' => $this->_order->getStoreId(),
|
143 |
'store_name' => $this->_order->getStoreName(),
|
144 |
+
'order_date' => $this->_order->getCreatedAt(),
|
145 |
'plugin_id' => 1215,
|
146 |
'items' => array()
|
147 |
);
|
148 |
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
$emailCookie = $this->_getEmailCookie();
|
153 |
$campaignCookie = $this->_getCampaignCookie();
|
154 |
|
375 |
if ($discount != 0) {
|
376 |
$subtotal = $subtotal + ($discount);
|
377 |
}
|
|
|
378 |
|
379 |
$this->_info = array(
|
380 |
'id' => $this->_order->getIncrementId(),
|
383 |
'tax' => $this->_order->getBaseTaxAmount(),
|
384 |
'store_id' => $this->_order->getStoreId(),
|
385 |
'store_name' => $this->_order->getStoreName(),
|
386 |
+
'order_date' => $this->_order->getCreatedAt(),
|
387 |
'plugin_id' => 1215,
|
388 |
'items' => array()
|
389 |
);
|
400 |
$sync = Mage::getModel('monkey/asyncorders');
|
401 |
$this->_info['order_id'] = $this->_order->getId();
|
402 |
$sync->setInfo(serialize($this->_info))
|
403 |
+
->setCreatedAt($this->_order->getCreatedAt())//Mage::getModel('core/date')->gmtDate())
|
404 |
->setProcessed(0)
|
405 |
->save();
|
406 |
$rs['complete'] = true;
|
427 |
->setOrderIncrementId($this->_info['id'])
|
428 |
->setOrderId($this->_info['order_id'])
|
429 |
->setMcEmailId($this->_info ['email'])
|
430 |
+
->setCreatedAt($this->_order->getCreatedAt())
|
431 |
->setStoreId($this->_info['store_id']);
|
432 |
if (isset($this->_info['campaign_id']) && $this->_info['campaign_id']) {
|
433 |
$order->setMcCampaignId($this->_info['campaign_id']);
|
app/code/community/Ebizmarts/MageMonkey/Model/Feed/Updates.php
CHANGED
@@ -111,13 +111,15 @@ class Ebizmarts_MageMonkey_Model_Feed_Updates
|
|
111 |
|
112 |
foreach ($node->xpath('items/item') as $item) {
|
113 |
|
114 |
-
$
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
|
|
|
|
121 |
}
|
122 |
|
123 |
if (count($feedData)) {
|
111 |
|
112 |
foreach ($node->xpath('items/item') as $item) {
|
113 |
|
114 |
+
if(!isset($item->date_end) || (time() - strtotime($item->date_end)) < 0) {
|
115 |
+
$feedData[] = array(
|
116 |
+
'severity' => (string)$item->severity,
|
117 |
+
'date_added' => (string)$item->created_at,
|
118 |
+
'title' => (string)$item->title,
|
119 |
+
'description' => (string)$item->description,
|
120 |
+
'url' => (string)$item->url,
|
121 |
+
);
|
122 |
+
}
|
123 |
}
|
124 |
|
125 |
if (count($feedData)) {
|
app/code/community/Ebizmarts/MageMonkey/Model/Lastorder.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Author : Ebizmarts <info@ebizmarts.com>
|
5 |
+
* Date : 9/15/14
|
6 |
+
* Time : 12:46 PM
|
7 |
+
* File : Lastorder.php
|
8 |
+
* Module : Ebizmarts_MageMonkey
|
9 |
+
*/
|
10 |
+
class Ebizmarts_MageMonkey_Model_Lastorder extends Mage_Core_Model_Abstract
|
11 |
+
{
|
12 |
+
/**
|
13 |
+
* Initialize model
|
14 |
+
*
|
15 |
+
* @return void
|
16 |
+
*/
|
17 |
+
public function _construct()
|
18 |
+
{
|
19 |
+
parent::_construct();
|
20 |
+
$this->_init('monkey/lastorder');
|
21 |
+
}
|
22 |
+
}
|
app/code/community/Ebizmarts/MageMonkey/Model/Monkey.php
CHANGED
@@ -172,8 +172,14 @@ class Ebizmarts_MageMonkey_Model_Monkey
|
|
172 |
$subscriber->setStatus(Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED)
|
173 |
->save();
|
174 |
} else {
|
175 |
-
Mage::getModel('newsletter/subscriber')->setImportMode(TRUE)
|
176 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
}
|
178 |
} catch (Exception $e) {
|
179 |
Mage::logException($e);
|
172 |
$subscriber->setStatus(Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED)
|
173 |
->save();
|
174 |
} else {
|
175 |
+
$subscriber = Mage::getModel('newsletter/subscriber')->setImportMode(TRUE);
|
176 |
+
if(isset($data['data']['fname'])){
|
177 |
+
$subscriber->setSubscriberFirstname($data['data']['fname']);
|
178 |
+
}
|
179 |
+
if(isset($data['data']['lname'])){
|
180 |
+
$subscriber->setSubscriberLastname($data['data']['lname']);
|
181 |
+
}
|
182 |
+
$subscriber->subscribe($data['data']['email']);
|
183 |
}
|
184 |
} catch (Exception $e) {
|
185 |
Mage::logException($e);
|
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Lastorder.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Author : Ebizmarts <info@ebizmarts.com>
|
5 |
+
* Date : 9/12/14
|
6 |
+
* Time : 1:14 AM
|
7 |
+
* File : Asyncsubscribers.php
|
8 |
+
* Module : Ebizmarts_MageMonkey
|
9 |
+
*/
|
10 |
+
class Ebizmarts_MageMonkey_Model_Mysql4_Lastorder extends Mage_Core_Model_Mysql4_Abstract
|
11 |
+
{
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Initialize
|
15 |
+
*
|
16 |
+
* @return void
|
17 |
+
*/
|
18 |
+
public function _construct()
|
19 |
+
{
|
20 |
+
$this->_init('monkey/lastorder', 'id');
|
21 |
+
}
|
22 |
+
}
|
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Lastorder/Collection.php
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Author : Ebizmarts <info@ebizmarts.com>
|
5 |
+
* Date : 9/12/14
|
6 |
+
* Time : 1:19 AM
|
7 |
+
* File : Collection.php
|
8 |
+
* Module : Ebizmarts_MageMonkey
|
9 |
+
*/
|
10 |
+
class Ebizmarts_MageMonkey_Model_Mysql4_Lastorder_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
|
11 |
+
{
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Set resource type
|
15 |
+
*
|
16 |
+
* @return void
|
17 |
+
*/
|
18 |
+
public function _construct()
|
19 |
+
{
|
20 |
+
parent::_construct();
|
21 |
+
$this->_init('monkey/lastorder');
|
22 |
+
}
|
23 |
+
}
|
app/code/community/Ebizmarts/MageMonkey/Model/Observer.php
CHANGED
@@ -54,7 +54,7 @@ class Ebizmarts_MageMonkey_Model_Observer
|
|
54 |
Mage::helper('monkey')->subscribeToList($subscriber, $saveOnDb);
|
55 |
} else {
|
56 |
$post = Mage::app()->getRequest()->getPost();
|
57 |
-
if (isset($post['magemonkey_subscribe']) && $post['magemonkey_subscribe'] || Mage::getSingleton('core/session')->getIsUpdateCustomer() || $subscriber->getStatus() == Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED || $subscriber->getStatus() == Mage_Newsletter_Model_Subscriber::STATUS_UNCONFIRMED) {
|
58 |
Mage::helper('monkey')->subscribeToList($subscriber, 0);
|
59 |
}
|
60 |
}
|
@@ -348,7 +348,7 @@ class Ebizmarts_MageMonkey_Model_Observer
|
|
348 |
$request = Mage::app()->getRequest();
|
349 |
$isAdmin = $request->getActionName() == 'save' && $request->getControllerName() == 'customer' && $request->getModuleName() == (string)Mage::getConfig()->getNode('admin/routers/adminhtml/args/frontName');
|
350 |
$customer = $observer->getEvent()->getCustomer();
|
351 |
-
$isCheckout = $request->getModuleName() == 'checkout';
|
352 |
// $isConfirmNeed = FALSE;
|
353 |
// if (!Mage::helper('monkey')->isAdmin() &&
|
354 |
// (Mage::getStoreConfig(Mage_Newsletter_Model_Subscriber::XML_PATH_CONFIRMATION_FLAG, $customer->getStoreId()) == 1)
|
@@ -484,7 +484,9 @@ class Ebizmarts_MageMonkey_Model_Observer
|
|
484 |
|
485 |
if (!$toSubscribe->getEmail()) {
|
486 |
$toSubscribe = Mage::getModel('newsletter/subscriber')
|
487 |
-
->
|
|
|
|
|
488 |
->setEmail($order->getCustomerEmail());
|
489 |
}
|
490 |
|
@@ -524,4 +526,28 @@ class Ebizmarts_MageMonkey_Model_Observer
|
|
524 |
return $observer;
|
525 |
}
|
526 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
}
|
54 |
Mage::helper('monkey')->subscribeToList($subscriber, $saveOnDb);
|
55 |
} else {
|
56 |
$post = Mage::app()->getRequest()->getPost();
|
57 |
+
if (isset($post['email']) || isset($post['magemonkey_subscribe']) && $post['magemonkey_subscribe'] || Mage::getSingleton('core/session')->getIsUpdateCustomer() || $subscriber->getStatus() == Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED || $subscriber->getStatus() == Mage_Newsletter_Model_Subscriber::STATUS_UNCONFIRMED || $subscriber->getStatus() == Mage_Newsletter_Model_Subscriber::STATUS_NOT_ACTIVE) {
|
58 |
Mage::helper('monkey')->subscribeToList($subscriber, 0);
|
59 |
}
|
60 |
}
|
348 |
$request = Mage::app()->getRequest();
|
349 |
$isAdmin = $request->getActionName() == 'save' && $request->getControllerName() == 'customer' && $request->getModuleName() == (string)Mage::getConfig()->getNode('admin/routers/adminhtml/args/frontName');
|
350 |
$customer = $observer->getEvent()->getCustomer();
|
351 |
+
$isCheckout = $request->getModuleName() == 'checkout' || Mage::getSingleton('core/session')->getIsOneStepCheckout();
|
352 |
// $isConfirmNeed = FALSE;
|
353 |
// if (!Mage::helper('monkey')->isAdmin() &&
|
354 |
// (Mage::getStoreConfig(Mage_Newsletter_Model_Subscriber::XML_PATH_CONFIRMATION_FLAG, $customer->getStoreId()) == 1)
|
484 |
|
485 |
if (!$toSubscribe->getEmail()) {
|
486 |
$toSubscribe = Mage::getModel('newsletter/subscriber')
|
487 |
+
->setStoreId($order->getStoreId())
|
488 |
+
->setSubscriberFirstname($order->getCustomerFirstname())
|
489 |
+
->setSubscriberLastname($order->getCustomerLastname())
|
490 |
->setEmail($order->getCustomerEmail());
|
491 |
}
|
492 |
|
526 |
return $observer;
|
527 |
}
|
528 |
|
529 |
+
public function alterNewsletterGrid(Varien_Event_Observer $observer){
|
530 |
+
|
531 |
+
$block = $observer->getEvent()->getBlock();
|
532 |
+
if (!isset($block)) {
|
533 |
+
return $this;
|
534 |
+
}
|
535 |
+
if($block instanceof Mage_Adminhtml_Block_Newsletter_Subscriber_Grid) {
|
536 |
+
|
537 |
+
$block->addColumnAfter('firstname', array(
|
538 |
+
'header' => Mage::helper('newsletter')->__('Customer First Name'),
|
539 |
+
'index' => 'customer_firstname',
|
540 |
+
'renderer' => 'monkey/adminhtml_newsletter_subscriber_renderer_firstname',
|
541 |
+
), 'type'
|
542 |
+
);
|
543 |
+
|
544 |
+
$block->addColumnAfter('lastname', array(
|
545 |
+
'header' => Mage::helper('newsletter')->__('Customer Last Name'),
|
546 |
+
'index' => 'customer_lastname',
|
547 |
+
'renderer' => 'monkey/adminhtml_newsletter_subscriber_renderer_lastname'
|
548 |
+
), 'firstname');
|
549 |
+
}
|
550 |
+
return $observer;
|
551 |
+
}
|
552 |
+
|
553 |
}
|
app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/BulksyncController.php
CHANGED
@@ -201,4 +201,31 @@ class Ebizmarts_MageMonkey_Adminhtml_BulksyncController extends Mage_Adminhtml_C
|
|
201 |
$this->_redirectReferer($this->_defredirect);
|
202 |
}
|
203 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
}
|
201 |
$this->_redirectReferer($this->_defredirect);
|
202 |
}
|
203 |
|
204 |
+
protected function _isAllowed() {
|
205 |
+
switch ($this->getRequest()->getActionName()) {
|
206 |
+
case 'export':
|
207 |
+
case 'exportgrid':
|
208 |
+
$acl = 'newsletter/magemonkey/bulksync/mage_to_mc';
|
209 |
+
break;
|
210 |
+
case 'import':
|
211 |
+
case 'importgrid':
|
212 |
+
$acl = 'newsletter/magemonkey/bulksync/mc_to_mage';
|
213 |
+
break;
|
214 |
+
case 'save':
|
215 |
+
case 'delete':
|
216 |
+
case 'reset':
|
217 |
+
case 'queue':
|
218 |
+
$acl = 'newsletter/magemonkey/bulksync/mage_to_mc';
|
219 |
+
$acl2 = 'newsletter/magemonkey/bulksync/mc_to_mage';
|
220 |
+
break;
|
221 |
+
}
|
222 |
+
$ret = false;
|
223 |
+
if(!Mage::getSingleton('admin/session')->isAllowed($acl) && $acl2){
|
224 |
+
$ret = Mage::getSingleton('admin/session')->isAllowed($acl2);
|
225 |
+
}else{
|
226 |
+
$ret = Mage::getSingleton('admin/session')->isAllowed($acl);
|
227 |
+
}
|
228 |
+
return $ret;
|
229 |
+
}
|
230 |
+
|
231 |
}
|
app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/ConfigController.php
CHANGED
@@ -53,4 +53,13 @@ class Ebizmarts_MageMonkey_Adminhtml_ConfigController extends Mage_Adminhtml_Con
|
|
53 |
return false;
|
54 |
}
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
}
|
53 |
return false;
|
54 |
}
|
55 |
|
56 |
+
protected function _isAllowed() {
|
57 |
+
switch ($this->getRequest()->getActionName()) {
|
58 |
+
case 'getGroups':
|
59 |
+
$acl = 'system/config/monkey';
|
60 |
+
break;
|
61 |
+
}
|
62 |
+
return Mage::getSingleton('admin/session')->isAllowed($acl);
|
63 |
+
}
|
64 |
+
|
65 |
}
|
app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/EcommerceController.php
CHANGED
@@ -168,4 +168,23 @@ class Ebizmarts_MageMonkey_Adminhtml_EcommerceController extends Mage_Adminhtml_
|
|
168 |
Mage::app()->getResponse()->setBody($result);
|
169 |
}
|
170 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
}
|
168 |
Mage::app()->getResponse()->setBody($result);
|
169 |
}
|
170 |
|
171 |
+
protected function _isAllowed() {
|
172 |
+
switch ($this->getRequest()->getActionName()) {
|
173 |
+
case 'index':
|
174 |
+
case 'grid':
|
175 |
+
case 'massend':
|
176 |
+
case 'massDelete':
|
177 |
+
$acl = 'newsletter/magemonkey/ecommerce/commerce';
|
178 |
+
break;
|
179 |
+
case 'apiorders':
|
180 |
+
$acl = 'newsletter/magemonkey/ecommerce/apicommerce';
|
181 |
+
break;
|
182 |
+
case 'resetLocalEcommerce':
|
183 |
+
case 'resetRemoteEcommerce':
|
184 |
+
$acl = 'system/config/monkey';
|
185 |
+
break;
|
186 |
+
}
|
187 |
+
return Mage::getSingleton('admin/session')->isAllowed($acl);
|
188 |
+
}
|
189 |
+
|
190 |
}
|
app/code/community/Ebizmarts/MageMonkey/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_MageMonkey>
|
13 |
-
<version>1.1.
|
14 |
</Ebizmarts_MageMonkey>
|
15 |
</modules>
|
16 |
<global>
|
@@ -66,6 +66,9 @@
|
|
66 |
<asyncorders>
|
67 |
<table>magemonkey_async_orders</table>
|
68 |
</asyncorders>
|
|
|
|
|
|
|
69 |
</entities>
|
70 |
</monkey_mysql4>
|
71 |
<newsletter>
|
@@ -236,6 +239,15 @@
|
|
236 |
</monkey_load_config>
|
237 |
</observers>
|
238 |
</controller_action_predispatch_adminhtml_system_config_edit>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
</events>
|
240 |
</adminhtml>
|
241 |
<default>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Ebizmarts_MageMonkey>
|
13 |
+
<version>1.1.34</version>
|
14 |
</Ebizmarts_MageMonkey>
|
15 |
</modules>
|
16 |
<global>
|
66 |
<asyncorders>
|
67 |
<table>magemonkey_async_orders</table>
|
68 |
</asyncorders>
|
69 |
+
<lastorder>
|
70 |
+
<table>magemonkey_last_order</table>
|
71 |
+
</lastorder>
|
72 |
</entities>
|
73 |
</monkey_mysql4>
|
74 |
<newsletter>
|
239 |
</monkey_load_config>
|
240 |
</observers>
|
241 |
</controller_action_predispatch_adminhtml_system_config_edit>
|
242 |
+
<adminhtml_block_html_before>
|
243 |
+
<observers>
|
244 |
+
<monkey_alter_newsletter_grid>
|
245 |
+
<type>model</type>
|
246 |
+
<class>monkey/observer</class>
|
247 |
+
<method>alterNewsletterGrid</method>
|
248 |
+
</monkey_alter_newsletter_grid>
|
249 |
+
</observers>
|
250 |
+
</adminhtml_block_html_before>
|
251 |
</events>
|
252 |
</adminhtml>
|
253 |
<default>
|
app/code/community/Ebizmarts/MageMonkey/sql/monkey_setup/mysql4-upgrade-1.1.33-1.1.34.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$installer = $this;
|
4 |
+
|
5 |
+
$installer->startSetup();
|
6 |
+
|
7 |
+
$installer->run("
|
8 |
+
CREATE TABLE IF NOT EXISTS `{$this->getTable('magemonkey_last_order')}` (
|
9 |
+
`id` INT(10) unsigned NOT NULL auto_increment,
|
10 |
+
`email` varchar(128),
|
11 |
+
`date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
12 |
+
PRIMARY KEY (`id`)
|
13 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
14 |
+
");
|
15 |
+
|
16 |
+
$installer->getConnection()->addColumn(
|
17 |
+
$installer->getTable('newsletter_subscriber'), 'subscriber_firstname', 'varchar(50)'
|
18 |
+
);
|
19 |
+
|
20 |
+
$installer->getConnection()->addColumn(
|
21 |
+
$installer->getTable('newsletter_subscriber'), 'subscriber_lastname', 'varchar(50)'
|
22 |
+
);
|
23 |
+
|
24 |
+
$installer->endSetup();
|
app/code/community/Ebizmarts/Mandrill/controllers/Adminhtml/Mandrill/UsersController.php
CHANGED
@@ -35,4 +35,13 @@ class Ebizmarts_Mandrill_Adminhtml_Mandrill_UsersController extends Mage_Adminht
|
|
35 |
$this->renderLayout();
|
36 |
}
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
}
|
35 |
$this->renderLayout();
|
36 |
}
|
37 |
|
38 |
+
protected function _isAllowed() {
|
39 |
+
switch ($this->getRequest()->getActionName()) {
|
40 |
+
case 'senders':
|
41 |
+
$acl = 'system/email_template/mandrill/users_senders';
|
42 |
+
break;
|
43 |
+
}
|
44 |
+
return Mage::getSingleton('admin/session')->isAllowed($acl);
|
45 |
+
}
|
46 |
+
|
47 |
}
|
app/code/community/Ebizmarts/Mandrill/etc/adminhtml.xml
CHANGED
@@ -33,6 +33,23 @@
|
|
33 |
<resources>
|
34 |
<admin>
|
35 |
<children>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
<system>
|
37 |
<children>
|
38 |
<config>
|
33 |
<resources>
|
34 |
<admin>
|
35 |
<children>
|
36 |
+
<system>
|
37 |
+
<children>
|
38 |
+
<email_template>
|
39 |
+
<children>
|
40 |
+
<mandrill translate="title" module="ebizmarts_mandrill">
|
41 |
+
<title>Mandrill</title>
|
42 |
+
<children>
|
43 |
+
<users_senders translate="title" module="ebizmarts_mandrill">
|
44 |
+
<title>Senders</title>
|
45 |
+
<action>adminhtml/mandrill_users/senders</action>
|
46 |
+
</users_senders>
|
47 |
+
</children>
|
48 |
+
</mandrill>
|
49 |
+
</children>
|
50 |
+
</email_template>
|
51 |
+
</children>
|
52 |
+
</system>
|
53 |
<system>
|
54 |
<children>
|
55 |
<config>
|
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.6</version>
|
6 |
</Ebizmarts_Mandrill>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/Ebizmarts/SweetMonkey/Model/Observer.php
CHANGED
@@ -87,7 +87,7 @@ class Ebizmarts_SweetMonkey_Model_Observer
|
|
87 |
|
88 |
$holder = $observer->getEvent()->getNewvars();
|
89 |
$helper = Mage::helper('sweetmonkey');
|
90 |
-
$customerHelper = Mage::helper('customer');
|
91 |
$customer = $observer->getEvent()->getCustomer();
|
92 |
if ($helper->enabled() && ($customer->getId())) {
|
93 |
|
@@ -102,6 +102,11 @@ class Ebizmarts_SweetMonkey_Model_Observer
|
|
102 |
}
|
103 |
|
104 |
$tbtCustomer = Mage::getModel('rewards/customer')->load($customer->getId());
|
|
|
|
|
|
|
|
|
|
|
105 |
//Point balance
|
106 |
if (array_key_exists('PTS', $tbtVars)) {
|
107 |
$tbtVars['PTS'] = $tbtCustomer->getPointsSummary();
|
87 |
|
88 |
$holder = $observer->getEvent()->getNewvars();
|
89 |
$helper = Mage::helper('sweetmonkey');
|
90 |
+
// $customerHelper = Mage::helper('customer');
|
91 |
$customer = $observer->getEvent()->getCustomer();
|
92 |
if ($helper->enabled() && ($customer->getId())) {
|
93 |
|
102 |
}
|
103 |
|
104 |
$tbtCustomer = Mage::getModel('rewards/customer')->load($customer->getId());
|
105 |
+
|
106 |
+
// if(array_key_exists('REFERRALURL', $tbtVars)) {
|
107 |
+
// $tbtVars['REFERRALURL'] = Mage::helper('rewardssocial/referral_share')->getReferralUrl($customer);
|
108 |
+
// }
|
109 |
+
|
110 |
//Point balance
|
111 |
if (array_key_exists('PTS', $tbtVars)) {
|
112 |
$tbtVars['PTS'] = $tbtCustomer->getPointsSummary();
|
app/code/community/Ebizmarts/SweetMonkey/controllers/Adminhtml/MageMonkeyController.php
CHANGED
@@ -70,4 +70,14 @@ class Ebizmarts_SweetMonkey_Adminhtml_MageMonkeyController extends Mage_Adminhtm
|
|
70 |
$this->getResponse()->setBody(Zend_Json::encode(array()));
|
71 |
}
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
}
|
70 |
$this->getResponse()->setBody(Zend_Json::encode(array()));
|
71 |
}
|
72 |
|
73 |
+
protected function _isAllowed() {
|
74 |
+
switch ($this->getRequest()->getActionName()) {
|
75 |
+
case 'varsToList':
|
76 |
+
case 'varsForList':
|
77 |
+
$acl = 'system/config/sweetmonkey';
|
78 |
+
break;
|
79 |
+
}
|
80 |
+
return Mage::getSingleton('admin/session')->isAllowed($acl);
|
81 |
+
}
|
82 |
+
|
83 |
}
|
app/design/adminhtml/default/default/template/magemonkey/system/config/resetremote360.phtml
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
alert('All remote orders for Ecommerce360 were deleted')
|
10 |
}
|
11 |
else {
|
12 |
-
alert('
|
13 |
}
|
14 |
}
|
15 |
});
|
9 |
alert('All remote orders for Ecommerce360 were deleted')
|
10 |
}
|
11 |
else {
|
12 |
+
alert('An error happened deleting remote orders in Ecommerce360')
|
13 |
}
|
14 |
}
|
15 |
});
|
app/design/frontend/base/default/template/ebizmarts/autoresponder/backtostock/catalog/product/form.phtml
CHANGED
@@ -17,11 +17,11 @@ $formAction = $this->getSubscribeUrl();
|
|
17 |
|
18 |
<?php if ($this->isLoggedIn() || (!$this->isLoggedIn() && Mage::helper('ebizmarts_autoresponder')->isBacktoStockEnabledForGuest())): ?>
|
19 |
|
20 |
-
<div class="box-collateral block-autoresponder-backtostock" style="padding: 20px 0 0;">
|
21 |
<div class="form-add">
|
22 |
<form id="backtostock_form" action="<?php echo $formAction ?>" method="post">
|
23 |
<div>
|
24 |
-
<h2><?php echo $this->__('Get notified
|
25 |
|
26 |
<p><?php echo $this->__('Subscribe to receive an email as soon as this product become available again!'); ?></p>
|
27 |
<ul class="form-list">
|
17 |
|
18 |
<?php if ($this->isLoggedIn() || (!$this->isLoggedIn() && Mage::helper('ebizmarts_autoresponder')->isBacktoStockEnabledForGuest())): ?>
|
19 |
|
20 |
+
<div class="box-collateral block-autoresponder-backtostock" style="padding: 20px 0 0; float: left;">
|
21 |
<div class="form-add">
|
22 |
<form id="backtostock_form" action="<?php echo $formAction ?>" method="post">
|
23 |
<div>
|
24 |
+
<h2><?php echo $this->__('Get notified!'); ?></h2>
|
25 |
|
26 |
<p><?php echo $this->__('Subscribe to receive an email as soon as this product become available again!'); ?></p>
|
27 |
<ul class="form-list">
|
app/design/frontend/base/default/template/ebizmarts_abandonedcart/popup/emailcatcher.phtml
CHANGED
@@ -1,15 +1,39 @@
|
|
1 |
<?php if (Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::ACTIVE, $this->_getStoreId()) && Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::ENABLE_POPUP, $this->_getStoreId())): ?>
|
2 |
-
<div id="email" style="text-align:center; display:none">
|
3 |
-
<p><span id='email_error_msg' class="email_error" style="display:none"> </span></p>
|
4 |
|
5 |
-
|
6 |
-
style="color:rgb(36,131,199)"><?php echo $this->_popupHeading(); ?></h2>
|
7 |
|
8 |
-
<p><?php echo $this->_popupMessage(); ?></p></div>
|
9 |
-
<p><span class="email_label" style="margin-right: 5px">Email:</span><span class="email_input"><input
|
10 |
-
type="text"/></span></p>
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
</div>
|
14 |
</div>
|
15 |
|
@@ -18,16 +42,17 @@
|
|
18 |
if (navigator.cookieEnabled) {
|
19 |
<?php if(isset($_COOKIE['email'])):
|
20 |
if($_COOKIE['email'] != 'none'):
|
21 |
-
$
|
22 |
-
$
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
<?php endif; ?>
|
|
|
31 |
<?php endif; ?>
|
32 |
<?php elseif($this->_canCancel()): ?>
|
33 |
document.observe('keydown', function (evt) {
|
@@ -47,6 +72,7 @@
|
|
47 |
className: "popup",
|
48 |
id: "popupDialog",
|
49 |
width: <?php Print(json_decode(Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::POPUP_WIDTH, $this->_getStoreId()))); ?>,
|
|
|
50 |
zIndex: 2001,
|
51 |
okLabel: '<?php echo $this->__('Confirm') ?>',
|
52 |
<?php if(!$this->_canCancel()): ?>closeOnEsc: false,
|
@@ -80,10 +106,14 @@
|
|
80 |
},
|
81 |
<?php endif; ?>
|
82 |
onOk: function (win) {
|
83 |
-
var
|
84 |
-
var
|
|
|
|
|
|
|
|
|
85 |
if (validateEmail(email)) {
|
86 |
-
var cookie = 'email=' + email;
|
87 |
createCookie(cookie, 365);
|
88 |
<?php if($this->_modalSubscribe()): ?>
|
89 |
createCookie('subscribe=true', 365);
|
1 |
<?php if (Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::ACTIVE, $this->_getStoreId()) && Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::ENABLE_POPUP, $this->_getStoreId())): ?>
|
|
|
|
|
2 |
|
3 |
+
<div id="email" style="text-align:right; display:none">
|
|
|
4 |
|
|
|
|
|
|
|
5 |
|
6 |
+
|
7 |
+
<div id="popup-heading" style="min-height: <?php Print(json_decode((Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::POPUP_HEIGHT, $this->_getStoreId())-25))); ?>px;">
|
8 |
+
<h2><?php echo $this->_popupHeading(); ?></h2>
|
9 |
+
</div>
|
10 |
+
<div id="popup-form-content">
|
11 |
+
<div id="popup-text">
|
12 |
+
<p><?php echo $this->_popupMessage(); ?></p>
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<p><span id='email_error_msg' class="email_error" style="display:none"> </span></p>
|
16 |
+
|
17 |
+
<div id="popup-form-data">
|
18 |
+
<p>
|
19 |
+
<span class="required"></span>
|
20 |
+
<span class="email_label">Email:</span>
|
21 |
+
<span class="email_input"><input type="text"/></span>
|
22 |
+
</p>
|
23 |
+
|
24 |
+
<?php if(Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::POPUP_FNAME, $this->_getStoreId())): ?>
|
25 |
+
<p>
|
26 |
+
<span class="fname_label" style="margin-right: 5px">First Name:</span>
|
27 |
+
<span class="fname_input"><input type="text"/></span>
|
28 |
+
</p>
|
29 |
+
<?php endif;
|
30 |
+
if(Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::POPUP_LNAME, $this->_getStoreId())): ?>
|
31 |
+
<p>
|
32 |
+
<span class="lname_label" style="margin-right: 5px">Last Name:</span>
|
33 |
+
<span class="lname_input"><input type="text"/></span>
|
34 |
+
</p>
|
35 |
+
<?php endif; ?>
|
36 |
+
</div>
|
37 |
</div>
|
38 |
</div>
|
39 |
|
42 |
if (navigator.cookieEnabled) {
|
43 |
<?php if(isset($_COOKIE['email'])):
|
44 |
if($_COOKIE['email'] != 'none'):
|
45 |
+
Print(json_decode($this->_handleCookie()));
|
46 |
+
// $email = str_replace(' ', '+', $_COOKIE['email']);
|
47 |
+
// $this->_createCoupon($email);
|
48 |
+
// if(isset($_COOKIE['subscribe'])):
|
49 |
+
// $subscriber = Mage::getModel('newsletter/subscriber')->loadByEmail($email);
|
50 |
+
// if(!$subscriber->getId()):
|
51 |
+
// Mage::getModel('newsletter/subscriber')->setImportMode(TRUE)->subscribe($email); ?>
|
52 |
+
// document.cookie = 'subscribe=; expires=Thu, 01 Jan 1970 00:00:01 GMT';
|
53 |
+
// location.reload();
|
54 |
+
// <?php //endif; ?>
|
55 |
+
<!-- --><?php //endif; ?>
|
56 |
<?php endif; ?>
|
57 |
<?php elseif($this->_canCancel()): ?>
|
58 |
document.observe('keydown', function (evt) {
|
72 |
className: "popup",
|
73 |
id: "popupDialog",
|
74 |
width: <?php Print(json_decode(Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::POPUP_WIDTH, $this->_getStoreId()))); ?>,
|
75 |
+
height: <?php Print(json_decode(Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::POPUP_HEIGHT, $this->_getStoreId()))); ?>,
|
76 |
zIndex: 2001,
|
77 |
okLabel: '<?php echo $this->__('Confirm') ?>',
|
78 |
<?php if(!$this->_canCancel()): ?>closeOnEsc: false,
|
106 |
},
|
107 |
<?php endif; ?>
|
108 |
onOk: function (win) {
|
109 |
+
var inputFieldEmail = $$('.email_input input[type=text]').first();
|
110 |
+
var inputFieldFName = $$('.fname_input input[type=text]').first();
|
111 |
+
var inputFieldLName = $$('.lname_input input[type=text]').first();
|
112 |
+
var email = inputFieldEmail.value;
|
113 |
+
var fname = inputFieldFName.value;
|
114 |
+
var lname = inputFieldLName.value;
|
115 |
if (validateEmail(email)) {
|
116 |
+
var cookie = 'email=' + email + '/' + fname + '/' + lname;
|
117 |
createCookie(cookie, 365);
|
118 |
<?php if($this->_modalSubscribe()): ?>
|
119 |
createCookie('subscribe=true', 365);
|
js/ebizmarts/abandonedcart/popup.css
CHANGED
@@ -11,7 +11,6 @@
|
|
11 |
font-family: Tahoma, Arial, sans-serif;
|
12 |
font: 12px arial;
|
13 |
background: #FDFDFD;
|
14 |
-
border-radius: 10px;
|
15 |
margin: 10px 5px 5px 5px;
|
16 |
}
|
17 |
|
@@ -19,7 +18,7 @@
|
|
19 |
font: 12px arial;
|
20 |
text-align: center;
|
21 |
width: 100%;
|
22 |
-
|
23 |
}
|
24 |
|
25 |
.popup_buttons {
|
@@ -27,4 +26,50 @@
|
|
27 |
width: 100%;
|
28 |
}
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
11 |
font-family: Tahoma, Arial, sans-serif;
|
12 |
font: 12px arial;
|
13 |
background: #FDFDFD;
|
|
|
14 |
margin: 10px 5px 5px 5px;
|
15 |
}
|
16 |
|
18 |
font: 12px arial;
|
19 |
text-align: center;
|
20 |
width: 100%;
|
21 |
+
line-height: 20px;
|
22 |
}
|
23 |
|
24 |
.popup_buttons {
|
26 |
width: 100%;
|
27 |
}
|
28 |
|
29 |
+
#popup-heading {
|
30 |
+
width: 30%;
|
31 |
+
margin-right: 10px;
|
32 |
+
background:rgb(36,131,199);
|
33 |
+
float: right;
|
34 |
+
display: flex;
|
35 |
+
align-items: center;
|
36 |
+
}
|
37 |
+
|
38 |
+
#popup-heading > h2 {
|
39 |
+
color: white;
|
40 |
+
}
|
41 |
+
|
42 |
+
#popup-form-content {
|
43 |
+
width: 70%;
|
44 |
+
text-align: center;
|
45 |
+
}
|
46 |
+
|
47 |
+
#popup-form-data {
|
48 |
+
margin-right: 6%;
|
49 |
+
line-height: 45px;
|
50 |
+
}
|
51 |
+
|
52 |
+
#popup-form-data .required {
|
53 |
+
margin-left: 13pt;
|
54 |
+
}
|
55 |
+
|
56 |
+
.email_label {
|
57 |
+
margin: 5px;
|
58 |
+
}
|
59 |
+
|
60 |
+
#popup-text {
|
61 |
+
margin: 10px;
|
62 |
+
}
|
63 |
+
|
64 |
+
.cancel_button {
|
65 |
+
position: absolute;
|
66 |
+
top: 0;
|
67 |
+
right: 0;
|
68 |
+
border-style : none;
|
69 |
+
color: transparent;
|
70 |
+
height: 32px;
|
71 |
+
width: 32px;
|
72 |
+
background: url(xmark.png) no-repeat;
|
73 |
+
}
|
74 |
+
|
75 |
|
js/ebizmarts/abandonedcart/xmark.png
ADDED
Binary file
|
js/ebizmarts/magemonkey/campaignCatcher.js
CHANGED
@@ -30,4 +30,4 @@
|
|
30 |
} else {
|
31 |
document.observe('dom:loaded', getCampaign);
|
32 |
}
|
33 |
-
})
|
30 |
} else {
|
31 |
document.observe('dom:loaded', getCampaign);
|
32 |
}
|
33 |
+
});
|
package.xml
CHANGED
@@ -1,22 +1,42 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ebizmarts_MageMonkey</name>
|
4 |
-
<version>1.1.
|
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.1.
|
12 |
--------
|
13 |
-
|
14 |

|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
<authors><author><name>Ebizmarts Development Team</name><user>auto-converted</user><email>info@ebizmarts.com</email></author></authors>
|
17 |
-
<date>2015-
|
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="ae560b94bb9e440d660be69f5165b69f"/></dir><dir name="Import"><file name="Form.php" hash="0421281b9cfbc446329d7482c24c2c11"/></dir><dir name="Queue"><file name="Grid.php" hash="23b3edec3bc13fae8aee5b7292c4d4d1"/></dir><dir name="QueueExport"><file name="Grid.php" hash="68ec401dc23cddf8a1362c53aaab69b2"/></dir><dir name="QueueImport"><file name="Grid.php" hash="a695371e46328137d025b0fdf09944fe"/></dir><file name="Export.php" hash="62714f95580e489105914270b889a142"/><file name="Import.php" hash="d573582da25766aecba918d299c02586"/><file name="Queue.php" hash="c3cea1da02e0a09d7876958058ee091e"/><file name="QueueExport.php" hash="69536eee264346535f1c786d61b3cf84"/><file name="QueueImport.php" hash="d9fbc0d22f94df54f71116d0d484d1a3"/></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="b1ad37ffe9fe0752356d29a6548b0434"/></dir><dir name="Ecommerceapi"><dir name="Renderer"><file name="Items.php" hash="d72cfedf0cafc938becf9bd52801ba3a"/></dir><file name="Grid.php" hash="ee1be42cb6c893e3c59cac784df67fb3"/></dir><dir name="Memberactivity"><file name="Grid.php" hash="f4b341dd60b361098394618cf3382620"/></dir><dir name="Renderer"><file name="Date.php" hash="6e4e52403ec55df3aa2183fd4b51b095"/><file name="Importypes.php" hash="87c7a222e403781fcd8ee08cf0b489ba"/><file name="Lists.php" hash="15f5b5e087b49396a6f844e0f1bfb6b1"/><file name="Progress.php" hash="31eaaa5a7e99b21a4ed705971fe1001d"/><file name="Yesno.php" hash="c3173a8e8ea2d5f03531e7d996bbd259"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="31bf492c4e6137312c55bc437bf226cf"/></dir><dir name="Form"><dir name="Field"><file name="Mapfields.php" hash="8f2a10ca1a1d239b3b231ca2cee5f96e"/></dir></dir><file name="Account.php" hash="fccf1faac2682d754655631e6451c026"/><file name="Date.php" hash="455120f4f2e8d7801f3c220e231b6789"/><file name="OauthWizard.php" hash="bd79f8b43d71137337e732fbeb415ffb"/><file name="ResetLocalEcommerce.php" hash="e17208b58da80e06276ca1910c622715"/><file name="ResetRemoteEcommerce.php" hash="47e2f24d108e16721ac26279431815bb"/></dir></dir><file name="Ecommerce.php" hash="48c237e8cc1223ad26a88d2409679fec"/><file name="Ecommerceapi.php" hash="a9f659502d96bcd1a69a88d15fcab4f9"/></dir><dir name="Checkout"><file name="Subscribe.php" hash="14de0075005dafe3363716e3ffd10d20"/></dir><dir name="Customer"><dir name="Account"><file name="Lists.php" hash="64f0e5a8360750f6b19d8b5db0fcac23"/></dir></dir><file name="Lists.php" hash="af037bb911e5b69b4817b068e84b9509"/><file name="Signup.php" hash="93b0e787e63a90a5fb4bacba1e03bd05"/></dir><dir name="Helper"><file name="Cache.php" hash="4e6cd9724c2788056aacacd37f5699cc"/><file name="Data.php" hash="c8907e05617f50f82b8d56bd6b9b1426"/><file name="Export.php" hash="91f24805e9cbbe124f0c99cb8f1f1272"/><file name="Oauth2.php" hash="684a7b71d97b438081ebf332057ec8ea"/></dir><dir name="Model"><dir name="Custom"><file name="Collection.php" hash="304d372c1b8bd8d8d09dd743e03cdf66"/></dir><dir name="Email"><file name="Template.php" hash="81c9f040cf931dfb9e2a2484d9cc0b09"/></dir><dir name="Feed"><file name="Updates.php" hash="fb08049c3c1afb24da2b4834bbb3443b"/></dir><dir name="Mysql4"><dir name="Apidebug"><file name="Collection.php" hash="7cc3fe74a46da1a4770b49eb7ac47f97"/></dir><dir name="Asyncorders"><file name="Collection.php" hash="e7b17fac028f7116c762e120b0f3f0a8"/></dir><dir name="Asyncsubscribers"><file name="Collection.php" hash="3458134c9a1ced7359db40f7b79a133f"/></dir><dir name="Bulksync"><dir name="Export"><file name="Collection.php" hash="ac64bc652233136189c504f678062374"/></dir><dir name="Import"><file name="Collection.php" hash="6cb3e09a817488f9bfa50f877a5c2b0b"/></dir><file name="Export.php" hash="eedc5a3549b3815f0d290eca3e0579df"/><file name="Import.php" hash="487fc6c0335ebf352081185d9afe3f88"/></dir><dir name="Ecommerce"><file name="Collection.php" hash="80319b6c991c510f1569800c80d384f1"/></dir><file name="Apidebug.php" hash="2699eec825e8fb88b1d572728c10b7bc"/><file name="Asyncorders.php" hash="3eb64d883705854ce7899fd891101c63"/><file name="Asyncsubscribers.php" hash="a067c1e951ce61558e00f3aa8e5d15ef"/><file name="Ecommerce.php" hash="b3290a6170c8c8f275dcd4300840ea26"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Account.php" hash="5bbf12b572234101af3e753ba74bcd41"/><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="299b8514de098e02efe5393ebe7bdf65"/><file name="Ecommerce360.php" hash="24906da389cbf6b4a97c3edab5c7f020"/><file name="List.php" hash="bd9ef222e15d69b5c5038a98723d18c6"/><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><file name="Api.php" hash="ea7c720767bc58cb740d2f70100f699b"/><file name="Asyncorders.php" hash="3f60d1a1c1885268ae7e2ddfb1772feb"/><file name="Asyncsubscribers.php" hash="b79a42df357267205d7e74bb7c220755"/><file name="BulksyncExport.php" hash="71af9a6134b415a324dc9c937a5b2f8e"/><file name="BulksyncImport.php" hash="fb3716e235bc22cf91c4c17edf10ec23"/><file name="Cache.php" hash="89ac2fac903a566e6f6a3c0951bf274d"/><file name="Config.php" hash="276026d2d6ac8af349b7f2f82dc17668"/><file name="Cron.php" hash="3d0160a020ac8fd3b95251d40452d0b1"/><file name="Ecommerce.php" hash="f4581befe128963df3e3d062b1bc4d55"/><file name="Ecommerce360.php" hash="71a18ee0bd84a087f06188bdb86f0801"/><file name="MCAPI.php" hash="c86a58e5a40b709aefecd05c813ee7be"/><file name="MCEXPORTAPI.php" hash="810b1c7b0f6daf93e11c7fbbc90980a3"/><file name="Monkey.php" hash="fe7cfdd6ef4207d8a279908265d2bc0f"/><file name="Observer.php" hash="1c1a586fbc7517cab08868c5ec5288bf"/><file name="Subscriber.php" hash="70423d00c03e9fb7436921f93052c75d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BulksyncController.php" hash="429d5cc4c53c9e6ffc2a74c7e810a519"/><file name="ConfigController.php" hash="1a2072d337166ba723625b40fd5e924b"/><file name="EcommerceController.php" hash="8b1aed71ece9ab04f9a3c0d3b7f2f754"/></dir><dir name="Customer"><file name="AccountController.php" hash="14479dffeacd3c2421ce5822f7d7f190"/></dir><file name="SignupController.php" hash="e379f52f8ee0191a4c7289cd2afcd19d"/><file name="WebhookController.php" hash="319878266b5463d5d8591b6a4fb5e096"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2ca3d47af5d16f1d5e0efb71346d3fe4"/><file name="config.xml" hash="23f35882575a2ef68f70b13f923e6635"/><file name="system.xml" hash="9dd307a54fc966aade4676055e36f5b6"/></dir><dir name="sql"><dir name="monkey_setup"><file name="mysql4-install-0.0.1.php" hash="4df34769f4d5a8ceca90fd582500e3a9"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="d81147dab407bc55c59cddb5a764c53e"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="ce1925ff2ab03aa9fd6cbe43283ea37d"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="7f1e38bcf030e6346a9fd8321f1a4362"/><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="738e3d3e33c1a3a02bb101b89743cc5c"/><file name="mysql4-upgrade-1.1.23-1.1.24.php" hash="5a1bfdc8014edbc8b8c728954405a9f5"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="14750274ece5816d6c1ab490f7d610ab"/></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="1ecdb6b04fbd16043de908f261353b8d"/></dir><file name="Templates.php" hash="1682fe6d39605a9839bf3cdb3c1185b7"/></dir><dir name="Users"><dir name="Senders"><file name="Grid.php" hash="292097a493de241540d3e3aea463241f"/></dir><file name="Senders.php" hash="4a4449652c495a9d4c12966ab007e7a4"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="86fcaa6a66a5a628ded7215172448daf"/></dir><dir name="Model"><dir name="Email"><file name="Template.php" hash="b19533f9d67828bb56e1cec4d36c2c85"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Userinfo.php" hash="12a9c9c27c985efd021a4e6c7fdfcf5e"/></dir></dir><file name="Config.php" hash="2219d951bf6b2553ec0284b65d8d92a2"/></dir><file name="Customcollection.php" hash="9b5766c0393a54b4356254725b4d78b2"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Mandrill"><file name="UsersController.php" hash="e00f5ce8cea5f9ce47f71f270a31c021"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8c0b7fda27820f53b3064f18a524c930"/><file name="config.xml" hash="86f2eb83f23e7998b2d23ba9af86cbb8"/><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="f2813a7ec47e20b78874a0dbb1461b3e"/></dir><dir name="Abandonedorder"><file name="Grid.php" hash="5ab9e3884d3306d78e78133f09e22614"/></dir><dir name="Dashboard"><file name="Sales.php" hash="b0d6fce3a5f4ef5a891c8578eb36ef97"/><file name="Totals.php" hash="4cd3c1e0d8d357c79ec6e7a2ed98c6a0"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="6358bc58857011c08dedcbab885b461f"/></dir><file name="Date.php" hash="323a49af281f06dfa72c1d3512257e04"/></dir></dir><file name="Abandonedmails.php" hash="c2714b5a6cb534c91564ebc340fe3f26"/><file name="Abandonedorder.php" hash="1a14da87647612a8773f34f70bc05dea"/><file name="Dashboard.php" hash="c27d5ec29455176fff7e2fac86fcce21"/></dir><dir name="Email"><dir name="Order"><file name="Items.php" hash="5c4be14f72d2cfe0a25058246d016d25"/></dir></dir><dir name="Popup"><file name="Emailcatcher.php" hash="7924007f7cd6dcd39e236408ef0c2c96"/></dir></dir><dir name="Helper"><file name="Data.php" hash="2464dec670f6e9b7d03fd61c38a872cf"/></dir><dir name="Model"><dir name="Resource"><dir name="Abtesting"><file name="Collection.php" hash="f96fe4be550bef6daabc5d211c86aca0"/></dir><dir name="Mailssent"><file name="Collection.php" hash="dc1e2c44eb53381d57d10a6bc08ad497"/></dir><dir name="Order"><file name="Collection.php" hash="a079410c43e1afbb428b7163d1537482"/></dir><dir name="Popup"><file name="Collection.php" hash="af37502f9802c7574318ab28a8fb1b16"/></dir><file name="Abtesting.php" hash="46e70f8507676e157ddec44f66094e59"/><file name="Mailssent.php" hash="80f0b4e3f29d10951362f07eb45a3ece"/><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="20aef15f9f6f616d59506dca75759203"/></dir></dir><file name="Abtesting.php" hash="fdf9df78b6656c898fd74fbcb3ec51e1"/><file name="Config.php" hash="3ad3355a37d3f7fde55121c525e1ee27"/><file name="Cron.php" hash="ab1b5fbf46a12b8ed3b2c1608338d43c"/><file name="EventObserver.php" hash="aea4d7cd9f79be176b2f800686910080"/><file name="Mailssent.php" hash="e238f4116cb473cdcfb3a909d08adaa4"/><file name="Popup.php" hash="d2a4922acc0c5c3994cbc0b2114658b8"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AbandonedmailsController.php" hash="71bacda4a15cff1752dfdd4c387b2923"/><file name="AbandonedorderController.php" hash="9544dc18469f02964c52639bad98842a"/></dir><file name="AbandonedController.php" hash="70aa47c1c680760e849e8fc032bfab08"/></dir><dir name="etc"><file name="adminhtml.xml" hash="64d9bdc34a543da52a8dafa7d6b33401"/><file name="config.xml" hash="b1947a0ab0ed4d3dbbb455ec9c1a3174"/><file name="system.xml" hash="453d2557cd5c0996fa34ad4cca158b07"/></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="4835436b744f8cbff61a66c2e345976f"/><file name="mysql4-upgrade-0.1.18-0.1.19.php" hash="e51b332cb70c81ee472b586fda4e8a7e"/><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="e9fdf4551cf19b488ed68ca0dd55ab67"/><file name="mysql4-upgrade-0.1.30-0.1.31.php" hash="2889ca071f7b974f2cd85a6b9405e541"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="60daa0d70a1af929a39d6e20ee52ee9c"/></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="a2a16f441955f7ae5b9403355eddf986"/></dir><dir name="Model"><dir name="Resource"><dir name="Backtostock"><file name="Collection.php" hash="95a70c48dce1bac7fcb86447bb899057"/></dir><dir name="Backtostockalert"><file name="Collection.php" hash="c0c5d87c559d2e4011697b1a0ccf4846"/></dir><dir name="Review"><file name="Collection.php" hash="098061d250555679c9f609d2087ef9d4"/></dir><dir name="Unsubscribe"><file name="Collection.php" hash="11048027437c0a5bc1478e4f2cdcc51d"/></dir><dir name="Visited"><file name="Collection.php" hash="b09c0ce08ac30cc30f974e5c744eabf1"/></dir><file name="Backtostock.php" hash="85c29c73ba30f2fdf819fc88f5e03098"/><file name="Backtostockalert.php" hash="148ae085ef93a7cf6e52cdd60f1ca9a2"/><file name="Review.php" hash="cf78994db6e262e42a589b6538a45a32"/><file name="Unsubscribe.php" hash="3b9e4d09dbb7ba483a5d16b6312050e6"/><file name="Visited.php" hash="55f2d0c1f90b41e852ecbf964925dc10"/></dir><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="Time.php" hash="4b491667d8ea9816b07f584e84556556"/></dir></dir><file name="Backtostock.php" hash="fa62a4685c70474a2ce3da394e68c597"/><file name="Backtostockalert.php" hash="eabe65c559ee1d93bc8b67dc0bb32a40"/><file name="Config.php" hash="4fe97a3b93bf7bc5eb0e5c1d9e99aada"/><file name="Cron.php" hash="64c5495683f830ae0c1e42d888d1d4d8"/><file name="EventObserver.php" hash="16d9293f4fec047ad75e2f3adc99a44a"/><file name="Review.php" hash="c14806dfb106363262b9911e8d06f628"/><file name="Unsubscribe.php" hash="cb20baf948256b9b70a13ed52ab91bab"/><file name="Visited.php" hash="2e9f119fc630cefc50f5a2a21546ebfc"/></dir><dir name="controllers"><file name="AutoresponderController.php" hash="60f7a997438b80a76a7c5c08db8d11d5"/><file name="BacktostockController.php" hash="34b99cc172104773070d9d39cb290534"/></dir><dir name="etc"><file name="adminhtml.xml" hash="59a240f12b496566f1a2b1de5f053e96"/><file name="config.xml" hash="1fd74912d3623f85c91f7a5c3203f082"/><file name="system.xml" hash="56b7546b2afe366d2ef1cf52480d4f5f"/></dir><dir name="sql"><dir name="ebizmarts_autoresponder_setup"><file name="mysql4-install-0.1.0.php" hash="d2152df00146562b30910ebe36c9b4e8"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="2ab92d2cf0f5fa7ccf7b61d9ab142a01"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="af5c814496fe07a20aac583cd68cb0b7"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="378accc07eb80b16029db84f56bed683"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="53cc6beed11e8631c11a008c5fd78ce1"/></dir></dir></dir><dir name="SweetMonkey"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="a1d28320ed21eaa6c20aa98c0b4e3492"/></dir><dir name="Form"><dir name="Field"><file name="Mapfields.php" hash="a0dfcfa3e1e22bdb33005a999cb0867b"/></dir></dir><file name="Autovars.php" hash="fc3ebb5ffe5344ef74a294547614c28f"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="83c32ef3e5433e701a10ef9cc5370d04"/></dir><dir name="Model"><file name="Cron.php" hash="a253d6bdbb03ca2d1fa87fde52c934ee"/><file name="Observer.php" hash="09d158514078fa5046283755eed4726a"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MageMonkeyController.php" hash="d773f63176410f5b3970faf16b402a1d"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8a81e6639cd53c96717a6b993d5fcd93"/><file name="config.xml" hash="fdd28267f29ce6ad0109f9b756a08979"/><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"><dir name="ebizmarts"><file name="abandonedcart.xml" hash="14282d8f8739578d51c57def5df1227a"/><file name="autoresponder.xml" hash="d8dfb68cfd7c838cf29e9281a9a76c36"/></dir><file name="magemonkey.xml" hash="8eef43f9d728e252a5f7d7b6cea93a19"/></dir><dir name="template"><dir name="magemonkey"><dir name="checkout"><file name="subscribe.phtml" hash="41916fd7fccc22a83380dd5642b6a8cc"/></dir><file name="lists.phtml" hash="17f70d4e4bff4e14104381f927d80538"/></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="7be104a21130974fd4aae1f8727d5e7d"/></dir></dir><dir name="popup"><file name="emailcatcher.phtml" hash="47c12ed73112bfe4a528ef515e4560a9"/></dir></dir><dir name="ebizmarts"><dir name="autoresponder"><dir name="backtostock"><dir name="catalog"><dir name="product"><file name="form.phtml" hash="2682fda0d10238764db344fcc0b743dc"/><file name="notice.phtml" hash="ba7963278c9ed51066c736cdc0b73978"/></dir></dir><file name="item.phtml" hash="55f82ee9207c9e5a2d6fbd77ffc9921f"/></dir><dir name="customer"><file name="list.phtml" hash="21d2f116e2f509943175c43bc5863582"/></dir><dir name="related"><file name="items.phtml" hash="7de2510a4dcfc9627a0dc514360bf423"/></dir><dir name="review"><file name="items.phtml" hash="d409b68a2bc8cbe6779f11cc2784d022"/></dir><dir name="wishlist"><file name="items.phtml" hash="73a0cf8ee106d4cff7a77c9c4a69e363"/></dir><file name="unsubscribe.phtml" hash="ca8ed1c5810e07f1cdc91edb64420417"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="ebizmarts"><file name="mandrill.xml" hash="ba93e973a9019841c7d914ecd729983c"/><file name="abandonedcart.xml" hash="9ed91dab216911a13a2669bd81734180"/></dir><file name="magemonkey.xml" hash="4a2ba63a9d3002774b622e76339e6fbb"/></dir><dir name="template"><dir name="magemonkey"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="2fc348d98ca7fbc41fb2a13e6cfb78de"/></dir><file name="oauth_wizard.phtml" hash="91b3472b4e9a5bc26851b76bfcea59c5"/><file name="resetlocal360.phtml" hash="ee9a0fa8f8b09323b9f0d7786f645c8f"/><file name="resetremote360.phtml" hash="7194a90ec514df7d078bb4313a25c30b"/></dir></dir></dir><dir name="ebizmarts"><dir name="mandrill"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="3d00dbc6b6141e8e0b639ac92ac95da5"/></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="e5bbebab8f645b423530764b4c844e47"/></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="83cd4fef418fdcda52b3bb5e534fda85"/></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"><dir name="fieldset"><file name="hint.phtml" hash="16d8c86502ff2a2a01c7e7e8a421bfcb"/></dir><file name="autovars.phtml" hash="53da8402573546ecdcbe2f5e9b3ab57a"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><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="f909f0edf431e2da29281904612bd902"/><file name="birthday.html" hash="716502b8dd97b4b485264c18e7c75317"/><file name="neworder.html" hash="14db5244b8bb8e7b33ad32991ea8060f"/><file name="noactivity.html" hash="ca5ba93441cf80ccf0ea79aef039fc77"/><file name="relatedproducts.html" hash="9cd19f74d0c42967526d54a197453945"/><file name="review.html" hash="0d9d872e4a0d0290cea079ccec3658c5"/><file name="reviewcoupon.html" hash="925152cf7f223b6caf92f0a502233e03"/><file name="visitedproducts.html" hash="fc89e6fd3007ca57a6359553f389a656"/><file name="wishlist.html" hash="804468d3e1f758988c633d3b8eb547ea"/></dir></dir></dir></dir><file name="Ebizmarts_MageMonkey.csv" hash="181e91ed91dfea5fe7dab66af5719af8"/><file name="Ebizmarts_Mandrill.csv" hash="3dac3af57664fd34f5eda8abf4098ee0"/><file name="Ebizmarts_AbandonedCart.csv" hash="214bcd0e8cd6153c48fab236dcfdba1b"/><file name="Ebizmarts_Autoresponder.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Ebizmarts_SweetMonkey.csv" hash="f0cdb51ba2052ce7f7ec1c9885ee5d3c"/></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="1a515d6697d533ee012754dd20e60345"/><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"><dir name="mandrill"><file name="mandrill-tab.png" hash="d7eaf9deef355e4b8b55a96070b90ffe"/><file name="mandrill.css" hash="d93f1f52db38195a4f85d20de519151e"/></dir><file name="ebizmarts-tab.png" hash="6dfa08c5cd4329d1df6e7b71fb1f925a"/><file name="ebizmarts.css" hash="a579734639953c1970ec26f56dda5837"/></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="5984cd563aee48b7ba648066f733113a"/></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="3ed368771a7174af0e01287e3a3e030f"/><file name="Inbound.php" hash="32378db89f2f47fe158577c256837896"/><file name="Internal.php" hash="fa680d47c780922a111078827cad1505"/><file name="Ips.php" hash="c70c08b34454d2e7aebc31101cfdca81"/><file name="Messages.php" hash="f1f3c20b6c872c72dcc33790d6a3adf4"/><file name="Metadata.php" hash="57820ae2032206334fb6e6d9b12f4df2"/><file name="Rejects.php" hash="f40f9ef016c338c6ae9d161c3112eea6"/><file name="Senders.php" hash="875ddbeff3f920397c73c2c2797f3eea"/><file name="Subaccounts.php" hash="9b6b61a8e0364c9f917952deffe0320c"/><file name="Tags.php" hash="ee2f9e328d4d49aa8b0289978f7375b0"/><file name="Templates.php" hash="9920cf5d10bdcb5416193435c425f123"/><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="cb6620ee6d4767e9b4edb1d574fe5dbe"/><file name="Message.php" hash="784920e095d8d9f0269b46f00071fcc9"/></dir></dir><dir name="js"><dir name="ebizmarts"><dir name="abandonedcart"><file name="popup.css" hash="1dd95b72b4a6dc211f09e60114605af5"/></dir><dir name="autoresponders"><file name="visitedproducts.js" hash="61ef8d19642d349a19a43d018888f205"/><file name="visitedproductsstorecodes.js" hash="2cea5956611572cae6140db11c6d4672"/></dir><dir name="magemonkey"><file name="campaignCatcher.js" hash="094f0706dc7cb652f6473d7549d975ac"/></dir></dir></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies/>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ebizmarts_MageMonkey</name>
|
4 |
+
<version>1.1.34</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.1.34
|
12 |
--------
|
13 |
+
Email Catcher popup redesign.
|
14 |

|
15 |
+
Fixed Warning on Abandoned Cart cron process.
|
16 |
+

|
17 |
+
Fixed Warning on Autoresponder Emails cron process.
|
18 |
+

|
19 |
+
Solved problem on customer information sent to MailChimp.
|
20 |
+

|
21 |
+
Fixed problem on some displays of Back to Stock form.
|
22 |
+

|
23 |
+
Time sent to MailChimp with orders.
|
24 |
+

|
25 |
+
Added First and Last name to subscribers.
|
26 |
+

|
27 |
+
Footer subscription when not logged in working correctly.
|
28 |
+

|
29 |
+
Solved issue with Admin controllers isAllowed (Latest security patches).
|
30 |
+

|
31 |
+
Fixed issue with reset ecommerce orders.
|
32 |
+

|
33 |
+
Misspelling when error occurs in reset ecommerce orders changed.
|
34 |
+

|
35 |
+
Changed cron jobs timing to clean expired coupons.</notes>
|
36 |
<authors><author><name>Ebizmarts Development Team</name><user>auto-converted</user><email>info@ebizmarts.com</email></author></authors>
|
37 |
+
<date>2015-07-09</date>
|
38 |
+
<time>15:42:42</time>
|
39 |
+
<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="ae560b94bb9e440d660be69f5165b69f"/></dir><dir name="Import"><file name="Form.php" hash="0421281b9cfbc446329d7482c24c2c11"/></dir><dir name="Queue"><file name="Grid.php" hash="23b3edec3bc13fae8aee5b7292c4d4d1"/></dir><dir name="QueueExport"><file name="Grid.php" hash="68ec401dc23cddf8a1362c53aaab69b2"/></dir><dir name="QueueImport"><file name="Grid.php" hash="a695371e46328137d025b0fdf09944fe"/></dir><file name="Export.php" hash="62714f95580e489105914270b889a142"/><file name="Import.php" hash="d573582da25766aecba918d299c02586"/><file name="Queue.php" hash="c3cea1da02e0a09d7876958058ee091e"/><file name="QueueExport.php" hash="69536eee264346535f1c786d61b3cf84"/><file name="QueueImport.php" hash="d9fbc0d22f94df54f71116d0d484d1a3"/></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="b1ad37ffe9fe0752356d29a6548b0434"/></dir><dir name="Ecommerceapi"><dir name="Renderer"><file name="Items.php" hash="d72cfedf0cafc938becf9bd52801ba3a"/></dir><file name="Grid.php" hash="ee1be42cb6c893e3c59cac784df67fb3"/></dir><dir name="Memberactivity"><file name="Grid.php" hash="f4b341dd60b361098394618cf3382620"/></dir><dir name="Newsletter"><dir name="Subscriber"><dir name="Renderer"><file name="Firstname.php" hash="1987d5f7f8df91a98deee748f01e211b"/><file name="Lastname.php" hash="025002a4b768d102fb6dbcb6a212fcd6"/></dir></dir></dir><dir name="Renderer"><file name="Date.php" hash="6e4e52403ec55df3aa2183fd4b51b095"/><file name="Importypes.php" hash="87c7a222e403781fcd8ee08cf0b489ba"/><file name="Lists.php" hash="15f5b5e087b49396a6f844e0f1bfb6b1"/><file name="Progress.php" hash="31eaaa5a7e99b21a4ed705971fe1001d"/><file name="Yesno.php" hash="c3173a8e8ea2d5f03531e7d996bbd259"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="31bf492c4e6137312c55bc437bf226cf"/></dir><dir name="Form"><dir name="Field"><file name="Mapfields.php" hash="8f2a10ca1a1d239b3b231ca2cee5f96e"/></dir></dir><file name="Account.php" hash="fccf1faac2682d754655631e6451c026"/><file name="Date.php" hash="455120f4f2e8d7801f3c220e231b6789"/><file name="OauthWizard.php" hash="bd79f8b43d71137337e732fbeb415ffb"/><file name="ResetLocalEcommerce.php" hash="493126ac056c3585ed2d3020d62c76e1"/><file name="ResetRemoteEcommerce.php" hash="40d54bb2d6e7dd7bf3a91c9346f988bf"/></dir></dir><file name="Ecommerce.php" hash="48c237e8cc1223ad26a88d2409679fec"/><file name="Ecommerceapi.php" hash="a9f659502d96bcd1a69a88d15fcab4f9"/></dir><dir name="Checkout"><file name="Subscribe.php" hash="14de0075005dafe3363716e3ffd10d20"/></dir><dir name="Customer"><dir name="Account"><file name="Lists.php" hash="64f0e5a8360750f6b19d8b5db0fcac23"/></dir></dir><file name="Lists.php" hash="e268f28007ba8c9caa2b6179580affaa"/><file name="Signup.php" hash="93b0e787e63a90a5fb4bacba1e03bd05"/></dir><dir name="Helper"><file name="Cache.php" hash="4e6cd9724c2788056aacacd37f5699cc"/><file name="Data.php" hash="2533beb9fc53fdb980910f84ac1fd5ed"/><file name="Export.php" hash="91f24805e9cbbe124f0c99cb8f1f1272"/><file name="Oauth2.php" hash="684a7b71d97b438081ebf332057ec8ea"/></dir><dir name="Model"><dir name="Custom"><file name="Collection.php" hash="304d372c1b8bd8d8d09dd743e03cdf66"/></dir><dir name="Email"><file name="Template.php" hash="81c9f040cf931dfb9e2a2484d9cc0b09"/></dir><dir name="Feed"><file name="Updates.php" hash="d6401edef548f125f238ae7d80a458fe"/></dir><dir name="Mysql4"><dir name="Apidebug"><file name="Collection.php" hash="7cc3fe74a46da1a4770b49eb7ac47f97"/></dir><dir name="Asyncorders"><file name="Collection.php" hash="e7b17fac028f7116c762e120b0f3f0a8"/></dir><dir name="Asyncsubscribers"><file name="Collection.php" hash="3458134c9a1ced7359db40f7b79a133f"/></dir><dir name="Bulksync"><dir name="Export"><file name="Collection.php" hash="ac64bc652233136189c504f678062374"/></dir><dir name="Import"><file name="Collection.php" hash="6cb3e09a817488f9bfa50f877a5c2b0b"/></dir><file name="Export.php" hash="eedc5a3549b3815f0d290eca3e0579df"/><file name="Import.php" hash="487fc6c0335ebf352081185d9afe3f88"/></dir><dir name="Ecommerce"><file name="Collection.php" hash="80319b6c991c510f1569800c80d384f1"/></dir><dir name="Lastorder"><file name="Collection.php" hash="38d6a7519cfe21caf7f5d22877aa1477"/></dir><file name="Apidebug.php" hash="2699eec825e8fb88b1d572728c10b7bc"/><file name="Asyncorders.php" hash="3eb64d883705854ce7899fd891101c63"/><file name="Asyncsubscribers.php" hash="a067c1e951ce61558e00f3aa8e5d15ef"/><file name="Ecommerce.php" hash="b3290a6170c8c8f275dcd4300840ea26"/><file name="Lastorder.php" hash="f3987329cb78c978bcc94ba375d9f998"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Account.php" hash="5bbf12b572234101af3e753ba74bcd41"/><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="299b8514de098e02efe5393ebe7bdf65"/><file name="Ecommerce360.php" hash="24906da389cbf6b4a97c3edab5c7f020"/><file name="List.php" hash="bd9ef222e15d69b5c5038a98723d18c6"/><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><file name="Api.php" hash="ea7c720767bc58cb740d2f70100f699b"/><file name="Asyncorders.php" hash="3f60d1a1c1885268ae7e2ddfb1772feb"/><file name="Asyncsubscribers.php" hash="b79a42df357267205d7e74bb7c220755"/><file name="BulksyncExport.php" hash="71af9a6134b415a324dc9c937a5b2f8e"/><file name="BulksyncImport.php" hash="fb3716e235bc22cf91c4c17edf10ec23"/><file name="Cache.php" hash="89ac2fac903a566e6f6a3c0951bf274d"/><file name="Config.php" hash="276026d2d6ac8af349b7f2f82dc17668"/><file name="Cron.php" hash="3d0160a020ac8fd3b95251d40452d0b1"/><file name="Ecommerce.php" hash="f4581befe128963df3e3d062b1bc4d55"/><file name="Ecommerce360.php" hash="b2571e3e8e619360ed6f3fc9b8a67435"/><file name="Lastorder.php" hash="f2977e76892b0b1a5e031f8eabf93f18"/><file name="MCAPI.php" hash="c86a58e5a40b709aefecd05c813ee7be"/><file name="MCEXPORTAPI.php" hash="810b1c7b0f6daf93e11c7fbbc90980a3"/><file name="Monkey.php" hash="a8141ae234a5944d47510670f69c3d58"/><file name="Observer.php" hash="012eb8dffdb7b3d05a7e9fdc3788f857"/><file name="Subscriber.php" hash="70423d00c03e9fb7436921f93052c75d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BulksyncController.php" hash="eca2f78696482b5422294a8b7ce1e1d5"/><file name="ConfigController.php" hash="6a307ba4b4a39991392935dd368ba1f8"/><file name="EcommerceController.php" hash="ac9472296106c918b8fa1880b8fffa0c"/></dir><dir name="Customer"><file name="AccountController.php" hash="14479dffeacd3c2421ce5822f7d7f190"/></dir><file name="SignupController.php" hash="e379f52f8ee0191a4c7289cd2afcd19d"/><file name="WebhookController.php" hash="319878266b5463d5d8591b6a4fb5e096"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2ca3d47af5d16f1d5e0efb71346d3fe4"/><file name="config.xml" hash="7ad9bce45404a42656c553078107c52e"/><file name="system.xml" hash="9dd307a54fc966aade4676055e36f5b6"/></dir><dir name="sql"><dir name="monkey_setup"><file name="mysql4-install-0.0.1.php" hash="4df34769f4d5a8ceca90fd582500e3a9"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="d81147dab407bc55c59cddb5a764c53e"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="ce1925ff2ab03aa9fd6cbe43283ea37d"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="7f1e38bcf030e6346a9fd8321f1a4362"/><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="738e3d3e33c1a3a02bb101b89743cc5c"/><file name="mysql4-upgrade-1.1.23-1.1.24.php" hash="5a1bfdc8014edbc8b8c728954405a9f5"/><file name="mysql4-upgrade-1.1.33-1.1.34.php" hash="68f74c77460e76ea6153ebc823d49990"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="14750274ece5816d6c1ab490f7d610ab"/></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="1ecdb6b04fbd16043de908f261353b8d"/></dir><file name="Templates.php" hash="1682fe6d39605a9839bf3cdb3c1185b7"/></dir><dir name="Users"><dir name="Senders"><file name="Grid.php" hash="292097a493de241540d3e3aea463241f"/></dir><file name="Senders.php" hash="4a4449652c495a9d4c12966ab007e7a4"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="86fcaa6a66a5a628ded7215172448daf"/></dir><dir name="Model"><dir name="Email"><file name="Template.php" hash="b19533f9d67828bb56e1cec4d36c2c85"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Userinfo.php" hash="12a9c9c27c985efd021a4e6c7fdfcf5e"/></dir></dir><file name="Config.php" hash="2219d951bf6b2553ec0284b65d8d92a2"/></dir><file name="Customcollection.php" hash="9b5766c0393a54b4356254725b4d78b2"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Mandrill"><file name="UsersController.php" hash="82f6e810f51b12b65d009bdeaded95e8"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8ea87cce062596388f7e9507943e8bb5"/><file name="config.xml" hash="2af986674d40e375b7d1b59c1a9e119a"/><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="f2813a7ec47e20b78874a0dbb1461b3e"/></dir><dir name="Abandonedorder"><file name="Grid.php" hash="5ab9e3884d3306d78e78133f09e22614"/></dir><dir name="Dashboard"><file name="Sales.php" hash="b0d6fce3a5f4ef5a891c8578eb36ef97"/><file name="Totals.php" hash="4cd3c1e0d8d357c79ec6e7a2ed98c6a0"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="6358bc58857011c08dedcbab885b461f"/></dir><file name="Date.php" hash="323a49af281f06dfa72c1d3512257e04"/></dir></dir><file name="Abandonedmails.php" hash="c2714b5a6cb534c91564ebc340fe3f26"/><file name="Abandonedorder.php" hash="1a14da87647612a8773f34f70bc05dea"/><file name="Dashboard.php" hash="c27d5ec29455176fff7e2fac86fcce21"/></dir><dir name="Email"><dir name="Order"><file name="Items.php" hash="5c4be14f72d2cfe0a25058246d016d25"/></dir></dir><dir name="Popup"><file name="Emailcatcher.php" hash="0934c203ae1f31f1ce897521395c6bd9"/></dir></dir><dir name="Helper"><file name="Data.php" hash="c4e53e588ab7e44f669b766d36bd4c47"/></dir><dir name="Model"><dir name="Resource"><dir name="Abtesting"><file name="Collection.php" hash="f96fe4be550bef6daabc5d211c86aca0"/></dir><dir name="Mailssent"><file name="Collection.php" hash="dc1e2c44eb53381d57d10a6bc08ad497"/></dir><dir name="Order"><file name="Collection.php" hash="a079410c43e1afbb428b7163d1537482"/></dir><dir name="Popup"><file name="Collection.php" hash="af37502f9802c7574318ab28a8fb1b16"/></dir><file name="Abtesting.php" hash="46e70f8507676e157ddec44f66094e59"/><file name="Mailssent.php" hash="80f0b4e3f29d10951362f07eb45a3ece"/><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="d2928bbbbe7cf359b00e67ef98308148"/></dir></dir><file name="Abtesting.php" hash="fdf9df78b6656c898fd74fbcb3ec51e1"/><file name="Config.php" hash="3571e63f143d9b49a272da02b0a48f84"/><file name="Cron.php" hash="6351bf5642c9f153ba0a9bb6abbd2142"/><file name="EventObserver.php" hash="717246fa2ef5b4e13a4eb36e23ac78e5"/><file name="Mailssent.php" hash="e238f4116cb473cdcfb3a909d08adaa4"/><file name="Popup.php" hash="d2a4922acc0c5c3994cbc0b2114658b8"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AbandonedmailsController.php" hash="060e46a386be3365ae23722c951de848"/><file name="AbandonedorderController.php" hash="3b74880847f1e33d06043eb673b6c39a"/></dir><file name="AbandonedController.php" hash="70aa47c1c680760e849e8fc032bfab08"/></dir><dir name="etc"><file name="adminhtml.xml" hash="62708e88154b231e694210cca0aa6c97"/><file name="config.xml" hash="5ed974a839104f2aad81524996afa38c"/><file name="system.xml" hash="7f801e216f7a8752924bc43d3b1a427b"/></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="4835436b744f8cbff61a66c2e345976f"/><file name="mysql4-upgrade-0.1.18-0.1.19.php" hash="e51b332cb70c81ee472b586fda4e8a7e"/><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="e9fdf4551cf19b488ed68ca0dd55ab67"/><file name="mysql4-upgrade-0.1.30-0.1.31.php" hash="2889ca071f7b974f2cd85a6b9405e541"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="60daa0d70a1af929a39d6e20ee52ee9c"/></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="a2a16f441955f7ae5b9403355eddf986"/></dir><dir name="Model"><dir name="Resource"><dir name="Backtostock"><file name="Collection.php" hash="95a70c48dce1bac7fcb86447bb899057"/></dir><dir name="Backtostockalert"><file name="Collection.php" hash="c0c5d87c559d2e4011697b1a0ccf4846"/></dir><dir name="Review"><file name="Collection.php" hash="098061d250555679c9f609d2087ef9d4"/></dir><dir name="Unsubscribe"><file name="Collection.php" hash="11048027437c0a5bc1478e4f2cdcc51d"/></dir><dir name="Visited"><file name="Collection.php" hash="b09c0ce08ac30cc30f974e5c744eabf1"/></dir><file name="Backtostock.php" hash="85c29c73ba30f2fdf819fc88f5e03098"/><file name="Backtostockalert.php" hash="148ae085ef93a7cf6e52cdd60f1ca9a2"/><file name="Review.php" hash="cf78994db6e262e42a589b6538a45a32"/><file name="Unsubscribe.php" hash="3b9e4d09dbb7ba483a5d16b6312050e6"/><file name="Visited.php" hash="55f2d0c1f90b41e852ecbf964925dc10"/></dir><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="Time.php" hash="4b491667d8ea9816b07f584e84556556"/></dir></dir><file name="Backtostock.php" hash="fa62a4685c70474a2ce3da394e68c597"/><file name="Backtostockalert.php" hash="eabe65c559ee1d93bc8b67dc0bb32a40"/><file name="Config.php" hash="75a65035e240a5154b2037feceb4d864"/><file name="Cron.php" hash="668d7c1c7f82079d54f91b2bf150dcc3"/><file name="EventObserver.php" hash="6fbdbe95331c9b4a15853b49d3984d6e"/><file name="Review.php" hash="c14806dfb106363262b9911e8d06f628"/><file name="Unsubscribe.php" hash="cb20baf948256b9b70a13ed52ab91bab"/><file name="Visited.php" hash="2e9f119fc630cefc50f5a2a21546ebfc"/></dir><dir name="controllers"><file name="AutoresponderController.php" hash="60f7a997438b80a76a7c5c08db8d11d5"/><file name="BacktostockController.php" hash="34b99cc172104773070d9d39cb290534"/></dir><dir name="etc"><file name="adminhtml.xml" hash="59a240f12b496566f1a2b1de5f053e96"/><file name="config.xml" hash="d8f208ec9574c1466078559665b4c87e"/><file name="system.xml" hash="790c6d43450e7a251c19e09a78cf9d93"/></dir><dir name="sql"><dir name="ebizmarts_autoresponder_setup"><file name="mysql4-install-0.1.0.php" hash="d2152df00146562b30910ebe36c9b4e8"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="2ab92d2cf0f5fa7ccf7b61d9ab142a01"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="af5c814496fe07a20aac583cd68cb0b7"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="378accc07eb80b16029db84f56bed683"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="53cc6beed11e8631c11a008c5fd78ce1"/></dir></dir></dir><dir name="SweetMonkey"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="a1d28320ed21eaa6c20aa98c0b4e3492"/></dir><dir name="Form"><dir name="Field"><file name="Mapfields.php" hash="a0dfcfa3e1e22bdb33005a999cb0867b"/></dir></dir><file name="Autovars.php" hash="fc3ebb5ffe5344ef74a294547614c28f"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="83c32ef3e5433e701a10ef9cc5370d04"/></dir><dir name="Model"><file name="Cron.php" hash="a253d6bdbb03ca2d1fa87fde52c934ee"/><file name="Observer.php" hash="cb0e1e7a66c042205c415c5029a3b071"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="MageMonkeyController.php" hash="f7d0e23ca908825800044a19ef68094a"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="8a81e6639cd53c96717a6b993d5fcd93"/><file name="config.xml" hash="fdd28267f29ce6ad0109f9b756a08979"/><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"><dir name="ebizmarts"><file name="abandonedcart.xml" hash="14282d8f8739578d51c57def5df1227a"/><file name="autoresponder.xml" hash="d8dfb68cfd7c838cf29e9281a9a76c36"/></dir><file name="magemonkey.xml" hash="8eef43f9d728e252a5f7d7b6cea93a19"/></dir><dir name="template"><dir name="magemonkey"><dir name="checkout"><file name="subscribe.phtml" hash="41916fd7fccc22a83380dd5642b6a8cc"/></dir><file name="lists.phtml" hash="17f70d4e4bff4e14104381f927d80538"/></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="7be104a21130974fd4aae1f8727d5e7d"/></dir></dir><dir name="popup"><file name="emailcatcher.phtml" hash="409fd9df4f5b10d5e92e8b5434781c83"/></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="55f82ee9207c9e5a2d6fbd77ffc9921f"/></dir><dir name="customer"><file name="list.phtml" hash="21d2f116e2f509943175c43bc5863582"/></dir><dir name="related"><file name="items.phtml" hash="7de2510a4dcfc9627a0dc514360bf423"/></dir><dir name="review"><file name="items.phtml" hash="d409b68a2bc8cbe6779f11cc2784d022"/></dir><dir name="wishlist"><file name="items.phtml" hash="73a0cf8ee106d4cff7a77c9c4a69e363"/></dir><file name="unsubscribe.phtml" hash="ca8ed1c5810e07f1cdc91edb64420417"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="ebizmarts"><file name="mandrill.xml" hash="ba93e973a9019841c7d914ecd729983c"/><file name="abandonedcart.xml" hash="9ed91dab216911a13a2669bd81734180"/></dir><file name="magemonkey.xml" hash="4a2ba63a9d3002774b622e76339e6fbb"/></dir><dir name="template"><dir name="magemonkey"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="2fc348d98ca7fbc41fb2a13e6cfb78de"/></dir><file name="oauth_wizard.phtml" hash="91b3472b4e9a5bc26851b76bfcea59c5"/><file name="resetlocal360.phtml" hash="ee9a0fa8f8b09323b9f0d7786f645c8f"/><file name="resetremote360.phtml" hash="2a67ad95f8ffabdc1e2d1e572c4118ae"/></dir></dir></dir><dir name="ebizmarts"><dir name="mandrill"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="3d00dbc6b6141e8e0b639ac92ac95da5"/></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="e5bbebab8f645b423530764b4c844e47"/></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="83cd4fef418fdcda52b3bb5e534fda85"/></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"><dir name="fieldset"><file name="hint.phtml" hash="16d8c86502ff2a2a01c7e7e8a421bfcb"/></dir><file name="autovars.phtml" hash="53da8402573546ecdcbe2f5e9b3ab57a"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><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="f909f0edf431e2da29281904612bd902"/><file name="birthday.html" hash="716502b8dd97b4b485264c18e7c75317"/><file name="neworder.html" hash="14db5244b8bb8e7b33ad32991ea8060f"/><file name="noactivity.html" hash="ca5ba93441cf80ccf0ea79aef039fc77"/><file name="relatedproducts.html" hash="9cd19f74d0c42967526d54a197453945"/><file name="review.html" hash="0d9d872e4a0d0290cea079ccec3658c5"/><file name="reviewcoupon.html" hash="925152cf7f223b6caf92f0a502233e03"/><file name="visitedproducts.html" hash="fc89e6fd3007ca57a6359553f389a656"/><file name="wishlist.html" hash="804468d3e1f758988c633d3b8eb547ea"/></dir></dir></dir></dir><file name="Ebizmarts_MageMonkey.csv" hash="181e91ed91dfea5fe7dab66af5719af8"/><file name="Ebizmarts_Mandrill.csv" hash="3dac3af57664fd34f5eda8abf4098ee0"/><file name="Ebizmarts_AbandonedCart.csv" hash="214bcd0e8cd6153c48fab236dcfdba1b"/><file name="Ebizmarts_Autoresponder.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Ebizmarts_SweetMonkey.csv" hash="f0cdb51ba2052ce7f7ec1c9885ee5d3c"/></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="1a515d6697d533ee012754dd20e60345"/><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"><dir name="mandrill"><file name="mandrill-tab.png" hash="d7eaf9deef355e4b8b55a96070b90ffe"/><file name="mandrill.css" hash="d93f1f52db38195a4f85d20de519151e"/></dir><file name="ebizmarts-tab.png" hash="6dfa08c5cd4329d1df6e7b71fb1f925a"/><file name="ebizmarts.css" hash="a579734639953c1970ec26f56dda5837"/></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="5984cd563aee48b7ba648066f733113a"/></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="3ed368771a7174af0e01287e3a3e030f"/><file name="Inbound.php" hash="32378db89f2f47fe158577c256837896"/><file name="Internal.php" hash="fa680d47c780922a111078827cad1505"/><file name="Ips.php" hash="c70c08b34454d2e7aebc31101cfdca81"/><file name="Messages.php" hash="f1f3c20b6c872c72dcc33790d6a3adf4"/><file name="Metadata.php" hash="57820ae2032206334fb6e6d9b12f4df2"/><file name="Rejects.php" hash="f40f9ef016c338c6ae9d161c3112eea6"/><file name="Senders.php" hash="875ddbeff3f920397c73c2c2797f3eea"/><file name="Subaccounts.php" hash="9b6b61a8e0364c9f917952deffe0320c"/><file name="Tags.php" hash="ee2f9e328d4d49aa8b0289978f7375b0"/><file name="Templates.php" hash="9920cf5d10bdcb5416193435c425f123"/><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="cb6620ee6d4767e9b4edb1d574fe5dbe"/><file name="Message.php" hash="784920e095d8d9f0269b46f00071fcc9"/></dir></dir><dir name="js"><dir name="ebizmarts"><dir name="abandonedcart"><file name="popup.css" hash="06b3fe11e77211382137fd4e34004919"/><file name="xmark.png" hash="6f14c834def36c1185347c49021030a4"/></dir><dir name="autoresponders"><file name="visitedproducts.js" hash="61ef8d19642d349a19a43d018888f205"/><file name="visitedproductsstorecodes.js" hash="2cea5956611572cae6140db11c6d4672"/></dir><dir name="magemonkey"><file name="campaignCatcher.js" hash="db53c24296c7e2dddb46168632e05987"/></dir></dir></dir></target></contents>
|
40 |
<compatible/>
|
41 |
<dependencies/>
|
42 |
</package>
|