Version Notes
- Added support for magento 1.5.x and upper.
Download this release
Release Info
Developer | Thomas Nelson |
Extension | Mailigen_Synchronizer |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- app/code/community/Mailigen/Synchronizer/Model/Resource/Customer.php +1 -1
- app/code/community/Mailigen/Synchronizer/Model/Resource/Customer/Collection.php +1 -1
- app/code/community/Mailigen/Synchronizer/etc/config.xml +1 -1
- app/code/community/Mailigen/Synchronizer/sql/mailigen_synchronizer_setup/install-1.1.0.php +19 -28
- package.xml +5 -5
app/code/community/Mailigen/Synchronizer/Model/Resource/Customer.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @package Mailigen_Synchronizer
|
8 |
* @author Maksim Soldatjonok <maksold@gmail.com>
|
9 |
*/
|
10 |
-
class Mailigen_Synchronizer_Model_Resource_Customer extends
|
11 |
{
|
12 |
protected function _construct()
|
13 |
{
|
7 |
* @package Mailigen_Synchronizer
|
8 |
* @author Maksim Soldatjonok <maksold@gmail.com>
|
9 |
*/
|
10 |
+
class Mailigen_Synchronizer_Model_Resource_Customer extends Mage_Core_Model_Mysql4_Abstract
|
11 |
{
|
12 |
protected function _construct()
|
13 |
{
|
app/code/community/Mailigen/Synchronizer/Model/Resource/Customer/Collection.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @package Mailigen_Synchronizer
|
8 |
* @author Maksim Soldatjonok <maksold@gmail.com>
|
9 |
*/
|
10 |
-
class Mailigen_Synchronizer_Model_Resource_Customer_Collection extends
|
11 |
{
|
12 |
protected function _construct()
|
13 |
{
|
7 |
* @package Mailigen_Synchronizer
|
8 |
* @author Maksim Soldatjonok <maksold@gmail.com>
|
9 |
*/
|
10 |
+
class Mailigen_Synchronizer_Model_Resource_Customer_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
|
11 |
{
|
12 |
protected function _construct()
|
13 |
{
|
app/code/community/Mailigen/Synchronizer/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Mailigen_Synchronizer>
|
5 |
-
<version>1.1.
|
6 |
</Mailigen_Synchronizer>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Mailigen_Synchronizer>
|
5 |
+
<version>1.1.2</version>
|
6 |
</Mailigen_Synchronizer>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/Mailigen/Synchronizer/sql/mailigen_synchronizer_setup/install-1.1.0.php
CHANGED
@@ -11,34 +11,25 @@ $installer = $this;
|
|
11 |
$installer->startSetup();
|
12 |
|
13 |
/**
|
14 |
-
* Drop table 'mailigen_synchronizer/customer'
|
15 |
*/
|
16 |
-
$installer->
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
->addColumn('valueofcurrentcart', Varien_Db_Ddl_Table::TYPE_TEXT, 255)
|
35 |
-
->addColumn('lastitemincartaddingdate', Varien_Db_Ddl_Table::TYPE_TEXT, 255)
|
36 |
-
// Special fields
|
37 |
-
->addColumn('is_removed', Varien_Db_Ddl_Table::TYPE_TINYINT, 1, array('default' => '0'))
|
38 |
-
->addColumn('is_synced', Varien_Db_Ddl_Table::TYPE_TINYINT, 1, array('default' => '0'))
|
39 |
-
->addColumn('synced_at', Varien_Db_Ddl_Table::TYPE_TIMESTAMP)
|
40 |
-
->setComment('Mailigen Synchronizer Customers');
|
41 |
-
|
42 |
-
$installer->getConnection()->createTable($table);
|
43 |
|
44 |
$installer->endSetup();
|
11 |
$installer->startSetup();
|
12 |
|
13 |
/**
|
14 |
+
* Drop and Create table 'mailigen_synchronizer/customer'
|
15 |
*/
|
16 |
+
$installer->run("
|
17 |
+
DROP TABLE IF EXISTS `{$installer->getTable('mailigen_synchronizer/customer')}`;
|
18 |
+
CREATE TABLE `{$installer->getTable('mailigen_synchronizer/customer')}` (
|
19 |
+
`id` int(10) unsigned NOT NULL COMMENT 'Customer Id',
|
20 |
+
`email` varchar(255) DEFAULT NULL COMMENT 'Email',
|
21 |
+
`lastorderdate` varchar(255) DEFAULT NULL COMMENT 'Last order date',
|
22 |
+
`valueoflastorder` varchar(255) DEFAULT NULL COMMENT 'Value of last order',
|
23 |
+
`totalvalueoforders` varchar(255) DEFAULT NULL COMMENT 'Total value of orders',
|
24 |
+
`totalnumberoforders` varchar(255) DEFAULT NULL COMMENT 'Total number of orders',
|
25 |
+
`numberofitemsincart` varchar(255) DEFAULT NULL COMMENT 'Number of items in cart',
|
26 |
+
`valueofcurrentcart` varchar(255) DEFAULT NULL COMMENT 'Value of current cart',
|
27 |
+
`lastitemincartaddingdate` varchar(255) DEFAULT NULL COMMENT 'Last item in cart adding date',
|
28 |
+
`is_removed` tinyint(1) DEFAULT '0' COMMENT 'Is removed',
|
29 |
+
`is_synced` tinyint(1) DEFAULT '0' COMMENT 'Is synced',
|
30 |
+
`synced_at` timestamp NULL DEFAULT NULL COMMENT 'Synced at',
|
31 |
+
PRIMARY KEY (`id`)
|
32 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Mailigen Synchronizer Customers';
|
33 |
+
");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
$installer->endSetup();
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mailigen_Synchronizer</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
@@ -19,11 +19,11 @@ Feature-rich synchronization
|
|
19 |
For more detailed information, instructions and usage of this extension, please visit Mailigen Integrations page or contact our support team.
|
20 |

|
21 |
Mailigen provides email and integrated marketing services covering full email automation. See a full integration list in Mailigen Integrations page.</description>
|
22 |
-
<notes>-
|
23 |
<authors><author><name>Thomas Nelson</name><user>mailigen</user><email>info@mailigen.com</email></author></authors>
|
24 |
-
<date>2015-05-
|
25 |
-
<time>
|
26 |
-
<contents><target name="magecommunity"><dir name="Mailigen"><dir name="Synchronizer"><dir name="Block"><dir name="Adminhtml"><dir name="Sync"><file name="Information.php" hash="0ab1c0f348bebc09b8d4463aa915b0ba"/></dir></dir><dir name="Newsletter"><dir name="Subscriber"><file name="Grid.php" hash="31ab69f735a6e1d4382ffa88c223bbf3"/></dir></dir></dir><dir name="Helper"><file name="Customer.php" hash="91b9c056767eb2de5e7d86d98038e984"/><file name="Data.php" hash="3907873d61c689b8899a8fbe03f39008"/><file name="Log.php" hash="e4ae795b78f4aed8b24f2a73a6e5a9ff"/></dir><dir name="Model"><dir name="Customer"><dir name="Merge"><file name="Field.php" hash="61c16630b368bff6a38096e29160b9b2"/></dir></dir><file name="Customer.php" hash="947ac735ca21d6edc4b47e93a80c7a9c"/><file name="List.php" hash="824b44c8d118cd0eb2aa7a62233b024f"/><file name="Mailigen.php" hash="16db407dc7953abb448de5c523833575"/><dir name="Newsletter"><file name="Subscriber.php" hash="31d0caec2f0eff537c39c6b584afc198"/></dir><file name="Observer.php" hash="e6046431c97e6672f2157c799e7fa429"/><dir name="Resource"><dir name="Customer"><file name="Collection.php" hash="
|
27 |
<compatible/>
|
28 |
<dependencies><required><php><min>5.4.0</min><max>6.0.0</max></php></required></dependencies>
|
29 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Mailigen_Synchronizer</name>
|
4 |
+
<version>1.1.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
19 |
For more detailed information, instructions and usage of this extension, please visit Mailigen Integrations page or contact our support team.
|
20 |

|
21 |
Mailigen provides email and integrated marketing services covering full email automation. See a full integration list in Mailigen Integrations page.</description>
|
22 |
+
<notes>- Added support for magento 1.5.x and upper.</notes>
|
23 |
<authors><author><name>Thomas Nelson</name><user>mailigen</user><email>info@mailigen.com</email></author></authors>
|
24 |
+
<date>2015-05-19</date>
|
25 |
+
<time>12:27:02</time>
|
26 |
+
<contents><target name="magecommunity"><dir name="Mailigen"><dir name="Synchronizer"><dir name="Block"><dir name="Adminhtml"><dir name="Sync"><file name="Information.php" hash="0ab1c0f348bebc09b8d4463aa915b0ba"/></dir></dir><dir name="Newsletter"><dir name="Subscriber"><file name="Grid.php" hash="31ab69f735a6e1d4382ffa88c223bbf3"/></dir></dir></dir><dir name="Helper"><file name="Customer.php" hash="91b9c056767eb2de5e7d86d98038e984"/><file name="Data.php" hash="3907873d61c689b8899a8fbe03f39008"/><file name="Log.php" hash="e4ae795b78f4aed8b24f2a73a6e5a9ff"/></dir><dir name="Model"><dir name="Customer"><dir name="Merge"><file name="Field.php" hash="61c16630b368bff6a38096e29160b9b2"/></dir></dir><file name="Customer.php" hash="947ac735ca21d6edc4b47e93a80c7a9c"/><file name="List.php" hash="824b44c8d118cd0eb2aa7a62233b024f"/><file name="Mailigen.php" hash="16db407dc7953abb448de5c523833575"/><dir name="Newsletter"><file name="Subscriber.php" hash="31d0caec2f0eff537c39c6b584afc198"/></dir><file name="Observer.php" hash="e6046431c97e6672f2157c799e7fa429"/><dir name="Resource"><dir name="Customer"><file name="Collection.php" hash="350fd71cb6db7688a932530256856533"/></dir><file name="Customer.php" hash="bb95830ef5e95b4a361a858d081ff4f8"/><dir name="Iterator"><file name="Batched.php" hash="d2b0ec0268773422de00cb6766083753"/></dir></dir><file name="Schedule.php" hash="e1c494dce9652566ae679a2032c86769"/><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Customer"><file name="List.php" hash="5370ca37cb8d4f0a268e3ef2e9f4c673"/></dir><dir name="Newsletter"><file name="List.php" hash="05f2ce9cb0954a35cc87f7899164beaa"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="MailigenController.php" hash="772672a78be5385faa660bded0157ddc"/></dir></dir><dir name="data"><dir name="mailigen_synchronizer_setup"><file name="data-install-1.1.0.php" hash="30f1fdb649862fcbbd943aeb7ce65c7f"/></dir></dir><dir name="etc"><file name="config.xml" hash="ad833118eb5938fe3c75f4589e7ca297"/><file name="system.xml" hash="52ba369f2ae3d11a0b5c71e101ec743a"/></dir><dir name="sql"><dir name="mailigen_synchronizer_setup"><file name="install-1.1.0.php" hash="57ee87c647fca4c728f9ee988be84231"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mailigen_Synchronizer.xml" hash="6a07537f8d139cba241548e9e11c3e8b"/></dir></target><target name="magelib"><dir name="mailigen"><file name="MGAPI.class.php" hash="16b7712206e95bf61c2cf6f92ef71583"/></dir></target></contents>
|
27 |
<compatible/>
|
28 |
<dependencies><required><php><min>5.4.0</min><max>6.0.0</max></php></required></dependencies>
|
29 |
</package>
|