Version Notes
Added automatic creation of fields in list
Download this release
Release Info
Developer | eMailChef |
Extension | emailchef |
Version | 2.7.7 |
Comparing to | |
See all releases |
Code changes from version 2.7.5 to 2.7.7
- app/code/community/EMailChef/EMailChefSync/Block/Adminhtml/System/Config/Form/Createfieldsbutton.php +56 -0
- app/code/community/EMailChef/EMailChefSync/Model/EMailChefWsImport.php +2 -2
- app/code/community/EMailChef/EMailChefSync/controllers/Adminhtml/ConfigurationController.php +91 -0
- app/code/community/EMailChef/EMailChefSync/etc/system.xml +9 -0
- app/code/community/EMailChef/EMailChefSync/lib/emailchef/src/Command/Api/CreateCustomFieldCommand.php +36 -0
- app/design/adminhtml/default/default/template/emailchef/emailchefsync/confirm.phtml +1 -1
- app/design/adminhtml/default/default/template/emailchef/emailchefsync/filter.phtml +4 -4
- app/design/adminhtml/default/default/template/emailchef/emailchefsync/sysconfigjavascript.phtml +6 -3
- js/emailchef/admin.js +23 -1
- package.xml +5 -5
app/code/community/EMailChef/EMailChefSync/Block/Adminhtml/System/Config/Form/Createfieldsbutton.php
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Self-test button for custom fields creation in system configuration.
|
5 |
+
*/
|
6 |
+
class EMailChef_EMailChefSync_Block_Adminhtml_System_Config_Form_Createfieldsbutton
|
7 |
+
extends Mage_Adminhtml_Block_System_Config_Form_Field
|
8 |
+
{
|
9 |
+
/**
|
10 |
+
* Return element html.
|
11 |
+
*
|
12 |
+
* @param Varien_Data_Form_Element_Abstract $element
|
13 |
+
*
|
14 |
+
* @return string
|
15 |
+
*/
|
16 |
+
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
|
17 |
+
{
|
18 |
+
return $this->_toHtml();
|
19 |
+
}
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Generate button html.
|
23 |
+
*
|
24 |
+
* @return string
|
25 |
+
*/
|
26 |
+
protected function _toHtml()
|
27 |
+
{
|
28 |
+
$storeId = Mage::app()->getStore();
|
29 |
+
$eMailChef_EMailChefSync_Model_Source_Lists = new EMailChef_EMailChefSync_Model_Source_Lists();
|
30 |
+
$lists = $eMailChef_EMailChefSync_Model_Source_Lists->toOptionArray($storeId);
|
31 |
+
$listId = Mage::getStoreConfig('emailchef_newsletter/emailchef/list');
|
32 |
+
$listName = null;
|
33 |
+
if($listId){
|
34 |
+
foreach($lists as $list){
|
35 |
+
if($list['value'] == $listId){
|
36 |
+
$listName = $list['label'];
|
37 |
+
break;
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|
41 |
+
|
42 |
+
$data = array(
|
43 |
+
'id' => 'emailchef_createfields_button',
|
44 |
+
'label' => $this->helper('adminhtml')->__('Create '.($listName?' in list '.$listName:'').' and map'.(!$listName?' (set a list and save to enable)':'')),
|
45 |
+
);
|
46 |
+
|
47 |
+
if(!$listName){
|
48 |
+
$data['disabled'] = true;
|
49 |
+
}
|
50 |
+
|
51 |
+
$button = $this->getLayout()->createBlock('adminhtml/widget_button')
|
52 |
+
->setData($data);
|
53 |
+
|
54 |
+
return $button->toHtml();
|
55 |
+
}
|
56 |
+
}
|
app/code/community/EMailChef/EMailChefSync/Model/EMailChefWsImport.php
CHANGED
@@ -703,7 +703,7 @@ class EMailChefWsImport
|
|
703 |
*
|
704 |
* @param array
|
705 |
*/
|
706 |
-
public function saveFieldMapping($post)
|
707 |
{
|
708 |
try {
|
709 |
$connectionWrite = Mage::getSingleton('core/resource')->getConnection('core_write');
|
@@ -721,7 +721,7 @@ class EMailChefWsImport
|
|
721 |
Mage::log('Exception: '.$e->getMessage(), 0);
|
722 |
die($e);
|
723 |
}
|
724 |
-
}
|
725 |
|
726 |
/**
|
727 |
* Get the config.
|
703 |
*
|
704 |
* @param array
|
705 |
*/
|
706 |
+
/*public function saveFieldMapping($post)
|
707 |
{
|
708 |
try {
|
709 |
$connectionWrite = Mage::getSingleton('core/resource')->getConnection('core_write');
|
721 |
Mage::log('Exception: '.$e->getMessage(), 0);
|
722 |
die($e);
|
723 |
}
|
724 |
+
}*/
|
725 |
|
726 |
/**
|
727 |
* Get the config.
|
app/code/community/EMailChef/EMailChefSync/controllers/Adminhtml/ConfigurationController.php
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
|
3 |
require_once dirname(__FILE__).'/../../Model/EMailChefWsImport.php';
|
4 |
require_once dirname(__FILE__).'/../../Model/Wssend.php';
|
|
|
5 |
class EMailChef_EMailChefSync_Adminhtml_ConfigurationController extends Mage_Adminhtml_Controller_Action
|
6 |
{
|
7 |
public function indexAction()
|
@@ -13,6 +14,24 @@ class EMailChef_EMailChefSync_Adminhtml_ConfigurationController extends Mage_Adm
|
|
13 |
Mage::app()->getResponse()->setRedirect($url);
|
14 |
}
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
/**
|
17 |
* Get groups for given list.
|
18 |
*/
|
@@ -40,6 +59,8 @@ class EMailChef_EMailChefSync_Adminhtml_ConfigurationController extends Mage_Adm
|
|
40 |
*/
|
41 |
public function testconnectionAction()
|
42 |
{
|
|
|
|
|
43 |
// Get login details from AJAX
|
44 |
$usernameWs = $this->getRequest()->getParam('username_ws');
|
45 |
$passwordWs = $this->getRequest()->getParam('password_ws');
|
@@ -82,4 +103,74 @@ class EMailChef_EMailChefSync_Adminhtml_ConfigurationController extends Mage_Adm
|
|
82 |
$output = '<ul class="messages">'.implode("\n", $renderedMessages).'</ul>';
|
83 |
$this->getResponse()->setBody($output);
|
84 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
}
|
2 |
|
3 |
require_once dirname(__FILE__).'/../../Model/EMailChefWsImport.php';
|
4 |
require_once dirname(__FILE__).'/../../Model/Wssend.php';
|
5 |
+
use EMailChef\Command\Api\CreateCustomFieldCommand;
|
6 |
class EMailChef_EMailChefSync_Adminhtml_ConfigurationController extends Mage_Adminhtml_Controller_Action
|
7 |
{
|
8 |
public function indexAction()
|
14 |
Mage::app()->getResponse()->setRedirect($url);
|
15 |
}
|
16 |
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Get lists.
|
20 |
+
*/
|
21 |
+
public function getlistsAction()
|
22 |
+
{
|
23 |
+
|
24 |
+
$lists = Mage::getSingleton('emailchef/source_lists')->toOptionArray(null);
|
25 |
+
|
26 |
+
// Render output directly (as output is so simple)
|
27 |
+
$output = '';
|
28 |
+
foreach ($lists as $list) {
|
29 |
+
$output .= "<option value=\"{$list['value']}\">{$list['label']}</option>\n";
|
30 |
+
}
|
31 |
+
|
32 |
+
$this->getResponse()->setBody($output);
|
33 |
+
}
|
34 |
+
|
35 |
/**
|
36 |
* Get groups for given list.
|
37 |
*/
|
59 |
*/
|
60 |
public function testconnectionAction()
|
61 |
{
|
62 |
+
Mage::app()->cleanCache();
|
63 |
+
|
64 |
// Get login details from AJAX
|
65 |
$usernameWs = $this->getRequest()->getParam('username_ws');
|
66 |
$passwordWs = $this->getRequest()->getParam('password_ws');
|
103 |
$output = '<ul class="messages">'.implode("\n", $renderedMessages).'</ul>';
|
104 |
$this->getResponse()->setBody($output);
|
105 |
}
|
106 |
+
|
107 |
+
public function createfieldsAction(){
|
108 |
+
$storeId = Mage::app()->getStore();
|
109 |
+
$wsSend = new EMailChefWsSend($storeId);
|
110 |
+
$authKey = $wsSend->loginFromId();
|
111 |
+
$listId = Mage::getStoreConfig('emailchef_newsletter/emailchef/list');
|
112 |
+
$createCustomFieldCommand = new CreateCustomFieldCommand();
|
113 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Company','company');
|
114 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Address','address');
|
115 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'City','city');
|
116 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'ZIP','zip');
|
117 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Province','province');
|
118 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Region','region');
|
119 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Country','country');
|
120 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Phone','phone');
|
121 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Fax','fax');
|
122 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Date Of Birth','dateofbirth');
|
123 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Gender','gender');
|
124 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_NUMBER,'Customer ID','customerid');
|
125 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_NUMBER,'Latest Abandoned Cart Total','latestabandonedcarttotal');
|
126 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_DATE,'Latest Abandoned Cart Date','latestabandonedcartdate');
|
127 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_DATE,'Latest Shipped Order Date','latestshippedorderdate');
|
128 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_NUMBER,'Latest Shipped Order ID','latestshippedorderid');
|
129 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'All Ordered Product IDs','allorderedproductids');
|
130 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Latest Order Category IDs','latestordercategoryids');
|
131 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_NUMBER,'Total Ordered Last 30d','totalorderedlast30d');
|
132 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_NUMBER,'Total Ordered Last 12m','totalorderedlast12m');
|
133 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_NUMBER,'Total Ordered','totalordered');
|
134 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_NUMBER,'Latest Abandoned Cart ID','latestabandonedcartid');
|
135 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_NUMBER,'Latest Order Amount','latestorderamount');
|
136 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_DATE,'Latest Order Date','latestorderdate');
|
137 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_NUMBER,'Latest Order ID','latestorderid');
|
138 |
+
$createCustomFieldCommand->execute($authKey,$listId,CreateCustomFieldCommand::DATA_TYPE_TEXT,'Latest Order Product IDs','latestorderproductids');
|
139 |
+
|
140 |
+
$map = array(
|
141 |
+
'Company'=>'company',
|
142 |
+
'Address'=>'address',
|
143 |
+
'City'=>'city',
|
144 |
+
'ZIP'=>'zip',
|
145 |
+
'Province'=>'province',
|
146 |
+
'Region'=>'region',
|
147 |
+
'LatestAbandonedCartTotal'=>'latestabandonedcarttotal',
|
148 |
+
'LatestAbandonedCartDate'=>'latestabandonedcartdate',
|
149 |
+
'LatestShippedOrderDate'=>'latestshippedorderdate',
|
150 |
+
'LatestShippedOrderID'=>'latestshippedorderid',
|
151 |
+
'AllOrderedProductIDs'=>'allorderedproductids',
|
152 |
+
'LatestOrderCategoryIDs'=>'latestordercategoryids',
|
153 |
+
'TotalOrderedLast30d'=>'totalorderedlast30d',
|
154 |
+
'TotalOrderedLast12m'=>'totalorderedlast12m',
|
155 |
+
'TotalOrdered'=>'totalordered',
|
156 |
+
'LatestAbandonedCartID'=>'latestabandonedcartid',
|
157 |
+
'Fax'=>'fax',
|
158 |
+
'DateOfBirth'=>'dateofbirth',
|
159 |
+
'Gender'=>'gender',
|
160 |
+
'Country'=>'country',
|
161 |
+
'CustomerID'=>'customerid',
|
162 |
+
'Phone'=>'phone',
|
163 |
+
'LatestOrderAmount'=>'latestorderamount',
|
164 |
+
'LatestOrderDate'=>'latestorderdate',
|
165 |
+
'LatestOrderID'=>'latestorderid',
|
166 |
+
'LatestOrderProductIDs'=>'latestorderproductids',
|
167 |
+
);
|
168 |
+
foreach($map as $key=>$value){
|
169 |
+
Mage::getConfig()->saveConfig('emailchef_newsletter/emailchef_mapping/'.$key, $value, 'default', 0);
|
170 |
+
}
|
171 |
+
|
172 |
+
Mage::app()->cleanCache();
|
173 |
+
|
174 |
+
Mage::app()->getResponse()->setRedirect(Mage::helper('adminhtml')->getUrl('emailchef/adminhtml_configuration/index'));
|
175 |
+
}
|
176 |
}
|
app/code/community/EMailChef/EMailChefSync/etc/system.xml
CHANGED
@@ -154,6 +154,15 @@
|
|
154 |
<show_in_website>1</show_in_website>
|
155 |
<show_in_store>1</show_in_store>
|
156 |
</enable_log>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
</fields>
|
158 |
</emailchef>
|
159 |
<!-- mapping section -->
|
154 |
<show_in_website>1</show_in_website>
|
155 |
<show_in_store>1</show_in_store>
|
156 |
</enable_log>
|
157 |
+
<create_custom_fields translate="label">
|
158 |
+
<label>Create missing default fields in list and map them</label>
|
159 |
+
<frontend_type>button</frontend_type>
|
160 |
+
<frontend_model>emailchef/adminhtml_system_config_form_createfieldsbutton</frontend_model>
|
161 |
+
<sort_order>120</sort_order>
|
162 |
+
<show_in_default>1</show_in_default>
|
163 |
+
<show_in_website>1</show_in_website>
|
164 |
+
<show_in_store>1</show_in_store>
|
165 |
+
</create_custom_fields>
|
166 |
</fields>
|
167 |
</emailchef>
|
168 |
<!-- mapping section -->
|
app/code/community/EMailChef/EMailChefSync/lib/emailchef/src/Command/Api/CreateCustomFieldCommand.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace EMailChef\Command\Api;
|
4 |
+
|
5 |
+
use EMailChef\Service\ApiService;
|
6 |
+
|
7 |
+
class CreateCustomFieldCommand
|
8 |
+
{
|
9 |
+
const DATA_TYPE_TEXT = 'text';
|
10 |
+
const DATA_TYPE_NUMBER = 'number';
|
11 |
+
const DATA_TYPE_DATE = 'date';
|
12 |
+
|
13 |
+
protected $apiService;
|
14 |
+
public function __construct($apiService = null)
|
15 |
+
{
|
16 |
+
$this->apiService = $apiService ?: new ApiService();
|
17 |
+
}
|
18 |
+
public function execute($authKey, $listId, $type, $name, $placeHolder)
|
19 |
+
{
|
20 |
+
$data = array(
|
21 |
+
'instance_in' => array(
|
22 |
+
'data_type' => $type,
|
23 |
+
'name' => $name,
|
24 |
+
'place_holder' => $placeHolder,
|
25 |
+
),
|
26 |
+
);
|
27 |
+
$response = $this->apiService->call('post', 'apps/api/v1/lists/'.$listId.'/customfields', json_encode($data), $authKey);
|
28 |
+
if ($response['code'] != '200') {
|
29 |
+
throw new \Exception('Unable to create custom field');
|
30 |
+
} else {
|
31 |
+
$result = $response['body'];
|
32 |
+
|
33 |
+
return $result->custom_field_id;
|
34 |
+
}
|
35 |
+
}
|
36 |
+
}
|
app/design/adminhtml/default/default/template/emailchef/emailchefsync/confirm.phtml
CHANGED
@@ -129,7 +129,7 @@ $lists = $wsImport->GetNlList($accessKey,true);
|
|
129 |
<tr>
|
130 |
<td class="input-ele">
|
131 |
<p class="istrz1"><?php echo $this->__('Select an existing group')?>:</p>
|
132 |
-
<select class="
|
133 |
<?php
|
134 |
$groups = array();
|
135 |
foreach($lists as $list) {
|
129 |
<tr>
|
130 |
<td class="input-ele">
|
131 |
<p class="istrz1"><?php echo $this->__('Select an existing group')?>:</p>
|
132 |
+
<select class="slctpg1" name="emailchefGroupId">
|
133 |
<?php
|
134 |
$groups = array();
|
135 |
foreach($lists as $list) {
|
app/design/adminhtml/default/default/template/emailchef/emailchefsync/filter.phtml
CHANGED
@@ -279,7 +279,7 @@ if ($accessKey === false || strlen(Mage::getStoreConfig('emailchef_newsletter/em
|
|
279 |
<td class="labelpg1"><?php echo $this->__('From')?></td>
|
280 |
<td class="input-ele">
|
281 |
<input type="text" class="inptptx1 customerDependent" name="emailchefCustomerStartDate" id="emailchefCustomerStartDate" size="20" value="<?php echo $emailchefCustomerStartDate; ?>" />
|
282 |
-
<img id="emailchefCustomerStartDateTrig" class="v-middle" alt="" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN)
|
283 |
<script type="text/javascript">
|
284 |
Calendar.setup({
|
285 |
inputField: "emailchefCustomerStartDate",
|
@@ -296,7 +296,7 @@ if ($accessKey === false || strlen(Mage::getStoreConfig('emailchef_newsletter/em
|
|
296 |
<td class="labelpg1"><?php echo $this->__('To')?></td>
|
297 |
<td class="input-ele">
|
298 |
<input type="text" class="inptptx1 customerDependent" name="emailchefCustomerEndDate" id="emailchefCustomerEndDate" size="20" value="<?php echo $emailchefCustomerEndDate; ?>" />
|
299 |
-
<img id="emailchefCustomerEndDateTrig" class="v-middle" alt="" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN)
|
300 |
<script type="text/javascript">
|
301 |
Calendar.setup({
|
302 |
inputField: "emailchefCustomerEndDate",
|
@@ -361,7 +361,7 @@ if ($accessKey === false || strlen(Mage::getStoreConfig('emailchef_newsletter/em
|
|
361 |
<tr>
|
362 |
<td class="labelpg1"><?php echo $this->__('From')?></td>
|
363 |
<td class="input-ele">
|
364 |
-
<input type="text" class="inptptx1 customerDependent" name="emailchefOrderStartDate" id="emailchefOrderStartDate" size="20" value="<?php echo $emailchefOrderStartDate; ?>"
|
365 |
<script type="text/javascript">
|
366 |
Calendar.setup({
|
367 |
inputField: "emailchefOrderStartDate",
|
@@ -377,7 +377,7 @@ if ($accessKey === false || strlen(Mage::getStoreConfig('emailchef_newsletter/em
|
|
377 |
<tr>
|
378 |
<td class="labelpg1"><?php echo $this->__('To')?></td>
|
379 |
<td class="input-ele">
|
380 |
-
<input type="text" class="inptptx1 customerDependent" name="emailchefOrderEndDate" id="emailchefOrderEndDate" size="20" value="<?php echo $emailchefOrderEndDate; ?>"
|
381 |
<script type="text/javascript">
|
382 |
Calendar.setup({
|
383 |
inputField: "emailchefOrderEndDate",
|
279 |
<td class="labelpg1"><?php echo $this->__('From')?></td>
|
280 |
<td class="input-ele">
|
281 |
<input type="text" class="inptptx1 customerDependent" name="emailchefCustomerStartDate" id="emailchefCustomerStartDate" size="20" value="<?php echo $emailchefCustomerStartDate; ?>" />
|
282 |
+
<img id="emailchefCustomerStartDateTrig" class="v-middle" alt="" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN) ?>adminhtml/default/default/images/grid-cal.gif"> <span class="tip">(<?php echo Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT) ?>)</span>
|
283 |
<script type="text/javascript">
|
284 |
Calendar.setup({
|
285 |
inputField: "emailchefCustomerStartDate",
|
296 |
<td class="labelpg1"><?php echo $this->__('To')?></td>
|
297 |
<td class="input-ele">
|
298 |
<input type="text" class="inptptx1 customerDependent" name="emailchefCustomerEndDate" id="emailchefCustomerEndDate" size="20" value="<?php echo $emailchefCustomerEndDate; ?>" />
|
299 |
+
<img id="emailchefCustomerEndDateTrig" class="v-middle" alt="" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN) ?>adminhtml/default/default/images/grid-cal.gif"> <span class="tip">(<?php echo Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT) ?>)</span>
|
300 |
<script type="text/javascript">
|
301 |
Calendar.setup({
|
302 |
inputField: "emailchefCustomerEndDate",
|
361 |
<tr>
|
362 |
<td class="labelpg1"><?php echo $this->__('From')?></td>
|
363 |
<td class="input-ele">
|
364 |
+
<input type="text" class="inptptx1 customerDependent" name="emailchefOrderStartDate" id="emailchefOrderStartDate" size="20" value="<?php echo $emailchefOrderStartDate; ?>" /> <img id="emailchefOrderStartDateTrig" class="v-middle" alt="" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN) ?>adminhtml/default/default/images/grid-cal.gif"> <span class="tip">(<?php echo Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT) ?>)</span>
|
365 |
<script type="text/javascript">
|
366 |
Calendar.setup({
|
367 |
inputField: "emailchefOrderStartDate",
|
377 |
<tr>
|
378 |
<td class="labelpg1"><?php echo $this->__('To')?></td>
|
379 |
<td class="input-ele">
|
380 |
+
<input type="text" class="inptptx1 customerDependent" name="emailchefOrderEndDate" id="emailchefOrderEndDate" size="20" value="<?php echo $emailchefOrderEndDate; ?>" /> <img id="emailchefOrderEndDateTrig" class="v-middle" alt="" src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN) ?>adminhtml/default/default/images/grid-cal.gif"> <span class="tip">(<?php echo Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT) ?>)</span>
|
381 |
<script type="text/javascript">
|
382 |
Calendar.setup({
|
383 |
inputField: "emailchefOrderEndDate",
|
app/design/adminhtml/default/default/template/emailchef/emailchefsync/sysconfigjavascript.phtml
CHANGED
@@ -5,13 +5,16 @@
|
|
5 |
?>
|
6 |
<script language="JavaScript">
|
7 |
// Initialise observer so that when list is changed, groups are reloaded
|
8 |
-
|
9 |
document.observe("dom:loaded", function() {
|
10 |
-
initListObserver(
|
11 |
});
|
12 |
// Initialise observer to run self-test
|
13 |
urlTest = '<?php echo Mage::getModel('adminhtml/url')->getUrl("emailchef/adminhtml_configuration/testconnection"); ?>';
|
|
|
|
|
14 |
document.observe("dom:loaded", function() {
|
15 |
-
initSelfTestObserver(urlTest);
|
|
|
16 |
});
|
17 |
</script>
|
5 |
?>
|
6 |
<script language="JavaScript">
|
7 |
// Initialise observer so that when list is changed, groups are reloaded
|
8 |
+
urlGroup = '<?php echo Mage::getModel('adminhtml/url')->getUrl("emailchef/adminhtml_configuration/getgroups"); ?>';
|
9 |
document.observe("dom:loaded", function() {
|
10 |
+
initListObserver(urlGroup);
|
11 |
});
|
12 |
// Initialise observer to run self-test
|
13 |
urlTest = '<?php echo Mage::getModel('adminhtml/url')->getUrl("emailchef/adminhtml_configuration/testconnection"); ?>';
|
14 |
+
urlList = '<?php echo Mage::getModel('adminhtml/url')->getUrl("emailchef/adminhtml_configuration/getlists"); ?>';
|
15 |
+
urlCreateFields = '<?php echo Mage::getModel('adminhtml/url')->getUrl("emailchef/adminhtml_configuration/createfields"); ?>';
|
16 |
document.observe("dom:loaded", function() {
|
17 |
+
initSelfTestObserver(urlTest,urlList);
|
18 |
+
initCreateFieldsObserver(urlCreateFields);
|
19 |
});
|
20 |
</script>
|
js/emailchef/admin.js
CHANGED
@@ -13,14 +13,16 @@ function initListObserver(url) {
|
|
13 |
var updater = new Ajax.Updater('emailchef_newsletter_emailchef_default_group', url, {
|
14 |
method: 'get',
|
15 |
onSuccess: function () {
|
|
|
16 |
$('emailchef_newsletter_emailchef_default_group').value = currentGroupSelected;
|
|
|
17 |
},
|
18 |
parameters: {list: $('emailchef_newsletter_emailchef_list').value}
|
19 |
});
|
20 |
}); // End of emailchef list change
|
21 |
}
|
22 |
|
23 |
-
function initSelfTestObserver(url) {
|
24 |
$('emailchef_selftest_button').observe('click', function (event) {
|
25 |
var request = new Ajax.Request(url, {
|
26 |
method: 'get',
|
@@ -28,6 +30,20 @@ function initSelfTestObserver(url) {
|
|
28 |
onComplete: function(transport) {
|
29 |
$('messages').update(transport.responseText);
|
30 |
Element.hide('loading-mask');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
},
|
32 |
parameters: {
|
33 |
username_ws: $('emailchef_newsletter_emailchef_username_ws').value,
|
@@ -36,3 +52,9 @@ function initSelfTestObserver(url) {
|
|
36 |
});
|
37 |
}); // End of emailchef selftest button click change
|
38 |
}
|
|
|
|
|
|
|
|
|
|
|
|
13 |
var updater = new Ajax.Updater('emailchef_newsletter_emailchef_default_group', url, {
|
14 |
method: 'get',
|
15 |
onSuccess: function () {
|
16 |
+
setTimeout(function(){
|
17 |
$('emailchef_newsletter_emailchef_default_group').value = currentGroupSelected;
|
18 |
+
},10);
|
19 |
},
|
20 |
parameters: {list: $('emailchef_newsletter_emailchef_list').value}
|
21 |
});
|
22 |
}); // End of emailchef list change
|
23 |
}
|
24 |
|
25 |
+
function initSelfTestObserver(url,url2) {
|
26 |
$('emailchef_selftest_button').observe('click', function (event) {
|
27 |
var request = new Ajax.Request(url, {
|
28 |
method: 'get',
|
30 |
onComplete: function(transport) {
|
31 |
$('messages').update(transport.responseText);
|
32 |
Element.hide('loading-mask');
|
33 |
+
|
34 |
+
// Update lists
|
35 |
+
var currentListSelected = $('emailchef_newsletter_emailchef_list').value;
|
36 |
+
var currentGroupSelected = $('emailchef_newsletter_emailchef_default_group').value;
|
37 |
+
var updater = new Ajax.Updater('emailchef_newsletter_emailchef_list', url2, {
|
38 |
+
method: 'get',
|
39 |
+
onSuccess: function () {
|
40 |
+
setTimeout(function(){
|
41 |
+
$('emailchef_newsletter_emailchef_list').value = currentListSelected;
|
42 |
+
$('emailchef_newsletter_emailchef_default_group').value = currentGroupSelected;
|
43 |
+
},10);
|
44 |
+
},
|
45 |
+
parameters: {}
|
46 |
+
});
|
47 |
},
|
48 |
parameters: {
|
49 |
username_ws: $('emailchef_newsletter_emailchef_username_ws').value,
|
52 |
});
|
53 |
}); // End of emailchef selftest button click change
|
54 |
}
|
55 |
+
|
56 |
+
function initCreateFieldsObserver(url) {
|
57 |
+
$('emailchef_createfields_button').observe('click', function (event) {
|
58 |
+
window.location.href=url;
|
59 |
+
});
|
60 |
+
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>eMailChef_Email_Marketing</name>
|
4 |
-
<version>2.7.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/academic.php">Academic Free License (AFL)</license>
|
7 |
<channel>community</channel>
|
@@ -16,11 +16,11 @@ The extension allows you to:
|
|
16 |
* Increase sales with automated messages to reward loyal customers, recover abandoned carts, repeat purchases, engage inactive customers.
|
17 |

|
18 |
It supports custom customer fields synchronization, multiple stores and a scalable structure to support a big or growing eCommerce.</description>
|
19 |
-
<notes>
|
20 |
<authors><author><name>eMailChef</name><user>emailchef</user><email>info@emailchef.com</email></author></authors>
|
21 |
-
<date>2016-
|
22 |
-
<time>
|
23 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="emailchef"><dir name="emailchefsync"><file name="confirm.phtml" hash="4cc51eec964f9adc861d2adeeab2e159"/><file name="fieldsmapping.phtml" hash="f081cbcc9505dd2a751e3c371dfd66d4"/><file name="filter.phtml" hash="ee871c5ecf502ce490e124c79749f04c"/><file name="sysconfigjavascript.phtml" hash="54b6b0eede87cea5623ce4c53d3bb19a"/><file name="viewdatatransferlog.phtml" hash="fcc13d34146e22630d1a170888b2cc73"/></dir></dir></dir><dir name="layout"><file name="emailchef.xml" hash="483a27e7658ed30eabbf4ccb6c49e32d"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="emailchef.xml" hash="ae1a0ff16778698b944b0bc47022a3da"/></dir><dir name="template"><dir name="emailchef"><dir name="customer"><dir name="account"><dir name="dashboard"><file name="info.phtml" hash="460c819142337968742c0d3f3ea2d70b"/></dir></dir></dir><file name="index.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="subscribe.phtml" hash="c1120655930feee69a36eb17d06cd28c"/></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="layout"><file name="emailchef.xml" hash="a05826432214fdfa4a504ccb97ed30f0"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EMailChef_EMailChefSync.xml" hash="d168206ac099f1f2820bc482dc41fd32"/></dir></target><target name="magelocale"><dir name="en_US"><file name="EMailChef_EMailChefSync.csv" hash="2c2af98653250a10f19f8800ce653a5f"/></dir><dir name="it_IT"><file name="EMailChef_EMailChefSync.csv" hash="4c26494d0f811fe272b8d96f5296ec2f"/></dir></target><target name="mageweb"><dir name="js"><dir name="emailchef"><file name="admin.js" hash="3dec32e3f22caaf2b08550b25d329137"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="emailchef"><dir name="emailchefsync"><file name="emailchef.css" hash="f4677eafd94f55b21f692f1a1a4418a4"/><dir name="images"><file name="EMailChef_300_200_transparent_small.png" hash="b77c12541d578e3837fd8dd84287472d"/></dir></dir></dir><dir name="images"><file name="EMailChef_300_200_transparent_small.png" hash="b77c12541d578e3837fd8dd84287472d"/></dir></dir></dir></dir></target><target name="magecommunity"><dir name="EMailChef"><dir name="EMailChefSync"><dir name="Block"><dir name="Adminhtml"><dir name="Emailchef"><file name="Grid.php" hash="d2a3345bc696652e530fda1af2fbaa53"/></dir><file name="Emailchefbackend.php" hash="ec91007a6241138036eaef8e17d231bd"/><dir name="Log"><file name="Grid.php" hash="0db1b79afaecb26a1dc24e8907fe27a0"/></dir><file name="Log.php" hash="207af70ed0f43aa8ffd3781b422301cf"/><dir name="Sync"><file name="Grid.php" hash="0c260fe778a4ea90370ae69ee515c3e2"/></dir><file name="Sync.php" hash="671f148a9f202022373c72b13b539ba6"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Timezone.php" hash="93b1bcd9a90a5f2bf41f61573b2ca05c"/></dir><file name="Testbutton.php" hash="589cc7c54e89119c04df0694ff480449"/></dir></dir></dir></dir><dir name="Checkout"><file name="Subscribe.php" hash="9210cae9ac928334172ac320739f9909"/></dir><file name="Filters.php" hash="5e2d11f5745b29ace6ffd2391cbd0725"/><file name="Index.php" hash="f81f4560e001904fe932e37779f596b3"/></dir><dir name="Helper"><file name="Customer.php" hash="2536e068e34da684d04292fe316443c5"/><file name="Data.php" hash="dc99faa205fcca3fca09f7be639bc524"/><file name="Order.php" hash="1accc4d002bd35a600cfc1ca44ffcc74"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Clone"><dir name="Mappings"><file name="Custom.php" hash="0078206fe6c6bd081d8428ff6476e59c"/></dir></dir><dir name="Source"><dir name="Cron"><file name="Frequency.php" hash="37df5528600d8341da41d0cc10b11a07"/><file name="Hours.php" hash="d40324183409e7f2d930670ff6dacc61"/></dir><file name="Fields.php" hash="4a19370ad6fc4ecbfc386fb09a73cc1e"/></dir><file name=".DS_Store" hash="699eb0995de74828d9f23655e826e581"/></dir><file name=".DS_Store" hash="173bd8294aed6b0b02e19ffb8e68cbd5"/></dir><file name="Config.php" hash="1673a5bc70d5d0d9f34a0c56a8e8cd15"/><file name="Cron.php" hash="1acdd3e8b566a071abc441bf8918d838"/><file name="EMailChef.php" hash="437dad8c72017bc16f3de697aea36d93"/><file name="EMailChefWsImport.php" hash="10451b9a5947d45c3314e2054bdc195a"/><file name="Job.php" hash="dfe36405177326d15e1bebdb08874b21"/><file name="Log.php" hash="58e8e6cb86330d3c59069fb296b9b4fd"/><dir name="Mysql14"><dir name="EMailChef"><file name="Collection.php" hash="cb68241cd01ebd90d8ddbc9dcdb715c3"/></dir><file name="EMailChef.php" hash="a497d4b9997f3d151b5a51b3d6998f2a"/></dir><dir name="Mysql4"><dir name="Job"><file name="Collection.php" hash="ba1292353eef4e045d8c72de5e7769d6"/></dir><file name="Job.php" hash="384997974ab3e9de8d7ba1211b15c443"/><dir name="Log"><file name="Collection.php" hash="ceeb26d021f95e99880682b3b7af817b"/></dir><file name="Log.php" hash="ea770e1528045a8ccdb9bd4e59871be3"/><dir name="Sync"><file name="Collection.php" hash="5bfde1db8cac1f77f3ac4c625f4345c6"/></dir><file name="Sync.php" hash="759298c97fc80f1e66972ffb78f7ff5a"/></dir><file name="Observer.php" hash="26d4dd4c7a3455b316189df408cc9012"/><dir name="Source"><file name="Groups.php" hash="0154ecf02a3270accf04447ac1674801"/><file name="Lists.php" hash="7ba86d3afb767b4e79a994a376ccf7fb"/><file name="Store.php" hash="80599650cd05006e2dd40c9b628cd545"/></dir><file name="Subscriber.php" hash="781b551a91122a2b9bc6bbeecfeacff5"/><file name="Sync.php" hash="0f977fd0c8b31275a257831048119194"/><file name="Webserviceusernamevalidator.php" hash="f63b53fe27fda5577d93d523afb41c5a"/><file name="Wssend.php" hash="6a1852323adbe3f356081a2215bd2e9a"/><file name=".DS_Store" hash="6f2c4920df9dd2405271ef9b6495cacc"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ConfigurationController.php" hash="d8b83bc8d3ce26065fb02478e608de6c"/><file name="EmailchefbackendController.php" hash="da7805443770f5237f414e6d4b671606"/><file name="FieldsmappingController.php" hash="2179ea6b4af996119da131e16b98a6b1"/><file name="FilterController.php" hash="bb7a37a13bc7806940869fff0d0e32cd"/><file name="LogController.php" hash="3dd0493229d5a72e6107d7a5b3c40daf"/><file name="SyncController.php" hash="36b329636bb36b53255515a2aa008b71"/><file name="ViewdatatransferlogController.php" hash="9c365252d2f19dc083a1e37f08d3d459"/></dir><file name="IndexController.php" hash="496e64c0017cad1e4ca3054fc7bec8b2"/><file name="TestController.php" hash="3f33f416a780c73ca084209e0b15733e"/></dir><dir name="data"><dir name="emailchef_setup"><file name="data-upgrade-2.6.1-2.7.0.php" hash="8d5d8d7d0bc17a1713f3d3e4e2f5a152"/><file name="data-upgrade-2.7.0-2.7.1.php" hash="ee4db9ad27329df5ff266c5743034bf1"/></dir></dir><dir name="etc"><file name="config.xml" hash="ffa53e7bc300fe10757810c1b61c4194"/><file name="system.xml" hash="fc9d505c9ae6411c31b276992e43e548"/></dir><dir name="lib"><dir name="emailchef"><file name="composer.json" hash="ce2632f1142f528af40cd4e3847e5d16"/><file name="composer.lock" hash="77160029c175c981c1c211ef1a633e31"/><dir name="src"><dir name="Command"><dir name="Api"><file name="AddEmailsToGroupCommand.php" hash="6a9c5cbfdeb309460614c37fbb59b51e"/><file name="CreateContactCommand.php" hash="fd4f1b6031cbb9553bc162c0a4c8c982"/><file name="CreateSegmentCommand.php" hash="713fc967af2ea10e8f1812f41050d56f"/><file name="DeleteContactCommand.php" hash="3695d465e99b6b0043f2b9d62ccb591a"/><file name="GetAuthenticationTokenCommand.php" hash="638082e753ae3b1513ad41c355cf5919"/><file name="GetContactFromEmailCommand.php" hash="f8ae9b6c2f3ad30c49f420b19153319c"/><file name="GetListFieldsCommand.php" hash="eb20042dc648ce5346c5b3cbd399d1e2"/><file name="GetListSegmentsCommand.php" hash="4ba2286ffaf027101330a1253b3cddb4"/><file name="GetListsCommand.php" hash="e701c5994c365453b027fbdfdcc7a8ec"/><file name="GetPredefinedFieldsCommand.php" hash="79bda491223b61ec7dad630eb60c3cf4"/><file name="GetSegmentCommand.php" hash="8a59af05a57584d9c8fb32afb3fba379"/><file name="ImportContactsCommand.php" hash="17c3dd74132c36d73929b73b07e3b184"/><file name="ImportContactsInGroupCommand.php" hash="3ad7291d5fe56642984a4276d3ef5ab5"/><file name="UpdateSegmentCommand.php" hash="9488cbd85eb973f7d48433c32e24af44"/></dir></dir><dir name="Service"><file name="ApiService.php" hash="7824c933c44a8491fe9334338b0fafcb"/></dir></dir><dir name="test"><file name="phpunit.xml" hash="829f0c39f029c0d0ab092c5c6fd8d301"/><dir name="unit"><dir name="Command"><file name="AddEmailsToGroupCommandTest.php" hash="75a8404f94d8e309f02bb9b64e9c2120"/><file name="CreateSegmentCommandTest.php" hash="7ef3ceb2ffa4469fe950ba4f25dd903a"/><file name="GetAuthenticationTokenCommandTest.php" hash="12d673b9fbc583df9d45f3481ebd44ec"/><file name="ImportContactsCommandTest.php" hash="e6ea4e1e5df69ba52d0c0c96e3e101ce"/></dir></dir></dir><dir name="vendor"><file name="autoload.php" hash="83838c2118adc16023a8ef43073033c8"/><dir name="composer"><file name="ClassLoader.php" hash="9c1e7fe1a9eb1693e07ee4420ca5361e"/><file name="autoload_classmap.php" hash="8645d3a4e3ad87e7cf4d88a46717aab4"/><file name="autoload_namespaces.php" hash="cc14160111f4c826b2d2f7d3607cd929"/><file name="autoload_psr4.php" hash="8101210abd86efa0c6c2b176feb02eb2"/><file name="autoload_real.php" hash="7367f6c0c32fe6e2143fb8035b968a3a"/><file name="installed.json" hash="c11b9c8f89ab3517257f24de51cd98e9"/></dir><dir name="nategood"><dir name="httpful"><file name="LICENSE.txt" hash="7ca5638737732644abff32e3692d3f08"/><file name="README.md" hash="a66bf378ff0e33997f001b1f8914f113"/><file name="bootstrap.php" hash="43403ece6b45e45b41226f492bd26a00"/><file name="build" hash="60d32512c85fd00edaa34ffa661a2673"/><file name="composer.json" hash="f4d44577667e084ce4caf4c59ac23eb0"/><dir name="examples"><file name="freebase.php" hash="be0393bad689907ef0bca220c782b2e9"/><file name="github.php" hash="cf5b514b4dbcb52d4b82a33dab26e26e"/><file name="override.php" hash="1d6a4995a66732da8663f4b918fc7f70"/><file name="showclix.php" hash="fd7d0d44c75d63cfbcbcc194b8f69f9f"/></dir><dir name="src"><dir name="Httpful"><file name="Bootstrap.php" hash="51d17ae72a57c65546486b435776c2bd"/><dir name="Exception"><file name="ConnectionErrorException.php" hash="a49ab01edd81689362a97e02295f7a0e"/></dir><dir name="Handlers"><file name="CsvHandler.php" hash="269db178b45c9e6e1a16cf2c4440ddb1"/><file name="FormHandler.php" hash="e675ecb22f91e30d57ca35fe3c6374f6"/><file name="JsonHandler.php" hash="d5461f6a8b86da134b029b4916594590"/><file name="MimeHandlerAdapter.php" hash="34010b71fb36f33b9e448b74e2e39e0f"/><file name="README.md" hash="fcad8bf687507c77de6f4f7806707726"/><file name="XHtmlHandler.php" hash="9a9a41aea61b8704a9a98e727a4ca27e"/><file name="XmlHandler.php" hash="c25296058b3954baafe034d2e464ae2c"/></dir><file name="Http.php" hash="dfdca2d11fb4dea5c1abd054cb6be852"/><file name="Httpful.php" hash="eb04ecd891d3c48927a5897e3449d0a4"/><file name="Mime.php" hash="77faccc1070d3d2dbafbb3cfc77ad1a9"/><file name="Proxy.php" hash="d45089ad4c29a84ad65a1a381e7327bc"/><file name="Request.php" hash="897337705e2fa79d2b983af47dd19061"/><dir name="Response"><file name="Headers.php" hash="6a6267acdca14d6ec7e0dd5c2785a738"/></dir><file name="Response.php" hash="ab18c330d7b0044c315704954fae0e54"/></dir></dir><dir name="tests"><dir name="Httpful"><file name="HttpfulTest.php" hash="404bb70a04fc9ad548f41d5fe8ba28f5"/><file name="requestTest.php" hash="4febb97fefe75e79330526b4d47e1de7"/></dir><file name="bootstrap-server.php" hash="5c4cd2603d8936d6b5c1c38d698113ad"/><file name="phpunit.xml" hash="f36b3a0ba9fc6db70b4e32ba87883b39"/><dir name="static"><file name="test.json" hash="01d6c8b6c785adff197ff820909740e7"/></dir><file name="test_image.jpg" hash="255d85184ea945fc9d6bd6366a23a145"/></dir><file name=".gitignore" hash="6bd5c19cb1b9adb0223f58c272e2bfd8"/><file name=".travis.yml" hash="db6c7675e766a565e94040ffa06801bd"/></dir></dir></dir></dir></dir><dir name="sql"><dir name="emailchef_setup"><file name="mysql4-install-0.1.0.php" hash="2c503698e89eb5ca27feef563455c334"/><file name="mysql4-install-2.3.0.php" hash="6015f9a0aa56c874333bda358ce36c50"/><file name="mysql4-install-2.4.0.php" hash="68c15d5830e59c6a2840d9c1096c3918"/><file name="mysql4-upgrade-0.1.0-1.0.0.php" hash="2c503698e89eb5ca27feef563455c334"/><file name="mysql4-upgrade-0.3.0-1.0.0.php" hash="7f4813a164c9d75e47a4ce0bb15a1511"/><file name="mysql4-upgrade-1.0.0-1.5.2.php" hash="a25dc5c3193164b9c460193ee28daf0d"/><file name="mysql4-upgrade-2.1.3-2.2.0.php" hash="6a160864837daf1bb1dd6955f1cf9b59"/><file name="mysql4-upgrade-2.2.0-2.3.0.php" hash="c9e5bf6ac04871b071fc22e010d7b3a4"/><file name="mysql4-upgrade-2.2.1-2.3.0.php" hash="c9e5bf6ac04871b071fc22e010d7b3a4"/><file name="mysql4-upgrade-2.3.0-2.3.1.php" hash="dffc26ae01d24236673bda7075cf4747"/><file name="mysql4-upgrade-2.3.1-2.3.2.php" hash="2bbeaa910873c9f47875275e1a11979e"/><file name="mysql4-upgrade-2.3.2-2.4.0.php" hash="68c15d5830e59c6a2840d9c1096c3918"/><file name="mysql4-upgrade-2.4.0-2.4.1.php" hash="acda14236900c30b1cb71be8e6a34329"/><file name="mysql4-upgrade-2.6.1-2.7.0.php" hash="f85d104d7350403fdd8dd8e53c8ed8c1"/></dir></dir></dir></dir></target></contents>
|
24 |
<compatible/>
|
25 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
26 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>eMailChef_Email_Marketing</name>
|
4 |
+
<version>2.7.7</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/academic.php">Academic Free License (AFL)</license>
|
7 |
<channel>community</channel>
|
16 |
* Increase sales with automated messages to reward loyal customers, recover abandoned carts, repeat purchases, engage inactive customers.
|
17 |

|
18 |
It supports custom customer fields synchronization, multiple stores and a scalable structure to support a big or growing eCommerce.</description>
|
19 |
+
<notes>Added automatic creation of fields in list</notes>
|
20 |
<authors><author><name>eMailChef</name><user>emailchef</user><email>info@emailchef.com</email></author></authors>
|
21 |
+
<date>2016-04-12</date>
|
22 |
+
<time>01:48:58</time>
|
23 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="emailchef"><dir name="emailchefsync"><file name="confirm.phtml" hash="e74776a88a6d903938179659bd77f2a9"/><file name="fieldsmapping.phtml" hash="f081cbcc9505dd2a751e3c371dfd66d4"/><file name="filter.phtml" hash="e26957e5401db119b704191eac51bf48"/><file name="sysconfigjavascript.phtml" hash="77a6eae0c3a066af9eeb56ebca16fb9b"/><file name="viewdatatransferlog.phtml" hash="fcc13d34146e22630d1a170888b2cc73"/></dir></dir></dir><dir name="layout"><file name="emailchef.xml" hash="483a27e7658ed30eabbf4ccb6c49e32d"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="emailchef.xml" hash="ae1a0ff16778698b944b0bc47022a3da"/></dir><dir name="template"><dir name="emailchef"><dir name="customer"><dir name="account"><dir name="dashboard"><file name="info.phtml" hash="460c819142337968742c0d3f3ea2d70b"/></dir></dir></dir><file name="index.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="subscribe.phtml" hash="c1120655930feee69a36eb17d06cd28c"/></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="layout"><file name="emailchef.xml" hash="a05826432214fdfa4a504ccb97ed30f0"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="EMailChef_EMailChefSync.xml" hash="d168206ac099f1f2820bc482dc41fd32"/></dir></target><target name="magelocale"><dir name="en_US"><file name="EMailChef_EMailChefSync.csv" hash="2c2af98653250a10f19f8800ce653a5f"/></dir><dir name="it_IT"><file name="EMailChef_EMailChefSync.csv" hash="4c26494d0f811fe272b8d96f5296ec2f"/></dir></target><target name="mageweb"><dir name="js"><dir name="emailchef"><file name="admin.js" hash="9ce9fcd8d7eff2fa8c39cf33dbf46319"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="emailchef"><dir name="emailchefsync"><file name="emailchef.css" hash="f4677eafd94f55b21f692f1a1a4418a4"/><dir name="images"><file name="EMailChef_300_200_transparent_small.png" hash="b77c12541d578e3837fd8dd84287472d"/></dir></dir></dir><dir name="images"><file name="EMailChef_300_200_transparent_small.png" hash="b77c12541d578e3837fd8dd84287472d"/></dir></dir></dir></dir></target><target name="magecommunity"><dir name="EMailChef"><dir name="EMailChefSync"><dir name="Block"><dir name="Adminhtml"><dir name="Emailchef"><file name="Grid.php" hash="d2a3345bc696652e530fda1af2fbaa53"/></dir><file name="Emailchefbackend.php" hash="ec91007a6241138036eaef8e17d231bd"/><dir name="Log"><file name="Grid.php" hash="0db1b79afaecb26a1dc24e8907fe27a0"/></dir><file name="Log.php" hash="207af70ed0f43aa8ffd3781b422301cf"/><dir name="Sync"><file name="Grid.php" hash="0c260fe778a4ea90370ae69ee515c3e2"/></dir><file name="Sync.php" hash="671f148a9f202022373c72b13b539ba6"/><dir name="System"><dir name="Config"><dir name="Form"><file name="Createfieldsbutton.php" hash="f1e2e481cbe9b0f9e2498fe645502b55"/><dir name="Field"><file name="Timezone.php" hash="93b1bcd9a90a5f2bf41f61573b2ca05c"/></dir><file name="Testbutton.php" hash="589cc7c54e89119c04df0694ff480449"/></dir></dir></dir></dir><dir name="Checkout"><file name="Subscribe.php" hash="9210cae9ac928334172ac320739f9909"/></dir><file name="Filters.php" hash="5e2d11f5745b29ace6ffd2391cbd0725"/><file name="Index.php" hash="f81f4560e001904fe932e37779f596b3"/></dir><dir name="Helper"><file name="Customer.php" hash="2536e068e34da684d04292fe316443c5"/><file name="Data.php" hash="dc99faa205fcca3fca09f7be639bc524"/><file name="Order.php" hash="1accc4d002bd35a600cfc1ca44ffcc74"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Clone"><dir name="Mappings"><file name="Custom.php" hash="0078206fe6c6bd081d8428ff6476e59c"/></dir></dir><dir name="Source"><dir name="Cron"><file name="Frequency.php" hash="37df5528600d8341da41d0cc10b11a07"/><file name="Hours.php" hash="d40324183409e7f2d930670ff6dacc61"/></dir><file name="Fields.php" hash="4a19370ad6fc4ecbfc386fb09a73cc1e"/></dir><file name=".DS_Store" hash="699eb0995de74828d9f23655e826e581"/></dir><file name=".DS_Store" hash="173bd8294aed6b0b02e19ffb8e68cbd5"/></dir><file name="Config.php" hash="1673a5bc70d5d0d9f34a0c56a8e8cd15"/><file name="Cron.php" hash="1acdd3e8b566a071abc441bf8918d838"/><file name="EMailChef.php" hash="437dad8c72017bc16f3de697aea36d93"/><file name="EMailChefWsImport.php" hash="fa938196c584567d26496fd11ddb2028"/><file name="Job.php" hash="dfe36405177326d15e1bebdb08874b21"/><file name="Log.php" hash="58e8e6cb86330d3c59069fb296b9b4fd"/><dir name="Mysql14"><dir name="EMailChef"><file name="Collection.php" hash="cb68241cd01ebd90d8ddbc9dcdb715c3"/></dir><file name="EMailChef.php" hash="a497d4b9997f3d151b5a51b3d6998f2a"/></dir><dir name="Mysql4"><dir name="Job"><file name="Collection.php" hash="ba1292353eef4e045d8c72de5e7769d6"/></dir><file name="Job.php" hash="384997974ab3e9de8d7ba1211b15c443"/><dir name="Log"><file name="Collection.php" hash="ceeb26d021f95e99880682b3b7af817b"/></dir><file name="Log.php" hash="ea770e1528045a8ccdb9bd4e59871be3"/><dir name="Sync"><file name="Collection.php" hash="5bfde1db8cac1f77f3ac4c625f4345c6"/></dir><file name="Sync.php" hash="759298c97fc80f1e66972ffb78f7ff5a"/></dir><file name="Observer.php" hash="26d4dd4c7a3455b316189df408cc9012"/><dir name="Source"><file name="Groups.php" hash="0154ecf02a3270accf04447ac1674801"/><file name="Lists.php" hash="7ba86d3afb767b4e79a994a376ccf7fb"/><file name="Store.php" hash="80599650cd05006e2dd40c9b628cd545"/></dir><file name="Subscriber.php" hash="781b551a91122a2b9bc6bbeecfeacff5"/><file name="Sync.php" hash="0f977fd0c8b31275a257831048119194"/><file name="Webserviceusernamevalidator.php" hash="f63b53fe27fda5577d93d523afb41c5a"/><file name="Wssend.php" hash="6a1852323adbe3f356081a2215bd2e9a"/><file name=".DS_Store" hash="6f2c4920df9dd2405271ef9b6495cacc"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ConfigurationController.php" hash="c24c89793f7dc18c7ea2650b0e0da437"/><file name="EmailchefbackendController.php" hash="da7805443770f5237f414e6d4b671606"/><file name="FieldsmappingController.php" hash="2179ea6b4af996119da131e16b98a6b1"/><file name="FilterController.php" hash="bb7a37a13bc7806940869fff0d0e32cd"/><file name="LogController.php" hash="3dd0493229d5a72e6107d7a5b3c40daf"/><file name="SyncController.php" hash="36b329636bb36b53255515a2aa008b71"/><file name="ViewdatatransferlogController.php" hash="9c365252d2f19dc083a1e37f08d3d459"/></dir><file name="IndexController.php" hash="496e64c0017cad1e4ca3054fc7bec8b2"/><file name="TestController.php" hash="3f33f416a780c73ca084209e0b15733e"/></dir><dir name="data"><dir name="emailchef_setup"><file name="data-upgrade-2.6.1-2.7.0.php" hash="8d5d8d7d0bc17a1713f3d3e4e2f5a152"/><file name="data-upgrade-2.7.0-2.7.1.php" hash="ee4db9ad27329df5ff266c5743034bf1"/></dir></dir><dir name="etc"><file name="config.xml" hash="ffa53e7bc300fe10757810c1b61c4194"/><file name="system.xml" hash="91c4fb85b69f59a44334363ab5d55a66"/></dir><dir name="lib"><dir name="emailchef"><file name="composer.json" hash="ce2632f1142f528af40cd4e3847e5d16"/><file name="composer.lock" hash="77160029c175c981c1c211ef1a633e31"/><dir name="src"><dir name="Command"><dir name="Api"><file name="AddEmailsToGroupCommand.php" hash="6a9c5cbfdeb309460614c37fbb59b51e"/><file name="CreateContactCommand.php" hash="fd4f1b6031cbb9553bc162c0a4c8c982"/><file name="CreateCustomFieldCommand.php" hash="283d8fe73b07fef080b5fb87c5e20119"/><file name="CreateSegmentCommand.php" hash="713fc967af2ea10e8f1812f41050d56f"/><file name="DeleteContactCommand.php" hash="3695d465e99b6b0043f2b9d62ccb591a"/><file name="GetAuthenticationTokenCommand.php" hash="638082e753ae3b1513ad41c355cf5919"/><file name="GetContactFromEmailCommand.php" hash="f8ae9b6c2f3ad30c49f420b19153319c"/><file name="GetListFieldsCommand.php" hash="eb20042dc648ce5346c5b3cbd399d1e2"/><file name="GetListSegmentsCommand.php" hash="4ba2286ffaf027101330a1253b3cddb4"/><file name="GetListsCommand.php" hash="e701c5994c365453b027fbdfdcc7a8ec"/><file name="GetPredefinedFieldsCommand.php" hash="79bda491223b61ec7dad630eb60c3cf4"/><file name="GetSegmentCommand.php" hash="8a59af05a57584d9c8fb32afb3fba379"/><file name="ImportContactsCommand.php" hash="17c3dd74132c36d73929b73b07e3b184"/><file name="ImportContactsInGroupCommand.php" hash="3ad7291d5fe56642984a4276d3ef5ab5"/><file name="UpdateSegmentCommand.php" hash="9488cbd85eb973f7d48433c32e24af44"/></dir></dir><dir name="Service"><file name="ApiService.php" hash="7824c933c44a8491fe9334338b0fafcb"/></dir></dir><dir name="test"><file name="phpunit.xml" hash="829f0c39f029c0d0ab092c5c6fd8d301"/><dir name="unit"><dir name="Command"><file name="AddEmailsToGroupCommandTest.php" hash="75a8404f94d8e309f02bb9b64e9c2120"/><file name="CreateSegmentCommandTest.php" hash="7ef3ceb2ffa4469fe950ba4f25dd903a"/><file name="GetAuthenticationTokenCommandTest.php" hash="12d673b9fbc583df9d45f3481ebd44ec"/><file name="ImportContactsCommandTest.php" hash="e6ea4e1e5df69ba52d0c0c96e3e101ce"/></dir></dir></dir><dir name="vendor"><file name="autoload.php" hash="83838c2118adc16023a8ef43073033c8"/><dir name="composer"><file name="ClassLoader.php" hash="9c1e7fe1a9eb1693e07ee4420ca5361e"/><file name="autoload_classmap.php" hash="8645d3a4e3ad87e7cf4d88a46717aab4"/><file name="autoload_namespaces.php" hash="cc14160111f4c826b2d2f7d3607cd929"/><file name="autoload_psr4.php" hash="8101210abd86efa0c6c2b176feb02eb2"/><file name="autoload_real.php" hash="7367f6c0c32fe6e2143fb8035b968a3a"/><file name="installed.json" hash="c11b9c8f89ab3517257f24de51cd98e9"/></dir><dir name="nategood"><dir name="httpful"><file name="LICENSE.txt" hash="7ca5638737732644abff32e3692d3f08"/><file name="README.md" hash="a66bf378ff0e33997f001b1f8914f113"/><file name="bootstrap.php" hash="43403ece6b45e45b41226f492bd26a00"/><file name="build" hash="60d32512c85fd00edaa34ffa661a2673"/><file name="composer.json" hash="f4d44577667e084ce4caf4c59ac23eb0"/><dir name="examples"><file name="freebase.php" hash="be0393bad689907ef0bca220c782b2e9"/><file name="github.php" hash="cf5b514b4dbcb52d4b82a33dab26e26e"/><file name="override.php" hash="1d6a4995a66732da8663f4b918fc7f70"/><file name="showclix.php" hash="fd7d0d44c75d63cfbcbcc194b8f69f9f"/></dir><dir name="src"><dir name="Httpful"><file name="Bootstrap.php" hash="51d17ae72a57c65546486b435776c2bd"/><dir name="Exception"><file name="ConnectionErrorException.php" hash="a49ab01edd81689362a97e02295f7a0e"/></dir><dir name="Handlers"><file name="CsvHandler.php" hash="269db178b45c9e6e1a16cf2c4440ddb1"/><file name="FormHandler.php" hash="e675ecb22f91e30d57ca35fe3c6374f6"/><file name="JsonHandler.php" hash="d5461f6a8b86da134b029b4916594590"/><file name="MimeHandlerAdapter.php" hash="34010b71fb36f33b9e448b74e2e39e0f"/><file name="README.md" hash="fcad8bf687507c77de6f4f7806707726"/><file name="XHtmlHandler.php" hash="9a9a41aea61b8704a9a98e727a4ca27e"/><file name="XmlHandler.php" hash="c25296058b3954baafe034d2e464ae2c"/></dir><file name="Http.php" hash="dfdca2d11fb4dea5c1abd054cb6be852"/><file name="Httpful.php" hash="eb04ecd891d3c48927a5897e3449d0a4"/><file name="Mime.php" hash="77faccc1070d3d2dbafbb3cfc77ad1a9"/><file name="Proxy.php" hash="d45089ad4c29a84ad65a1a381e7327bc"/><file name="Request.php" hash="897337705e2fa79d2b983af47dd19061"/><dir name="Response"><file name="Headers.php" hash="6a6267acdca14d6ec7e0dd5c2785a738"/></dir><file name="Response.php" hash="ab18c330d7b0044c315704954fae0e54"/></dir></dir><dir name="tests"><dir name="Httpful"><file name="HttpfulTest.php" hash="404bb70a04fc9ad548f41d5fe8ba28f5"/><file name="requestTest.php" hash="4febb97fefe75e79330526b4d47e1de7"/></dir><file name="bootstrap-server.php" hash="5c4cd2603d8936d6b5c1c38d698113ad"/><file name="phpunit.xml" hash="f36b3a0ba9fc6db70b4e32ba87883b39"/><dir name="static"><file name="test.json" hash="01d6c8b6c785adff197ff820909740e7"/></dir><file name="test_image.jpg" hash="255d85184ea945fc9d6bd6366a23a145"/></dir><file name=".gitignore" hash="6bd5c19cb1b9adb0223f58c272e2bfd8"/><file name=".travis.yml" hash="db6c7675e766a565e94040ffa06801bd"/></dir></dir></dir></dir></dir><dir name="sql"><dir name="emailchef_setup"><file name="mysql4-install-0.1.0.php" hash="2c503698e89eb5ca27feef563455c334"/><file name="mysql4-install-2.3.0.php" hash="6015f9a0aa56c874333bda358ce36c50"/><file name="mysql4-install-2.4.0.php" hash="68c15d5830e59c6a2840d9c1096c3918"/><file name="mysql4-upgrade-0.1.0-1.0.0.php" hash="2c503698e89eb5ca27feef563455c334"/><file name="mysql4-upgrade-0.3.0-1.0.0.php" hash="7f4813a164c9d75e47a4ce0bb15a1511"/><file name="mysql4-upgrade-1.0.0-1.5.2.php" hash="a25dc5c3193164b9c460193ee28daf0d"/><file name="mysql4-upgrade-2.1.3-2.2.0.php" hash="6a160864837daf1bb1dd6955f1cf9b59"/><file name="mysql4-upgrade-2.2.0-2.3.0.php" hash="c9e5bf6ac04871b071fc22e010d7b3a4"/><file name="mysql4-upgrade-2.2.1-2.3.0.php" hash="c9e5bf6ac04871b071fc22e010d7b3a4"/><file name="mysql4-upgrade-2.3.0-2.3.1.php" hash="dffc26ae01d24236673bda7075cf4747"/><file name="mysql4-upgrade-2.3.1-2.3.2.php" hash="2bbeaa910873c9f47875275e1a11979e"/><file name="mysql4-upgrade-2.3.2-2.4.0.php" hash="68c15d5830e59c6a2840d9c1096c3918"/><file name="mysql4-upgrade-2.4.0-2.4.1.php" hash="acda14236900c30b1cb71be8e6a34329"/><file name="mysql4-upgrade-2.6.1-2.7.0.php" hash="f85d104d7350403fdd8dd8e53c8ed8c1"/></dir></dir></dir></dir></target></contents>
|
24 |
<compatible/>
|
25 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
26 |
</package>
|