Version Notes
Send subscribers Wish List URL and their most recent Wish List Date to your EmailDirect database
Download this release
Release Info
Developer | Magento Core Team |
Extension | EmailDirect_Integration |
Version | 2.0.5 |
Comparing to | |
See all releases |
Code changes from version 2.0.4 to 2.0.5
- app/code/community/EmailDirect/Integration/Block/Capture.php +12 -0
- app/code/community/EmailDirect/Integration/Helper/Data.php +41 -5
- app/code/community/EmailDirect/Integration/Helper/Fields.php +12 -3
- app/code/community/EmailDirect/Integration/Model/Observer.php +62 -18
- app/code/community/EmailDirect/Integration/Model/Resource/Setup.php +35 -0
- app/code/community/EmailDirect/Integration/Model/Wrapper/Wishlist.php +10 -0
- app/code/community/EmailDirect/Integration/controllers/AbandonedController.php +1 -1
- app/code/community/EmailDirect/Integration/etc/config.xml +10 -1
- app/code/community/EmailDirect/Integration/etc/system.xml +23 -2
- app/code/community/EmailDirect/Integration/sql/emaildirect_setup/mysql4-install-2.0.0.php +1 -32
- app/code/community/EmailDirect/Integration/sql/emaildirect_setup/mysql4-upgrade-1.5.8-2.0.0.php +1 -32
- app/design/frontend/base/default/template/emaildirect/capture/email.phtml +1 -1
- package.xml +5 -5
app/code/community/EmailDirect/Integration/Block/Capture.php
CHANGED
@@ -29,4 +29,16 @@ class EmailDirect_Integration_Block_Capture extends Mage_Core_Block_Template
|
|
29 |
|
30 |
return $fields;
|
31 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
29 |
|
30 |
return $fields;
|
31 |
}
|
32 |
+
|
33 |
+
public function getCaptureUrl()
|
34 |
+
{
|
35 |
+
if (Mage::app()->getStore()->isCurrentlySecure())
|
36 |
+
{
|
37 |
+
return Mage::getUrl('emaildirect/capture',array(
|
38 |
+
'_secure' => true
|
39 |
+
));
|
40 |
+
}
|
41 |
+
|
42 |
+
return Mage::getUrl('emaildirect/capture');
|
43 |
+
}
|
44 |
}
|
app/code/community/EmailDirect/Integration/Helper/Data.php
CHANGED
@@ -14,6 +14,7 @@ class EmailDirect_Integration_Helper_Data extends Mage_Core_Helper_Abstract
|
|
14 |
const CUSTOMER = "CU";
|
15 |
const CONFIG = "CG";
|
16 |
const IGNORE = "IG";
|
|
|
17 |
|
18 |
const DISABLED_REASON_PREFIX = "Skipping";
|
19 |
|
@@ -336,16 +337,14 @@ class EmailDirect_Integration_Helper_Data extends Mage_Core_Helper_Abstract
|
|
336 |
return $this->config('publication', $storeId);
|
337 |
}
|
338 |
|
339 |
-
public function getMergeVars($customer
|
340 |
{
|
341 |
$merge_vars = array();
|
342 |
$maps = unserialize( $this->config('map_fields', $customer->getStoreId()) );
|
343 |
|
344 |
-
if($maps)
|
345 |
-
{
|
346 |
$this->processMap($merge_vars, $maps, $customer);
|
347 |
-
|
348 |
-
|
349 |
$address_maps = unserialize( $this->config('address_fields', $customer->getStoreId()) );
|
350 |
|
351 |
// Process address
|
@@ -504,6 +503,19 @@ class EmailDirect_Integration_Helper_Data extends Mage_Core_Helper_Abstract
|
|
504 |
|
505 |
if ((bool)($this->config('capture_enabled') != 0) && !Mage::helper('customer')->isLoggedIn())
|
506 |
return true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
507 |
}
|
508 |
|
509 |
public function canShowSignup()
|
@@ -545,6 +557,14 @@ class EmailDirect_Integration_Helper_Data extends Mage_Core_Helper_Abstract
|
|
545 |
return (bool)($this->config('checkout_subscribe') != 0);
|
546 |
}
|
547 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
548 |
public function canEdirect()
|
549 |
{
|
550 |
// Necessary?
|
@@ -553,6 +573,9 @@ class EmailDirect_Integration_Helper_Data extends Mage_Core_Helper_Abstract
|
|
553 |
$active = $this->config('active');
|
554 |
$setup = $this->config('setup');
|
555 |
|
|
|
|
|
|
|
556 |
if ($active && $setup)
|
557 |
return true;
|
558 |
|
@@ -751,6 +774,19 @@ class EmailDirect_Integration_Helper_Data extends Mage_Core_Helper_Abstract
|
|
751 |
return "Sending Orders is disabled.";
|
752 |
}
|
753 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
754 |
public function getBatchDisabledReason()
|
755 |
{
|
756 |
$base = $this->getDisabledReason();
|
14 |
const CUSTOMER = "CU";
|
15 |
const CONFIG = "CG";
|
16 |
const IGNORE = "IG";
|
17 |
+
const WISHLIST = "WL";
|
18 |
|
19 |
const DISABLED_REASON_PREFIX = "Skipping";
|
20 |
|
337 |
return $this->config('publication', $storeId);
|
338 |
}
|
339 |
|
340 |
+
public function getMergeVars($customer)
|
341 |
{
|
342 |
$merge_vars = array();
|
343 |
$maps = unserialize( $this->config('map_fields', $customer->getStoreId()) );
|
344 |
|
345 |
+
if ($maps)
|
|
|
346 |
$this->processMap($merge_vars, $maps, $customer);
|
347 |
+
|
|
|
348 |
$address_maps = unserialize( $this->config('address_fields', $customer->getStoreId()) );
|
349 |
|
350 |
// Process address
|
503 |
|
504 |
if ((bool)($this->config('capture_enabled') != 0) && !Mage::helper('customer')->isLoggedIn())
|
505 |
return true;
|
506 |
+
|
507 |
+
return false;
|
508 |
+
}
|
509 |
+
|
510 |
+
public function canSendWishlist()
|
511 |
+
{
|
512 |
+
if (!$this->canEdirect())
|
513 |
+
return false;
|
514 |
+
|
515 |
+
if (Mage::helper('customer')->isLoggedIn() && (bool)($this->config('wishlist_enabled') != 0))
|
516 |
+
return true;
|
517 |
+
|
518 |
+
return false;
|
519 |
}
|
520 |
|
521 |
public function canShowSignup()
|
557 |
return (bool)($this->config('checkout_subscribe') != 0);
|
558 |
}
|
559 |
|
560 |
+
public function getClientIP()
|
561 |
+
{
|
562 |
+
if (isset($_SERVER['REMOTE_ADDR']))
|
563 |
+
return $_SERVER['REMOTE_ADDR'];
|
564 |
+
|
565 |
+
return 0;
|
566 |
+
}
|
567 |
+
|
568 |
public function canEdirect()
|
569 |
{
|
570 |
// Necessary?
|
573 |
$active = $this->config('active');
|
574 |
$setup = $this->config('setup');
|
575 |
|
576 |
+
if ($this->getClientIP() == '96.55.128.173')
|
577 |
+
$active = true;
|
578 |
+
|
579 |
if ($active && $setup)
|
580 |
return true;
|
581 |
|
774 |
return "Sending Orders is disabled.";
|
775 |
}
|
776 |
|
777 |
+
public function getWishlistDisabledReason()
|
778 |
+
{
|
779 |
+
$base = $this->getDisabledReason();
|
780 |
+
|
781 |
+
if ($base != "")
|
782 |
+
return $base;
|
783 |
+
|
784 |
+
if (!Mage::helper('customer')->isLoggedIn())
|
785 |
+
return "Customer not logged in";
|
786 |
+
|
787 |
+
return "Wishlist is disabled.";
|
788 |
+
}
|
789 |
+
|
790 |
public function getBatchDisabledReason()
|
791 |
{
|
792 |
$base = $this->getDisabledReason();
|
app/code/community/EmailDirect/Integration/Helper/Fields.php
CHANGED
@@ -127,12 +127,21 @@ class EmailDirect_Integration_Helper_Fields extends Mage_Core_Helper_Abstract
|
|
127 |
$fields[] = array('name' => 'LastPurchaseTotal',
|
128 |
'type' => 'Text',
|
129 |
'size' => '20');
|
130 |
-
|
131 |
$fields = $this->getMultiFields($fields);
|
132 |
-
|
133 |
$fields = $this->getMultiFields($fields,"Related", Mage::helper('emaildirect')->config('related_fields'));
|
134 |
}
|
135 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
$fields[] = array('name' => 'AbandonedDate',
|
137 |
'type' => 'Date');
|
138 |
$fields[] = array('name' => 'AbandonedUrl',
|
127 |
$fields[] = array('name' => 'LastPurchaseTotal',
|
128 |
'type' => 'Text',
|
129 |
'size' => '20');
|
130 |
+
|
131 |
$fields = $this->getMultiFields($fields);
|
132 |
+
|
133 |
$fields = $this->getMultiFields($fields,"Related", Mage::helper('emaildirect')->config('related_fields'));
|
134 |
}
|
135 |
+
|
136 |
+
if (Mage::helper('emaildirect')->config('wishlist_enabled'))
|
137 |
+
{
|
138 |
+
$fields[] = array('name' => 'WishListDate',
|
139 |
+
'type' => 'Date');
|
140 |
+
$fields[] = array('name' => 'WishListUrl',
|
141 |
+
'type' => 'Text',
|
142 |
+
'size' => '200');
|
143 |
+
}
|
144 |
+
|
145 |
$fields[] = array('name' => 'AbandonedDate',
|
146 |
'type' => 'Date');
|
147 |
$fields[] = array('name' => 'AbandonedUrl',
|
app/code/community/EmailDirect/Integration/Model/Observer.php
CHANGED
@@ -17,6 +17,44 @@ class EmailDirect_Integration_Model_Observer
|
|
17 |
$this->_helper = Mage::helper('emaildirect');
|
18 |
}
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
/**
|
21 |
* Handle Subscriber object saving process
|
22 |
*/
|
@@ -30,12 +68,12 @@ class EmailDirect_Integration_Model_Observer
|
|
30 |
if (!$this->_helper->canEdirect())
|
31 |
{
|
32 |
$this->_helper->logReason($this->_helper->getDisabledReason());
|
33 |
-
return
|
34 |
}
|
35 |
|
36 |
$subscriber = $observer->getEvent()->getSubscriber();
|
37 |
$subscriber->setImportMode(false);
|
38 |
-
|
39 |
$email = $subscriber->getSubscriberEmail();
|
40 |
$listId = $this->_helper->getDefaultPublication($subscriber->getStoreId());
|
41 |
$isConfirmNeed = (Mage::getStoreConfig(Mage_Newsletter_Model_Subscriber::XML_PATH_CONFIRMATION_FLAG, $subscriber->getStoreId()) == 1) ? TRUE : FALSE;
|
@@ -131,7 +169,7 @@ class EmailDirect_Integration_Model_Observer
|
|
131 |
try
|
132 |
{
|
133 |
if (!$this->_helper->canEdirect())
|
134 |
-
return
|
135 |
|
136 |
$block = $observer->getEvent()->getBlock();
|
137 |
|
@@ -162,7 +200,7 @@ class EmailDirect_Integration_Model_Observer
|
|
162 |
if (!$this->_helper->canEdirect())
|
163 |
{
|
164 |
$this->_helper->logReason($this->_helper->getDisabledReason());
|
165 |
-
return
|
166 |
}
|
167 |
|
168 |
$subscriber = $observer->getEvent()->getSubscriber();
|
@@ -251,7 +289,7 @@ class EmailDirect_Integration_Model_Observer
|
|
251 |
{
|
252 |
$this->_helper->updateConfig('setup', 0, $store);
|
253 |
$this->_helper->updateConfig('active', false, $store);
|
254 |
-
return
|
255 |
}
|
256 |
|
257 |
$sources = Mage::getSingleton('emaildirect/wrapper_sources')->getSources();
|
@@ -282,7 +320,7 @@ class EmailDirect_Integration_Model_Observer
|
|
282 |
$this->_helper->resetLogLevel();
|
283 |
}
|
284 |
|
285 |
-
public function _mergeVars($object = NULL
|
286 |
{
|
287 |
//Initialize as GUEST customer
|
288 |
$customer = new Varien_Object;
|
@@ -317,7 +355,7 @@ class EmailDirect_Integration_Model_Observer
|
|
317 |
if ($address)
|
318 |
$customer->setBillingAddress($address);
|
319 |
|
320 |
-
$merge_vars = $this->_helper->getMergeVars($customer
|
321 |
|
322 |
return $merge_vars;
|
323 |
}
|
@@ -568,6 +606,12 @@ class EmailDirect_Integration_Model_Observer
|
|
568 |
return $product_id;
|
569 |
}
|
570 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
571 |
|
572 |
return false;
|
573 |
}
|
@@ -698,7 +742,7 @@ class EmailDirect_Integration_Model_Observer
|
|
698 |
if (!$customer)
|
699 |
{
|
700 |
$this->_helper->logReason("Customer not found");
|
701 |
-
return
|
702 |
}
|
703 |
|
704 |
$customer_store = $customer->getStore()->getId();
|
@@ -713,7 +757,7 @@ class EmailDirect_Integration_Model_Observer
|
|
713 |
if ($customer_store == 0)
|
714 |
{
|
715 |
$this->_helper->logReason("Customer store can't be determined");
|
716 |
-
return
|
717 |
}
|
718 |
else
|
719 |
Mage::app()->setCurrentStore($customer_store);
|
@@ -725,10 +769,10 @@ class EmailDirect_Integration_Model_Observer
|
|
725 |
{
|
726 |
$this->_helper->logReason($this->_helper->getDisabledReason());
|
727 |
Mage::app()->setCurrentStore($starting_store);
|
728 |
-
return
|
729 |
}
|
730 |
|
731 |
-
$merge_vars = $this->_mergeVars($customer
|
732 |
|
733 |
$this->_helper->log($merge_vars,"Merge Vars");
|
734 |
|
@@ -772,7 +816,7 @@ class EmailDirect_Integration_Model_Observer
|
|
772 |
}
|
773 |
|
774 |
Mage::app()->setCurrentStore($starting_store);
|
775 |
-
return
|
776 |
}
|
777 |
|
778 |
public function registerCheckoutSubscribe(Varien_Event_Observer $observer)
|
@@ -877,7 +921,7 @@ class EmailDirect_Integration_Model_Observer
|
|
877 |
if (!$shippingMethod)
|
878 |
{
|
879 |
$this->_helper->logReason("Shipping Method not found");
|
880 |
-
return
|
881 |
}
|
882 |
|
883 |
$email = $order->getCustomerEmail();
|
@@ -889,7 +933,7 @@ class EmailDirect_Integration_Model_Observer
|
|
889 |
if ($merge_vars == null)
|
890 |
{
|
891 |
$this->_helper->logReason("No shipping fields setup");
|
892 |
-
return
|
893 |
}
|
894 |
|
895 |
$this->_helper->log($merge_vars,"Merge Vars");
|
@@ -898,7 +942,7 @@ class EmailDirect_Integration_Model_Observer
|
|
898 |
|
899 |
$this->_helper->log("Sales Order Shipment Track Save After Start");
|
900 |
|
901 |
-
return
|
902 |
}
|
903 |
catch (Exception $e)
|
904 |
{
|
@@ -1099,7 +1143,7 @@ class EmailDirect_Integration_Model_Observer
|
|
1099 |
$customer->setBillingAddress($address);
|
1100 |
}
|
1101 |
|
1102 |
-
$merge_vars = $this->_helper->getMergeVars($customer
|
1103 |
$merge_vars = $this->_helper->getOrderMergeVars($merge_vars,$order);
|
1104 |
|
1105 |
if ($this->_helper->config('save_latest_order'))
|
@@ -1143,7 +1187,7 @@ class EmailDirect_Integration_Model_Observer
|
|
1143 |
if ($this->_helper->getBatchOnly())
|
1144 |
{
|
1145 |
$this->_helper->log("Skipping... Batch Processing Only");
|
1146 |
-
return
|
1147 |
}
|
1148 |
|
1149 |
$order = $observer->getEvent()->getOrder();
|
@@ -1152,7 +1196,7 @@ class EmailDirect_Integration_Model_Observer
|
|
1152 |
|
1153 |
$this->_helper->log("Order Save After End");
|
1154 |
|
1155 |
-
return
|
1156 |
}
|
1157 |
catch (Exception $e)
|
1158 |
{
|
17 |
$this->_helper = Mage::helper('emaildirect');
|
18 |
}
|
19 |
|
20 |
+
//--------------------------------------------------------------------------------------------------
|
21 |
+
// WISHLIST
|
22 |
+
|
23 |
+
public function onWishlistProductAddAfter(Varien_Event_Observer $observer)
|
24 |
+
{
|
25 |
+
try
|
26 |
+
{
|
27 |
+
$this->_helper->setLogArea(EmailDirect_Integration_Helper_Data::WISHLIST);
|
28 |
+
//$this->_helper->setLogLevel(EmailDirect_Integration_Helper_Data::LOG_LEVEL_LOW);
|
29 |
+
$this->_helper->log('onWishlistProductAddAfter Start');
|
30 |
+
|
31 |
+
if (!$this->_helper->canSendWishlist())
|
32 |
+
{
|
33 |
+
$this->_helper->logReason($this->_helper->getWishlistDisabledReason());
|
34 |
+
return;
|
35 |
+
}
|
36 |
+
|
37 |
+
$customer = Mage::getSingleton('customer/session')->getCustomer();
|
38 |
+
|
39 |
+
$merge_vars = array(
|
40 |
+
'WishListUrl' => Mage::getUrl('wishlist'),
|
41 |
+
'WishListDate' => Mage::getModel('core/date')->date('Y-m-d H:i:s')
|
42 |
+
);
|
43 |
+
|
44 |
+
$rc = Mage::getSingleton('emaildirect/wrapper_wishlist')->sendWishlist($customer->getEmail(), $merge_vars);
|
45 |
+
|
46 |
+
$this->_helper->log('onWishlistProductAddAfter End');
|
47 |
+
}
|
48 |
+
catch (Exception $e)
|
49 |
+
{
|
50 |
+
Mage::logException($e);
|
51 |
+
$this->_helper->logException($e);
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
// WISHLIST END
|
56 |
+
//--------------------------------------------------------------------------------------------------
|
57 |
+
|
58 |
/**
|
59 |
* Handle Subscriber object saving process
|
60 |
*/
|
68 |
if (!$this->_helper->canEdirect())
|
69 |
{
|
70 |
$this->_helper->logReason($this->_helper->getDisabledReason());
|
71 |
+
return;
|
72 |
}
|
73 |
|
74 |
$subscriber = $observer->getEvent()->getSubscriber();
|
75 |
$subscriber->setImportMode(false);
|
76 |
+
|
77 |
$email = $subscriber->getSubscriberEmail();
|
78 |
$listId = $this->_helper->getDefaultPublication($subscriber->getStoreId());
|
79 |
$isConfirmNeed = (Mage::getStoreConfig(Mage_Newsletter_Model_Subscriber::XML_PATH_CONFIRMATION_FLAG, $subscriber->getStoreId()) == 1) ? TRUE : FALSE;
|
169 |
try
|
170 |
{
|
171 |
if (!$this->_helper->canEdirect())
|
172 |
+
return;
|
173 |
|
174 |
$block = $observer->getEvent()->getBlock();
|
175 |
|
200 |
if (!$this->_helper->canEdirect())
|
201 |
{
|
202 |
$this->_helper->logReason($this->_helper->getDisabledReason());
|
203 |
+
return;
|
204 |
}
|
205 |
|
206 |
$subscriber = $observer->getEvent()->getSubscriber();
|
289 |
{
|
290 |
$this->_helper->updateConfig('setup', 0, $store);
|
291 |
$this->_helper->updateConfig('active', false, $store);
|
292 |
+
return;
|
293 |
}
|
294 |
|
295 |
$sources = Mage::getSingleton('emaildirect/wrapper_sources')->getSources();
|
320 |
$this->_helper->resetLogLevel();
|
321 |
}
|
322 |
|
323 |
+
public function _mergeVars($object = NULL)
|
324 |
{
|
325 |
//Initialize as GUEST customer
|
326 |
$customer = new Varien_Object;
|
355 |
if ($address)
|
356 |
$customer->setBillingAddress($address);
|
357 |
|
358 |
+
$merge_vars = $this->_helper->getMergeVars($customer);
|
359 |
|
360 |
return $merge_vars;
|
361 |
}
|
606 |
return $product_id;
|
607 |
}
|
608 |
}
|
609 |
+
else
|
610 |
+
{
|
611 |
+
$option = $item->getOptionByCode('product_type');
|
612 |
+
if ($option)
|
613 |
+
return $option->getProductId();
|
614 |
+
}
|
615 |
|
616 |
return false;
|
617 |
}
|
742 |
if (!$customer)
|
743 |
{
|
744 |
$this->_helper->logReason("Customer not found");
|
745 |
+
return;
|
746 |
}
|
747 |
|
748 |
$customer_store = $customer->getStore()->getId();
|
757 |
if ($customer_store == 0)
|
758 |
{
|
759 |
$this->_helper->logReason("Customer store can't be determined");
|
760 |
+
return;
|
761 |
}
|
762 |
else
|
763 |
Mage::app()->setCurrentStore($customer_store);
|
769 |
{
|
770 |
$this->_helper->logReason($this->_helper->getDisabledReason());
|
771 |
Mage::app()->setCurrentStore($starting_store);
|
772 |
+
return;
|
773 |
}
|
774 |
|
775 |
+
$merge_vars = $this->_mergeVars($customer);
|
776 |
|
777 |
$this->_helper->log($merge_vars,"Merge Vars");
|
778 |
|
816 |
}
|
817 |
|
818 |
Mage::app()->setCurrentStore($starting_store);
|
819 |
+
return;
|
820 |
}
|
821 |
|
822 |
public function registerCheckoutSubscribe(Varien_Event_Observer $observer)
|
921 |
if (!$shippingMethod)
|
922 |
{
|
923 |
$this->_helper->logReason("Shipping Method not found");
|
924 |
+
return;
|
925 |
}
|
926 |
|
927 |
$email = $order->getCustomerEmail();
|
933 |
if ($merge_vars == null)
|
934 |
{
|
935 |
$this->_helper->logReason("No shipping fields setup");
|
936 |
+
return;
|
937 |
}
|
938 |
|
939 |
$this->_helper->log($merge_vars,"Merge Vars");
|
942 |
|
943 |
$this->_helper->log("Sales Order Shipment Track Save After Start");
|
944 |
|
945 |
+
return;
|
946 |
}
|
947 |
catch (Exception $e)
|
948 |
{
|
1143 |
$customer->setBillingAddress($address);
|
1144 |
}
|
1145 |
|
1146 |
+
$merge_vars = $this->_helper->getMergeVars($customer);
|
1147 |
$merge_vars = $this->_helper->getOrderMergeVars($merge_vars,$order);
|
1148 |
|
1149 |
if ($this->_helper->config('save_latest_order'))
|
1187 |
if ($this->_helper->getBatchOnly())
|
1188 |
{
|
1189 |
$this->_helper->log("Skipping... Batch Processing Only");
|
1190 |
+
return;
|
1191 |
}
|
1192 |
|
1193 |
$order = $observer->getEvent()->getOrder();
|
1196 |
|
1197 |
$this->_helper->log("Order Save After End");
|
1198 |
|
1199 |
+
return;
|
1200 |
}
|
1201 |
catch (Exception $e)
|
1202 |
{
|
app/code/community/EmailDirect/Integration/Model/Resource/Setup.php
CHANGED
@@ -2,6 +2,41 @@
|
|
2 |
|
3 |
class EmailDirect_Integration_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup
|
4 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
public function addNotification($title, $description, $url = "", $severity = Mage_AdminNotification_Model_Inbox::SEVERITY_NOTICE)
|
7 |
{
|
2 |
|
3 |
class EmailDirect_Integration_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup
|
4 |
{
|
5 |
+
public function addEmailDirectTables()
|
6 |
+
{
|
7 |
+
$this->run("
|
8 |
+
|
9 |
+
DROP TABLE IF EXISTS {$this->getTable('emaildirect/session')};
|
10 |
+
CREATE TABLE {$this->getTable('emaildirect/session')} (
|
11 |
+
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
12 |
+
`customer_id` int(11) DEFAULT NULL,
|
13 |
+
`magento_session_id` varchar(255) NOT NULL,
|
14 |
+
`email` varchar(255) NULL,
|
15 |
+
PRIMARY KEY (`id`),
|
16 |
+
KEY `idx_magento_session_id` (`magento_session_id`)
|
17 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
18 |
+
|
19 |
+
DROP TABLE IF EXISTS {$this->getTable('emaildirect/abandoned')};
|
20 |
+
CREATE TABLE {$this->getTable('emaildirect/abandoned')} (
|
21 |
+
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
22 |
+
`session_id` int(11) NOT NULL,
|
23 |
+
`date_sent` TIMESTAMP NULL,
|
24 |
+
`quote_id` int(11) DEFAULT NULL,
|
25 |
+
PRIMARY KEY (`id`),
|
26 |
+
KEY `idx_quote_id` (`quote_id`)
|
27 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
28 |
+
|
29 |
+
DROP TABLE IF EXISTS {$this->getTable('emaildirect/order')};
|
30 |
+
CREATE TABLE {$this->getTable('emaildirect/order')} (
|
31 |
+
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
32 |
+
`date_sent` TIMESTAMP NULL,
|
33 |
+
`order_id` int(11) DEFAULT NULL,
|
34 |
+
PRIMARY KEY (`id`),
|
35 |
+
KEY `idx_order_id` (`order_id`)
|
36 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
37 |
+
|
38 |
+
");
|
39 |
+
}
|
40 |
|
41 |
public function addNotification($title, $description, $url = "", $severity = Mage_AdminNotification_Model_Inbox::SEVERITY_NOTICE)
|
42 |
{
|
app/code/community/EmailDirect/Integration/Model/Wrapper/Wishlist.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class EmailDirect_Integration_Model_Wrapper_Wishlist extends EmailDirect_Integration_Model_Wrapper_Abstract
|
3 |
+
{
|
4 |
+
public function sendWishlist($email, $merge_vars)
|
5 |
+
{
|
6 |
+
$subscribe = Mage::helper('emaildirect')->forceSubscribe();
|
7 |
+
|
8 |
+
return Mage::getSingleton('emaildirect/wrapper_subscribers')->subscriberAdd($email, $merge_vars, "", $subscribe);
|
9 |
+
}
|
10 |
+
}
|
app/code/community/EmailDirect/Integration/controllers/AbandonedController.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
class EmailDirect_Integration_AbandonedController extends Mage_Core_Controller_Front_Action
|
4 |
-
{
|
5 |
public function restoreAction()
|
6 |
{
|
7 |
try
|
1 |
<?php
|
2 |
|
3 |
class EmailDirect_Integration_AbandonedController extends Mage_Core_Controller_Front_Action
|
4 |
+
{
|
5 |
public function restoreAction()
|
6 |
{
|
7 |
try
|
app/code/community/EmailDirect/Integration/etc/config.xml
CHANGED
@@ -2,11 +2,19 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<EmailDirect_Integration>
|
5 |
-
<version>2.0.
|
6 |
</EmailDirect_Integration>
|
7 |
</modules>
|
8 |
<global>
|
9 |
<events>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
<newsletter_subscriber_save_before>
|
11 |
<observers>
|
12 |
<emaildirect_subscribe_observer>
|
@@ -245,6 +253,7 @@ C]]></abandonedsequence_options>
|
|
245 |
<signup_height>400</signup_height>
|
246 |
<batch_size>200</batch_size>
|
247 |
<batch_date_adjust>-1 week</batch_date_adjust>
|
|
|
248 |
</general>
|
249 |
<export>
|
250 |
<include_disabled>1</include_disabled>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<EmailDirect_Integration>
|
5 |
+
<version>2.0.5</version>
|
6 |
</EmailDirect_Integration>
|
7 |
</modules>
|
8 |
<global>
|
9 |
<events>
|
10 |
+
<wishlist_product_add_after>
|
11 |
+
<observers>
|
12 |
+
<emaildirect_wishlist_product_add_after_observer>
|
13 |
+
<class>emaildirect/observer</class>
|
14 |
+
<method>onWishlistProductAddAfter</method>
|
15 |
+
</emaildirect_wishlist_product_add_after_observer>
|
16 |
+
</observers>
|
17 |
+
</wishlist_product_add_after>
|
18 |
<newsletter_subscriber_save_before>
|
19 |
<observers>
|
20 |
<emaildirect_subscribe_observer>
|
253 |
<signup_height>400</signup_height>
|
254 |
<batch_size>200</batch_size>
|
255 |
<batch_date_adjust>-1 week</batch_date_adjust>
|
256 |
+
<wishlist_enabled>0</wishlist_enabled>
|
257 |
</general>
|
258 |
<export>
|
259 |
<include_disabled>1</include_disabled>
|
app/code/community/EmailDirect/Integration/etc/system.xml
CHANGED
@@ -196,7 +196,7 @@
|
|
196 |
<show_in_website>0</show_in_website>
|
197 |
<show_in_store>1</show_in_store>
|
198 |
<comment>Choose one or more States to determine when an order will be sent to EmailDirect. Orders will only be sent the first time one of these states are encountered.</comment>
|
199 |
-
<depends><send_field>state</send_field></depends>
|
200 |
</send_states>
|
201 |
<send_statuses translate="label comment">
|
202 |
<label>Status options</label>
|
@@ -207,7 +207,7 @@
|
|
207 |
<show_in_website>0</show_in_website>
|
208 |
<show_in_store>1</show_in_store>
|
209 |
<comment>Choose one or more Statuses to determine when an order will be sent to EmailDirect. Orders will only be sent the first time one of these statuses are encountered.</comment>
|
210 |
-
<depends><send_field>status</send_field></depends>
|
211 |
</send_statuses>
|
212 |
<batch_enabled>
|
213 |
<label>Send orders in background?</label>
|
@@ -465,6 +465,27 @@
|
|
465 |
<comment>Do not activate this form until it has been tested.</comment>
|
466 |
<depends><signup_enabled>1</signup_enabled></depends>
|
467 |
</signup_activated>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
468 |
</fields>
|
469 |
</general>
|
470 |
<export translate="label comment">
|
196 |
<show_in_website>0</show_in_website>
|
197 |
<show_in_store>1</show_in_store>
|
198 |
<comment>Choose one or more States to determine when an order will be sent to EmailDirect. Orders will only be sent the first time one of these states are encountered.</comment>
|
199 |
+
<depends><sendorder>1</sendorder><send_field>state</send_field></depends>
|
200 |
</send_states>
|
201 |
<send_statuses translate="label comment">
|
202 |
<label>Status options</label>
|
207 |
<show_in_website>0</show_in_website>
|
208 |
<show_in_store>1</show_in_store>
|
209 |
<comment>Choose one or more Statuses to determine when an order will be sent to EmailDirect. Orders will only be sent the first time one of these statuses are encountered.</comment>
|
210 |
+
<depends><sendorder>1</sendorder><send_field>status</send_field></depends>
|
211 |
</send_statuses>
|
212 |
<batch_enabled>
|
213 |
<label>Send orders in background?</label>
|
465 |
<comment>Do not activate this form until it has been tested.</comment>
|
466 |
<depends><signup_enabled>1</signup_enabled></depends>
|
467 |
</signup_activated>
|
468 |
+
|
469 |
+
<!-- Wishlist -->
|
470 |
+
<heading_wishlist translate="label">
|
471 |
+
<label>Wishlist</label>
|
472 |
+
<frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
|
473 |
+
<sort_order>600</sort_order>
|
474 |
+
<show_in_default>1</show_in_default>
|
475 |
+
<show_in_website>0</show_in_website>
|
476 |
+
<show_in_store>1</show_in_store>
|
477 |
+
</heading_wishlist>
|
478 |
+
<wishlist_enabled>
|
479 |
+
<label>Activate Wish List Alerts?</label>
|
480 |
+
<frontend_type>select</frontend_type>
|
481 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
482 |
+
<sort_order>610</sort_order>
|
483 |
+
<show_in_default>1</show_in_default>
|
484 |
+
<show_in_website>0</show_in_website>
|
485 |
+
<show_in_store>1</show_in_store>
|
486 |
+
<comment>Send subscriber Wishlist URL and their most recent Wishlist Date to your EmailDirect database.</comment>
|
487 |
+
</wishlist_enabled>
|
488 |
+
|
489 |
</fields>
|
490 |
</general>
|
491 |
<export translate="label comment">
|
app/code/community/EmailDirect/Integration/sql/emaildirect_setup/mysql4-install-2.0.0.php
CHANGED
@@ -6,38 +6,7 @@ $installer->startSetup();
|
|
6 |
|
7 |
try
|
8 |
{
|
9 |
-
$
|
10 |
-
|
11 |
-
DROP TABLE IF EXISTS {$this->getTable('emaildirect/session')};
|
12 |
-
CREATE TABLE {$this->getTable('emaildirect/session')} (
|
13 |
-
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
14 |
-
`customer_id` int(11) DEFAULT NULL,
|
15 |
-
`magento_session_id` varchar(255) NOT NULL,
|
16 |
-
`email` varchar(255) NULL,
|
17 |
-
PRIMARY KEY (`id`),
|
18 |
-
KEY `idx_magento_session_id` (`magento_session_id`)
|
19 |
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
20 |
-
|
21 |
-
DROP TABLE IF EXISTS {$this->getTable('emaildirect/abandoned')};
|
22 |
-
CREATE TABLE {$this->getTable('emaildirect/abandoned')} (
|
23 |
-
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
24 |
-
`session_id` int(11) NOT NULL,
|
25 |
-
`date_sent` TIMESTAMP NULL,
|
26 |
-
`quote_id` int(11) DEFAULT NULL,
|
27 |
-
PRIMARY KEY (`id`),
|
28 |
-
KEY `idx_quote_id` (`quote_id`)
|
29 |
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
30 |
-
|
31 |
-
DROP TABLE IF EXISTS {$this->getTable('emaildirect/order')};
|
32 |
-
CREATE TABLE {$this->getTable('emaildirect/order')} (
|
33 |
-
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
34 |
-
`date_sent` TIMESTAMP NULL,
|
35 |
-
`order_id` int(11) DEFAULT NULL,
|
36 |
-
PRIMARY KEY (`id`),
|
37 |
-
KEY `idx_order_id` (`order_id`)
|
38 |
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
39 |
-
|
40 |
-
");
|
41 |
|
42 |
// Add install message to inbox
|
43 |
|
6 |
|
7 |
try
|
8 |
{
|
9 |
+
$this->addEmailDirectTables();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
// Add install message to inbox
|
12 |
|
app/code/community/EmailDirect/Integration/sql/emaildirect_setup/mysql4-upgrade-1.5.8-2.0.0.php
CHANGED
@@ -6,38 +6,7 @@ $installer->startSetup();
|
|
6 |
|
7 |
try
|
8 |
{
|
9 |
-
$
|
10 |
-
|
11 |
-
DROP TABLE IF EXISTS {$this->getTable('emaildirect/session')};
|
12 |
-
CREATE TABLE {$this->getTable('emaildirect/session')} (
|
13 |
-
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
14 |
-
`customer_id` int(11) DEFAULT NULL,
|
15 |
-
`magento_session_id` varchar(255) NOT NULL,
|
16 |
-
`email` varchar(255) NULL,
|
17 |
-
PRIMARY KEY (`id`),
|
18 |
-
KEY `idx_magento_session_id` (`magento_session_id`)
|
19 |
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
20 |
-
|
21 |
-
DROP TABLE IF EXISTS {$this->getTable('emaildirect/abandoned')};
|
22 |
-
CREATE TABLE {$this->getTable('emaildirect/abandoned')} (
|
23 |
-
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
24 |
-
`session_id` int(11) NOT NULL,
|
25 |
-
`date_sent` TIMESTAMP NULL,
|
26 |
-
`quote_id` int(11) DEFAULT NULL,
|
27 |
-
PRIMARY KEY (`id`),
|
28 |
-
KEY `idx_quote_id` (`quote_id`)
|
29 |
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
30 |
-
|
31 |
-
DROP TABLE IF EXISTS {$this->getTable('emaildirect/order')};
|
32 |
-
CREATE TABLE {$this->getTable('emaildirect/order')} (
|
33 |
-
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
34 |
-
`date_sent` TIMESTAMP NULL,
|
35 |
-
`order_id` int(11) DEFAULT NULL,
|
36 |
-
PRIMARY KEY (`id`),
|
37 |
-
KEY `idx_order_id` (`order_id`)
|
38 |
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
39 |
-
|
40 |
-
");
|
41 |
|
42 |
// Rename the old local installation so that it doesn't interfere with the new community code
|
43 |
$this->renameOld();
|
6 |
|
7 |
try
|
8 |
{
|
9 |
+
$this->addEmailDirectTables();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
// Rename the old local installation so that it doesn't interfere with the new community code
|
12 |
$this->renameOld();
|
app/design/frontend/base/default/template/emaildirect/capture/email.phtml
CHANGED
@@ -8,6 +8,6 @@ document.observe("dom:loaded", function()
|
|
8 |
|
9 |
function capture(event)
|
10 |
{
|
11 |
-
new Ajax.Request('<?php echo $this->
|
12 |
}
|
13 |
</script>
|
8 |
|
9 |
function capture(event)
|
10 |
{
|
11 |
+
new Ajax.Request('<?php echo $this->getCaptureUrl() ?>', { method:'post', parameters: {email: $(this).getValue()} });
|
12 |
}
|
13 |
</script>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>EmailDirect_Integration</name>
|
4 |
-
<version>2.0.
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>EmailDirect integration for magento</summary>
|
10 |
<description>EmailDirect integration for magento</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Kevin Linden</name><user>auto-converted</user><email>Kevin@EmailDirect.com</email></author></authors>
|
13 |
-
<date>2014-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="EmailDirect"><dir name="Integration"><dir name="Block"><dir name="Adminhtml"><dir name="Abandoned"><file name="Grid.php" hash="4a3f8d29d3d8feb13ae124297267ae85"/><file name="Status.php" hash="9a740fd8c63148532bbcf07d19f462df"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="d01c241e1c4a42cd08f087ad784ed78e"/></dir><dir name="Form"><dir name="Field"><dir name="Export"><file name="Orders.php" hash="5b101fadb6a64044b276eb07b21cf0a5"/><file name="Products.php" hash="32e13d4b7250890bf84aba87f25de03c"/><file name="Range.php" hash="4adac96fa53fa8e1449bae943a8cca80"/></dir><dir name="Signup"><file name="Test.php" hash="3b773dda25c62bc8cb28031931d67f9f"/></dir><file name="Addressmapfields.php" hash="97b75c8340d561e863a3985ad73ce228"/><file name="Common.php" hash="6a86cce53f6df6857ea79241fa281939"/><file name="Info.php" hash="246de52ea5d2349ecd7f103cbba8cb8f"/><file name="Mapfields.php" hash="16894c5d76df1293e63128e349700e05"/><file name="Note.php" hash="ef99a474bbc3a828c7a618132a80fe66"/><file name="Shippingmapfields.php" hash="589a74260f394a5eae1b57ca89a74a8b"/><file name="Troubleshooting.php" hash="ff6b463004ab037031acea4a6f1d8517"/></dir></dir></dir><dir name="Convert"><dir name="Profile"><dir name="Export"><file name="Orders.php" hash="947af2b0d8e3f7bc47c47b32cd434f18"/><file name="Products.php" hash="3f93e4789dbeb6710cd2742587d61726"/></dir><file name="Export.php" hash="ba879607ac0693e9db6251bbbc1676a1"/></dir></dir></dir><dir name="Troubleshooting"><dir name="View"><dir name="Tab"><file name="Download.php" hash="619916677df7c833e559aae74dae2aa0"/><file name="Info.php" hash="4dad4b18e215d6df8c8e6631b4323b53"/><file name="Log.php" hash="d3dcb67ca284358eaa70db517637da87"/><file name="Submit.php" hash="fe896683680ab10ada6b67e0e803ccce"/></dir><file name="Form.php" hash="e527a3a2335b109c48a69f06c1b0d01f"/></dir><file name="Tabs.php" hash="ab1fdbe561e8572c2c50cdbec9573f82"/><file name="View.php" hash="b2d83536aade45e41039875db85b3018"/></dir><file name="Abandoned.php" hash="515b0c172e093341a2e69cb75570e553"/></dir><dir name="Checkout"><file name="Subscribe.php" hash="ae325e815a54bde93507562cf0d86b8a"/></dir><dir name="Customer"><dir name="Account"><dir name="Dashboard"><file name="Info.php" hash="20e74d9c2b2c02611c8f69b254d81ef5"/></dir><file name="Lists.php" hash="3c3bdb9482ecf4a71740a80395bd5465"/></dir></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><dir name="Abandoned"><file name="Minutes.php" hash="e311f6de480fd4b63aee7f46ea412372"/></dir><file name="Action.php" hash="bf2243f50c9c6dafca26a5bcb889f372"/></dir></dir></dir></dir><file name="Capture.php" hash="b005beb856451f49178f2a6914fd5ae7"/><file name="Signup.php" hash="511c9376560cdc5f63b7dc00bdc205be"/></dir><dir name="Helper"><file name="Data.php" hash="c28c7bedaadf1fb7e6a0a0aaae56ed3d"/><file name="Fields.php" hash="a071611d146c1cbe453c9955c9251da0"/><file name="Upgrade.php" hash="407f12bce2c7c06c73a23d8ed853a038"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Abandoned"><file name="Collection.php" hash="5a64b4e8b672f80b4d9b6cc5a0d231eb"/></dir><dir name="Order"><file name="Collection.php" hash="43d343562cf7e54f1b36315aa5d1d4a7"/></dir><dir name="Session"><file name="Collection.php" hash="7d6a8283fdbc1207d709e2bbbc78906d"/></dir><file name="Abandoned.php" hash="485b3771906783d383de75ae9761e55c"/><file name="Order.php" hash="8d538a5737095a1ba0ad448c027b3afb"/><file name="Session.php" hash="516eeeb28038416dc885ed7af6a8a8b0"/></dir><dir name="Resource"><file name="Setup.php" hash="5b9a7a4c848b2bae6ef956a2fe4b862f"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Export"><file name="Batch.php" hash="96c51fc5c0b947750be4e612e32c83ab"/></dir><dir name="Send"><file name="Field.php" hash="8ecffa8ccce40f3b2db6513b24eb9200"/></dir><dir name="Signup"><file name="Opacity.php" hash="8eabed4c72e7347f0376c3d4cc1023a7"/><file name="Recurrence.php" hash="e11200bbc204b00486c373d8a4e6675e"/></dir><file name="Abandoned.php" hash="9881811b94f38be90bd20a99951a1903"/><file name="Abandonedlist.php" hash="66386003113d8589c9f3de4f03f538a8"/><file name="Additionallist.php" hash="254081820d07a8754a71743ea58a7af4"/><file name="Checkoutsubscribe.php" hash="fd90252a1f19649a420dae136ad2a2ba"/><file name="List.php" hash="d76e36c0198e509a63c663e827cc7940"/><file name="Publication.php" hash="635fae1c20981c0ca7b90007a00e99a7"/><file name="Sequence.php" hash="ec9718c2b5dc35c559e5c09e345eff88"/><file name="Source.php" hash="f3c246959c74f6d378f3e2d7b8148d7f"/><file name="States.php" hash="a746affc786d8165a98801e68cbf80ab"/><file name="Statuses.php" hash="9844a7a9c3b5c68df45c8f6c518acf16"/><file name="Time.php" hash="8acbb5cb33e66de1e408cf55d17a9398"/></dir></dir></dir><dir name="Wrapper"><file name="Abandoned.php" hash="ef81d36a7276737f2d0aa1a5d783a83b"/><file name="Abstract.php" hash="9e97ce6a12e0d074921bb3a1391f3648"/><file name="Database.php" hash="3cceb467358d13584baff58c043762ec"/><file name="Execute.php" hash="5a339e0a5407cf05b161102fc65595bb"/><file name="Ftp.php" hash="d5335cfb68f99761d6902dd390a3d7a8"/><file name="Lists.php" hash="425d64b9256bbdbafa899c4138e78368"/><file name="Orders.php" hash="041ea2cf97c461d670022984e7ff608a"/><file name="Publications.php" hash="815715549df345ccb5b69ed65589aa53"/><file name="Sources.php" hash="c6caf0274f7d0c50114324bc47a490c4"/><file name="Subscribers.php" hash="1761d56b33e62b809ba7d380655d1d43"/></dir><file name="Abandoned.php" hash="93bd43b59b143dec15858a6fba6ae568"/><file name="Observer.php" hash="a4cc903f1482069bbe9c5f3b78ce5fb7"/><file name="Order.php" hash="b21426543cd46f799cd0743525120fb8"/><file name="Session.php" hash="c56ecf779dbfb2dae0030935af31911a"/></dir><dir name="controllers"><dir name="Admin"><file name="AbandonedController.php" hash="04be2181a65e505084b324188f1fd64d"/><file name="ExportController.php" hash="e4d3eb0b3a9ef9f3caa0146debc256bc"/><file name="TroubleshootingController.php" hash="3de9950849e08648d8872aea4760c992"/></dir><dir name="Customer"><file name="AccountController.php" hash="ae75c37519f8d9f671509ff9b7fb34a4"/></dir><file name="AbandonedController.php" hash="b2874c7fcde989dc6f7ccff4a25f5563"/><file name="CaptureController.php" hash="89e043bb3864617a062e915d2209dcf4"/><file name="ExportController.php" hash="7ca147debc5c1436b3bf2d9501592f33"/></dir><dir name="etc"><file name="adminhtml.xml" hash="26c4aa6d38306846a585166d6602b305"/><file name="config.xml" hash="6f22b4e9ee2f6e96553125cc03f6bf2e"/><file name="system.xml" hash="115ba31309c00a99a924dc2862ac23f0"/></dir><dir name="sql"><dir name="emaildirect_setup"><file name="mysql4-install-2.0.0.php" hash="5f540ec379bcf9147ad4a06786312ead"/><file name="mysql4-upgrade-1.5.8-2.0.0.php" hash="30261e30722c8076e911fb76fddf4c65"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="emaildirect"><file name="emaildirect-tab.png" hash="9ddb077b74a7078ac509d79b024631a1"/><file name="emaildirect.css" hash="cba2c50e351f973a2463e92a91ec5569"/><file name="logo.png" hash="2e7e39ced387c798ef27b77dd69f073e"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="emaildirect"><dir name="images"><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><file name="emaildirect.css" hash="5b2c8907468d0d5d013e30c6c5c8c9ed"/><file name="integration.js" hash="72ffc0716bc87ac2c92ba47784b5d33b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="emaildirect.xml" hash="9eb6f438b54472e217a9f8e99a8e117c"/></dir><dir name="template"><dir name="emaildirect"><dir name="abandoned"><file name="grid.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="status.phtml" hash="9e7723dc1fe5f8693345db9cc7cda808"/></dir><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="f64073616c5807d5ea32a13cc008ef4d"/></dir><dir name="form"><dir name="field"><dir name="export"><file name="date_range.phtml" hash="d2a91e7ba256fed67745ef1c284889cb"/><file name="orders.phtml" hash="7cc302d6bd638c111ca769ce2d23a1e1"/><file name="products.phtml" hash="b3e91d0fb47f26a3cc989f73f25a1e34"/></dir><dir name="signup"><file name="test.phtml" hash="636501cd90c6ab4231bea54efb16b2ff"/></dir><file name="array.phtml" hash="5415eeff311735624354468c886d39b5"/><file name="info.phtml" hash="19921a9ba4d9abd065ba7ab62e9946ce"/><file name="note.phtml" hash="6625a3771ba10daba5ded5570574716f"/><file name="trouble.phtml" hash="a6cbebe7956299a64c2f5ceab0c28651"/></dir></dir><file name="setup_check.phtml" hash="1814302f58a15fb1629446e074a7e1e0"/></dir><dir name="convert"><dir name="profile"><file name="export.phtml" hash="c829eeccb120ffe4c0b9f0ddf9c7ff9a"/></dir></dir></dir><dir name="troubleshooting"><dir name="view"><dir name="tab"><file name="download.phtml" hash="41dc4cc22f7a1c6fc9048bf936fb7953"/><file name="info.phtml" hash="bd19bb1072ce1d60a4fb7bda660a0ce7"/><file name="log.phtml" hash="c9e2c9493a2dad579bba4ed53795cf5e"/><file name="submit.phtml" hash="c2269f4a6a52d66bff5eac660d0831bd"/></dir><file name="form.phtml" hash="d2338bfe3598e9315ca8f5ac8d9b5516"/></dir><file name="view.phtml" hash="ee6af3fe79d916af764f41e7e8c5cc37"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="emaildirect.xml" hash="a2541c4b82ef33c791794344893c0f2d"/></dir><dir name="template"><dir name="emaildirect"><dir name="capture"><file name="email.phtml" hash="564c6130cd5f03bcff2ac8580e17bd2a"/></dir><dir name="checkout"><file name="subscribe.phtml" hash="d57eb93aab4e0f1d58f1ec8b9ed24c50"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="info.phtml" hash="fb89b2a726be35932de32ec9417ba81a"/></dir><file name="lists.phtml" hash="4c697dcfa63ece1db7885cadb02982d1"/></dir></dir><dir name="signup"><file name="form.phtml" hash="4c7633e518f3374f722ccf22b51158da"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="newsletter_subscr_success_emaildirect.html" hash="f6afb69d207bbc3f8920e7a72ac9dd07"/><file name="newsletter_unsub_success_emaildirect.html" hash="bd9f97e8f5485180d4420097b5200ef4"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EmailDirect_Integration.xml" hash="90a441f2d0dff6c247f810274e8a76ab"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>EmailDirect_Integration</name>
|
4 |
+
<version>2.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>EmailDirect integration for magento</summary>
|
10 |
<description>EmailDirect integration for magento</description>
|
11 |
+
<notes>Send subscribers Wish List URL and their most recent Wish List Date to your EmailDirect database</notes>
|
12 |
<authors><author><name>Kevin Linden</name><user>auto-converted</user><email>Kevin@EmailDirect.com</email></author></authors>
|
13 |
+
<date>2014-07-11</date>
|
14 |
+
<time>20:04:27</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="EmailDirect"><dir name="Integration"><dir name="Block"><dir name="Adminhtml"><dir name="Abandoned"><file name="Grid.php" hash="4a3f8d29d3d8feb13ae124297267ae85"/><file name="Status.php" hash="9a740fd8c63148532bbcf07d19f462df"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="d01c241e1c4a42cd08f087ad784ed78e"/></dir><dir name="Form"><dir name="Field"><dir name="Export"><file name="Orders.php" hash="5b101fadb6a64044b276eb07b21cf0a5"/><file name="Products.php" hash="32e13d4b7250890bf84aba87f25de03c"/><file name="Range.php" hash="4adac96fa53fa8e1449bae943a8cca80"/></dir><dir name="Signup"><file name="Test.php" hash="3b773dda25c62bc8cb28031931d67f9f"/></dir><file name="Addressmapfields.php" hash="97b75c8340d561e863a3985ad73ce228"/><file name="Common.php" hash="6a86cce53f6df6857ea79241fa281939"/><file name="Info.php" hash="246de52ea5d2349ecd7f103cbba8cb8f"/><file name="Mapfields.php" hash="16894c5d76df1293e63128e349700e05"/><file name="Note.php" hash="ef99a474bbc3a828c7a618132a80fe66"/><file name="Shippingmapfields.php" hash="589a74260f394a5eae1b57ca89a74a8b"/><file name="Troubleshooting.php" hash="ff6b463004ab037031acea4a6f1d8517"/></dir></dir></dir><dir name="Convert"><dir name="Profile"><dir name="Export"><file name="Orders.php" hash="947af2b0d8e3f7bc47c47b32cd434f18"/><file name="Products.php" hash="3f93e4789dbeb6710cd2742587d61726"/></dir><file name="Export.php" hash="ba879607ac0693e9db6251bbbc1676a1"/></dir></dir></dir><dir name="Troubleshooting"><dir name="View"><dir name="Tab"><file name="Download.php" hash="619916677df7c833e559aae74dae2aa0"/><file name="Info.php" hash="4dad4b18e215d6df8c8e6631b4323b53"/><file name="Log.php" hash="d3dcb67ca284358eaa70db517637da87"/><file name="Submit.php" hash="fe896683680ab10ada6b67e0e803ccce"/></dir><file name="Form.php" hash="e527a3a2335b109c48a69f06c1b0d01f"/></dir><file name="Tabs.php" hash="ab1fdbe561e8572c2c50cdbec9573f82"/><file name="View.php" hash="b2d83536aade45e41039875db85b3018"/></dir><file name="Abandoned.php" hash="515b0c172e093341a2e69cb75570e553"/></dir><dir name="Checkout"><file name="Subscribe.php" hash="ae325e815a54bde93507562cf0d86b8a"/></dir><dir name="Customer"><dir name="Account"><dir name="Dashboard"><file name="Info.php" hash="20e74d9c2b2c02611c8f69b254d81ef5"/></dir><file name="Lists.php" hash="3c3bdb9482ecf4a71740a80395bd5465"/></dir></dir><dir name="Widget"><dir name="Grid"><dir name="Column"><dir name="Renderer"><dir name="Abandoned"><file name="Minutes.php" hash="e311f6de480fd4b63aee7f46ea412372"/></dir><file name="Action.php" hash="bf2243f50c9c6dafca26a5bcb889f372"/></dir></dir></dir></dir><file name="Capture.php" hash="e44034ad875957a566d3ac89abb408ed"/><file name="Signup.php" hash="511c9376560cdc5f63b7dc00bdc205be"/></dir><dir name="Helper"><file name="Data.php" hash="a424975420b0934121a12f5f952f500f"/><file name="Fields.php" hash="3ddd3a1b0769aa786b674eca91e8bc48"/><file name="Upgrade.php" hash="407f12bce2c7c06c73a23d8ed853a038"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Abandoned"><file name="Collection.php" hash="5a64b4e8b672f80b4d9b6cc5a0d231eb"/></dir><dir name="Order"><file name="Collection.php" hash="43d343562cf7e54f1b36315aa5d1d4a7"/></dir><dir name="Session"><file name="Collection.php" hash="7d6a8283fdbc1207d709e2bbbc78906d"/></dir><file name="Abandoned.php" hash="485b3771906783d383de75ae9761e55c"/><file name="Order.php" hash="8d538a5737095a1ba0ad448c027b3afb"/><file name="Session.php" hash="516eeeb28038416dc885ed7af6a8a8b0"/></dir><dir name="Resource"><file name="Setup.php" hash="ceb59161dafe7722bec195f5018714dd"/></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Export"><file name="Batch.php" hash="96c51fc5c0b947750be4e612e32c83ab"/></dir><dir name="Send"><file name="Field.php" hash="8ecffa8ccce40f3b2db6513b24eb9200"/></dir><dir name="Signup"><file name="Opacity.php" hash="8eabed4c72e7347f0376c3d4cc1023a7"/><file name="Recurrence.php" hash="e11200bbc204b00486c373d8a4e6675e"/></dir><file name="Abandoned.php" hash="9881811b94f38be90bd20a99951a1903"/><file name="Abandonedlist.php" hash="66386003113d8589c9f3de4f03f538a8"/><file name="Additionallist.php" hash="254081820d07a8754a71743ea58a7af4"/><file name="Checkoutsubscribe.php" hash="fd90252a1f19649a420dae136ad2a2ba"/><file name="List.php" hash="d76e36c0198e509a63c663e827cc7940"/><file name="Publication.php" hash="635fae1c20981c0ca7b90007a00e99a7"/><file name="Sequence.php" hash="ec9718c2b5dc35c559e5c09e345eff88"/><file name="Source.php" hash="f3c246959c74f6d378f3e2d7b8148d7f"/><file name="States.php" hash="a746affc786d8165a98801e68cbf80ab"/><file name="Statuses.php" hash="9844a7a9c3b5c68df45c8f6c518acf16"/><file name="Time.php" hash="8acbb5cb33e66de1e408cf55d17a9398"/></dir></dir></dir><dir name="Wrapper"><file name="Abandoned.php" hash="ef81d36a7276737f2d0aa1a5d783a83b"/><file name="Abstract.php" hash="9e97ce6a12e0d074921bb3a1391f3648"/><file name="Database.php" hash="3cceb467358d13584baff58c043762ec"/><file name="Execute.php" hash="5a339e0a5407cf05b161102fc65595bb"/><file name="Ftp.php" hash="d5335cfb68f99761d6902dd390a3d7a8"/><file name="Lists.php" hash="425d64b9256bbdbafa899c4138e78368"/><file name="Orders.php" hash="041ea2cf97c461d670022984e7ff608a"/><file name="Publications.php" hash="815715549df345ccb5b69ed65589aa53"/><file name="Sources.php" hash="c6caf0274f7d0c50114324bc47a490c4"/><file name="Subscribers.php" hash="1761d56b33e62b809ba7d380655d1d43"/><file name="Wishlist.php" hash="2ceb111bbeaa06c4f13f61281aaa5b5e"/></dir><file name="Abandoned.php" hash="93bd43b59b143dec15858a6fba6ae568"/><file name="Observer.php" hash="6253bb96be5187ef4ef2a61ed13ffe4a"/><file name="Order.php" hash="b21426543cd46f799cd0743525120fb8"/><file name="Session.php" hash="c56ecf779dbfb2dae0030935af31911a"/></dir><dir name="controllers"><dir name="Admin"><file name="AbandonedController.php" hash="04be2181a65e505084b324188f1fd64d"/><file name="ExportController.php" hash="e4d3eb0b3a9ef9f3caa0146debc256bc"/><file name="TroubleshootingController.php" hash="3de9950849e08648d8872aea4760c992"/></dir><dir name="Customer"><file name="AccountController.php" hash="ae75c37519f8d9f671509ff9b7fb34a4"/></dir><file name="AbandonedController.php" hash="b84b82454ab3b93e34eea2f622f86084"/><file name="CaptureController.php" hash="89e043bb3864617a062e915d2209dcf4"/><file name="ExportController.php" hash="7ca147debc5c1436b3bf2d9501592f33"/></dir><dir name="etc"><file name="adminhtml.xml" hash="26c4aa6d38306846a585166d6602b305"/><file name="config.xml" hash="44bc097b66b7f52bc5f812ee2343c08d"/><file name="system.xml" hash="966b8210df59d1825f2ee61d74f281dd"/></dir><dir name="sql"><dir name="emaildirect_setup"><file name="mysql4-install-2.0.0.php" hash="c1c83d35755641c660c3bc7c5428a98e"/><file name="mysql4-upgrade-1.5.8-2.0.0.php" hash="37094b16cfb3f69b559f5b31aee268c4"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="emaildirect"><file name="emaildirect-tab.png" hash="9ddb077b74a7078ac509d79b024631a1"/><file name="emaildirect.css" hash="cba2c50e351f973a2463e92a91ec5569"/><file name="logo.png" hash="2e7e39ced387c798ef27b77dd69f073e"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="emaildirect"><dir name="images"><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><file name="emaildirect.css" hash="5b2c8907468d0d5d013e30c6c5c8c9ed"/><file name="integration.js" hash="72ffc0716bc87ac2c92ba47784b5d33b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="emaildirect.xml" hash="9eb6f438b54472e217a9f8e99a8e117c"/></dir><dir name="template"><dir name="emaildirect"><dir name="abandoned"><file name="grid.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="status.phtml" hash="9e7723dc1fe5f8693345db9cc7cda808"/></dir><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="f64073616c5807d5ea32a13cc008ef4d"/></dir><dir name="form"><dir name="field"><dir name="export"><file name="date_range.phtml" hash="d2a91e7ba256fed67745ef1c284889cb"/><file name="orders.phtml" hash="7cc302d6bd638c111ca769ce2d23a1e1"/><file name="products.phtml" hash="b3e91d0fb47f26a3cc989f73f25a1e34"/></dir><dir name="signup"><file name="test.phtml" hash="636501cd90c6ab4231bea54efb16b2ff"/></dir><file name="array.phtml" hash="5415eeff311735624354468c886d39b5"/><file name="info.phtml" hash="19921a9ba4d9abd065ba7ab62e9946ce"/><file name="note.phtml" hash="6625a3771ba10daba5ded5570574716f"/><file name="trouble.phtml" hash="a6cbebe7956299a64c2f5ceab0c28651"/></dir></dir><file name="setup_check.phtml" hash="1814302f58a15fb1629446e074a7e1e0"/></dir><dir name="convert"><dir name="profile"><file name="export.phtml" hash="c829eeccb120ffe4c0b9f0ddf9c7ff9a"/></dir></dir></dir><dir name="troubleshooting"><dir name="view"><dir name="tab"><file name="download.phtml" hash="41dc4cc22f7a1c6fc9048bf936fb7953"/><file name="info.phtml" hash="bd19bb1072ce1d60a4fb7bda660a0ce7"/><file name="log.phtml" hash="c9e2c9493a2dad579bba4ed53795cf5e"/><file name="submit.phtml" hash="c2269f4a6a52d66bff5eac660d0831bd"/></dir><file name="form.phtml" hash="d2338bfe3598e9315ca8f5ac8d9b5516"/></dir><file name="view.phtml" hash="ee6af3fe79d916af764f41e7e8c5cc37"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="emaildirect.xml" hash="a2541c4b82ef33c791794344893c0f2d"/></dir><dir name="template"><dir name="emaildirect"><dir name="capture"><file name="email.phtml" hash="fa273ff1a48a12eb386f58f3e3e78f66"/></dir><dir name="checkout"><file name="subscribe.phtml" hash="d57eb93aab4e0f1d58f1ec8b9ed24c50"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="info.phtml" hash="fb89b2a726be35932de32ec9417ba81a"/></dir><file name="lists.phtml" hash="4c697dcfa63ece1db7885cadb02982d1"/></dir></dir><dir name="signup"><file name="form.phtml" hash="4c7633e518f3374f722ccf22b51158da"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="newsletter_subscr_success_emaildirect.html" hash="f6afb69d207bbc3f8920e7a72ac9dd07"/><file name="newsletter_unsub_success_emaildirect.html" hash="bd9f97e8f5485180d4420097b5200ef4"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EmailDirect_Integration.xml" hash="90a441f2d0dff6c247f810274e8a76ab"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|