Version Notes
- Optimized JS framework
- Added compatibility with PHP 5.6.30
- Bug fixes and performance improvements
Download this release
Release Info
Developer | TriggMine |
Extension | TriggMineCartRecovery |
Version | 3.0.14.1 |
Comparing to | |
See all releases |
Code changes from version 3.0.13.2 to 3.0.14.1
- app/code/community/Triggmine/IntegrationModule/Helper/Data.php +7 -4
- app/code/community/Triggmine/IntegrationModule/Model/Observer.php +4 -1
- app/code/community/Triggmine/IntegrationModule/controllers/Adminhtml/IntmodulebackendController.php +0 -10
- app/code/community/Triggmine/IntegrationModule/etc/config.xml +1 -1
- app/design/frontend/base/default/layout/triggmine_integrationmodule.xml +3 -4
- app/etc/modules/Triggmine_IntegrationModule.xml +1 -1
- package.xml +6 -5
app/code/community/Triggmine/IntegrationModule/Helper/Data.php
CHANGED
@@ -13,7 +13,7 @@ class Triggmine_IntegrationModule_Helper_Data extends Mage_Core_Helper_Abstract
|
|
13 |
const XML_PATH_CUSTOMER_EXPORT = 'triggmine/triggmine_customer_export/export';
|
14 |
const XML_PATH_CUSTOMER_DATE_FROM = 'triggmine/triggmine_customer_export/my_date_from';
|
15 |
const XML_PATH_CUSTOMER_DATE_TO = 'triggmine/triggmine_customer_export/my_date_to';
|
16 |
-
const VERSION_PLUGIN
|
17 |
|
18 |
protected $_cartItemRepository;
|
19 |
protected $_customerRepository;
|
@@ -460,15 +460,18 @@ class Triggmine_IntegrationModule_Helper_Data extends Mage_Core_Helper_Abstract
|
|
460 |
if ($this->getDeviceId() && $this->getDeviceId_1() && !$isAdmin) {
|
461 |
|
462 |
$customerData = Mage::getModel('customer/customer')->load($customerId);
|
|
|
|
|
|
|
463 |
$dateCreated = $customerId ? date('Y/m/d h:m:s', $customerData->getCreatedAtTimestamp()) : null;
|
464 |
|
465 |
$customer = array(
|
466 |
"device_id" => $this->getDeviceId(),
|
467 |
"device_id_1" => $this->getDeviceId_1(),
|
468 |
"customer_id" => $customerId,
|
469 |
-
"customer_first_name" => $
|
470 |
-
"customer_last_name" => $
|
471 |
-
"customer_email" => $
|
472 |
"customer_date_created" => $dateCreated
|
473 |
);
|
474 |
|
13 |
const XML_PATH_CUSTOMER_EXPORT = 'triggmine/triggmine_customer_export/export';
|
14 |
const XML_PATH_CUSTOMER_DATE_FROM = 'triggmine/triggmine_customer_export/my_date_from';
|
15 |
const XML_PATH_CUSTOMER_DATE_TO = 'triggmine/triggmine_customer_export/my_date_to';
|
16 |
+
const VERSION_PLUGIN = '3.0.14.1';
|
17 |
|
18 |
protected $_cartItemRepository;
|
19 |
protected $_customerRepository;
|
460 |
if ($this->getDeviceId() && $this->getDeviceId_1() && !$isAdmin) {
|
461 |
|
462 |
$customerData = Mage::getModel('customer/customer')->load($customerId);
|
463 |
+
$firstName = $customerData->getFirstname();
|
464 |
+
$lastName = $customerData->getLastname();
|
465 |
+
$email = $customerData->getEmail();
|
466 |
$dateCreated = $customerId ? date('Y/m/d h:m:s', $customerData->getCreatedAtTimestamp()) : null;
|
467 |
|
468 |
$customer = array(
|
469 |
"device_id" => $this->getDeviceId(),
|
470 |
"device_id_1" => $this->getDeviceId_1(),
|
471 |
"customer_id" => $customerId,
|
472 |
+
"customer_first_name" => $firstName,
|
473 |
+
"customer_last_name" => $lastName,
|
474 |
+
"customer_email" => $email,
|
475 |
"customer_date_created" => $dateCreated
|
476 |
);
|
477 |
|
app/code/community/Triggmine/IntegrationModule/Model/Observer.php
CHANGED
@@ -7,7 +7,10 @@ class Triggmine_IntegrationModule_Model_Observer
|
|
7 |
if (Mage::helper('integrationmodule/data')->isEnabled())
|
8 |
{
|
9 |
$data = Mage::helper('integrationmodule/data')->PageInit($observer);
|
10 |
-
|
|
|
|
|
|
|
11 |
}
|
12 |
}
|
13 |
|
7 |
if (Mage::helper('integrationmodule/data')->isEnabled())
|
8 |
{
|
9 |
$data = Mage::helper('integrationmodule/data')->PageInit($observer);
|
10 |
+
|
11 |
+
if ($data) {
|
12 |
+
$res = Mage::helper('integrationmodule/data')->onPageInit($data);
|
13 |
+
}
|
14 |
}
|
15 |
}
|
16 |
|
app/code/community/Triggmine/IntegrationModule/controllers/Adminhtml/IntmodulebackendController.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
class Triggmine_IntegrationModule_Adminhtml_IntmodulebackendController extends Mage_Adminhtml_Controller_Action
|
3 |
-
{
|
4 |
-
public function indexAction()
|
5 |
-
{
|
6 |
-
$session = Mage::getSingleton('admin/session');
|
7 |
-
$session->setAcl(Mage::getResourceModel('admin/acl')->loadAcl());
|
8 |
-
$this->_redirect('adminhtml/system_config/edit/section/triggmine');
|
9 |
-
}
|
10 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Triggmine/IntegrationModule/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Triggmine_IntegrationModule>
|
5 |
-
<version>3.0.
|
6 |
</Triggmine_IntegrationModule>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Triggmine_IntegrationModule>
|
5 |
+
<version>3.0.14.1</version>
|
6 |
</Triggmine_IntegrationModule>
|
7 |
</modules>
|
8 |
<global>
|
app/design/frontend/base/default/layout/triggmine_integrationmodule.xml
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
|
|
|
3 |
<default>
|
4 |
<reference name="before_body_end">
|
5 |
<block type="core/template" name="triggmine_init" after="-" template="triggmine/integrationmodule/init.phtml"/>
|
6 |
</reference>
|
7 |
</default>
|
8 |
-
</layout>
|
9 |
-
|
10 |
-
|
1 |
<?xml version="1.0"?>
|
2 |
+
|
3 |
+
<layout version="3.0.13.2">
|
4 |
<default>
|
5 |
<reference name="before_body_end">
|
6 |
<block type="core/template" name="triggmine_init" after="-" template="triggmine/integrationmodule/init.phtml"/>
|
7 |
</reference>
|
8 |
</default>
|
9 |
+
</layout>
|
|
|
|
app/etc/modules/Triggmine_IntegrationModule.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<Triggmine_IntegrationModule>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
-
<version>3.0.
|
8 |
</Triggmine_IntegrationModule>
|
9 |
</modules>
|
10 |
</config>
|
4 |
<Triggmine_IntegrationModule>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
+
<version>3.0.14.1</version>
|
8 |
</Triggmine_IntegrationModule>
|
9 |
</modules>
|
10 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>TriggMineCartRecovery</name>
|
4 |
-
<version>3.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://opensource.org/licenses/gpl-license.php">GPL</license>
|
7 |
<channel>community</channel>
|
@@ -9,11 +9,12 @@
|
|
9 |
<summary>ECOMMERCE EMAIL MARKETING AUTOMATION FOR YOUR IDEAL CUSTOMER EXPERIENCE</summary>
|
10 |
<description>TriggMine’s automated email campaigns are only limited by your imagination. Whoever you want to reach out to, and whatever you want to say to them, now you can, without complex coding or time consuming email management. </description>
|
11 |
<notes>- Optimized JS framework
|
12 |
-
- Added compatibility with PHP 5.6.30
|
|
|
13 |
<authors><author><name>TriggMine</name><user>TriggMine</user><email>admin@triggmine.com</email></author></authors>
|
14 |
-
<date>2017-04-
|
15 |
-
<time>
|
16 |
-
<contents><target name="magecommunity"><dir name="Triggmine"><dir name="IntegrationModule"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Date.php" hash="d6b04acde97c3ec4eb52179740e420cb"/><file name="Footer.php" hash="1ccaf261bc98c90c931b82cb81dda396"/><file name="Info.php" hash="755eedc85ce32a1088ab2a9649faadf0"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.4.0</min><max>5.6.30</max></php></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>TriggMineCartRecovery</name>
|
4 |
+
<version>3.0.14.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://opensource.org/licenses/gpl-license.php">GPL</license>
|
7 |
<channel>community</channel>
|
9 |
<summary>ECOMMERCE EMAIL MARKETING AUTOMATION FOR YOUR IDEAL CUSTOMER EXPERIENCE</summary>
|
10 |
<description>TriggMine’s automated email campaigns are only limited by your imagination. Whoever you want to reach out to, and whatever you want to say to them, now you can, without complex coding or time consuming email management. </description>
|
11 |
<notes>- Optimized JS framework
|
12 |
+
- Added compatibility with PHP 5.6.30
|
13 |
+
- Bug fixes and performance improvements</notes>
|
14 |
<authors><author><name>TriggMine</name><user>TriggMine</user><email>admin@triggmine.com</email></author></authors>
|
15 |
+
<date>2017-04-13</date>
|
16 |
+
<time>12:10:15</time>
|
17 |
+
<contents><target name="magecommunity"><dir name="Triggmine"><dir name="IntegrationModule"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><file name="Date.php" hash="d6b04acde97c3ec4eb52179740e420cb"/><file name="Footer.php" hash="1ccaf261bc98c90c931b82cb81dda396"/><file name="Info.php" hash="755eedc85ce32a1088ab2a9649faadf0"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="5beb1d232a4aca0f2337ad4f036b12a6"/></dir><dir name="Model"><file name="Observer.php" hash="3a002a5f077b15a6111999a7c79ec035"/></dir><dir name="etc"><file name="adminhtml.xml" hash="fdf3bf3b8b0b0b2804d05cf5fe3c0ae3"/><file name="config.xml" hash="549e6514354354a0e5a641b2fbb7666b"/><file name="system.xml" hash="b28cb00791745507830c1389ec114233"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="triggmine_integrationmodule.xml" hash="a7c443c1958bce60c07b969a0598ef8e"/></dir><dir name="template"><dir name="triggmine"><dir name="integrationmodule"><file name="init.phtml" hash="3d1c3a7ee6a3ee92bacc4855664557f8"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Triggmine_IntegrationModule.xml" hash="cc7cb12f52819fbf29d79ff5728ae856"/></dir></target><target name="mageweb"><dir name="js"><dir name="triggmine"><dir name="integationmodule"><dir name="scripts"><file name="ClientJS.js" hash="ac162aaa6e145f1ba78d05728c320057"/><file name="Fingerprint2.js" hash="36b594aba875677b7ede86aa823b2493"/><file name="jsCookie.js" hash="390302a82ecd74b0e39e2ff66eb23c13"/><file name="main.js" hash="1ea28dda3cc8f022fc6f239b30e0e400"/><file name="require.js" hash="0966fff938ba2a2e11b6848156fa86e2"/></dir></dir></dir></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.4.0</min><max>5.6.30</max></php></required></dependencies>
|
20 |
</package>
|