Version Notes
- Added support for multiple websites
- Added notification of configuration errors
Download this release
Release Info
Developer | TriggMine |
Extension | TriggMineCartRecovery |
Version | 3.0.10.1 |
Comparing to | |
See all releases |
Code changes from version 3.0.8.2 to 3.0.10.1
- app/code/community/Triggmine/IntegrationModule/Block/Adminhtml/System/Config/Info.php +4 -2
- app/code/community/Triggmine/IntegrationModule/Helper/Data.php +30 -14
- app/code/community/Triggmine/IntegrationModule/Model/Observer.php +10 -1
- app/code/community/Triggmine/IntegrationModule/etc/adminhtml.xml +2 -2
- app/code/community/Triggmine/IntegrationModule/etc/config.xml +1 -1
- app/code/community/Triggmine/IntegrationModule/etc/system.xml +20 -20
- app/design/frontend/base/default/layout/triggmine_integrationmodule.xml +1 -1
- app/etc/modules/Triggmine_IntegrationModule.xml +1 -1
- package.xml +7 -10
app/code/community/Triggmine/IntegrationModule/Block/Adminhtml/System/Config/Info.php
CHANGED
@@ -4,12 +4,14 @@ class Triggmine_IntegrationModule_Block_Adminhtml_System_Config_Info extends Mag
|
|
4 |
{
|
5 |
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
|
6 |
{
|
7 |
-
$version
|
|
|
|
|
8 |
|
9 |
$html = "";
|
10 |
|
11 |
$html .= "<div style=\"padding: 1em; margin: 1em 0; border: 0 solid #eee; border-left-width: 5px; border-radius: 0; background-color: #fafafa; border-left-color: #eb5e00; color: #eb5e00;\">";
|
12 |
-
$html .= "<h4 style=\"font-size: 18px; line-height: 18px; margin: 0 0 4px; color: #6f8992;\">TriggMine v" . $version . "</h4>";
|
13 |
$html .= "<p style=\"margin: 0;\">Visit the <b><a href=\"https://triggmine.freshdesk.com/solution/articles/22000037925-setting-the-module-parameters\" target=\"_blank\">Magento getting started guide</a></b> for instructions on configuring TriggMine. Or contact <a href=\"mailto:support@triggmine.com\" target=\"_blank\">support@triggmine.com</a></p>";
|
14 |
$html .= "</div>";
|
15 |
|
4 |
{
|
5 |
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
|
6 |
{
|
7 |
+
$version = (string) Mage::getConfig()->getNode('modules/Triggmine_IntegrationModule/version');
|
8 |
+
$website = (string) Mage::getSingleton('adminhtml/config_data')->getWebsite();
|
9 |
+
$siteName = (string) Mage::getModel('core/website')->load($website)->getName();
|
10 |
|
11 |
$html = "";
|
12 |
|
13 |
$html .= "<div style=\"padding: 1em; margin: 1em 0; border: 0 solid #eee; border-left-width: 5px; border-radius: 0; background-color: #fafafa; border-left-color: #eb5e00; color: #eb5e00;\">";
|
14 |
+
$html .= "<h4 style=\"font-size: 18px; line-height: 18px; margin: 0 0 4px; color: #6f8992;\">TriggMine v" . $version . " for " . $siteName . "</h4>";
|
15 |
$html .= "<p style=\"margin: 0;\">Visit the <b><a href=\"https://triggmine.freshdesk.com/solution/articles/22000037925-setting-the-module-parameters\" target=\"_blank\">Magento getting started guide</a></b> for instructions on configuring TriggMine. Or contact <a href=\"mailto:support@triggmine.com\" target=\"_blank\">support@triggmine.com</a></p>";
|
16 |
$html .= "</div>";
|
17 |
|
app/code/community/Triggmine/IntegrationModule/Helper/Data.php
CHANGED
@@ -10,13 +10,15 @@ class Triggmine_IntegrationModule_Helper_Data extends Mage_Core_Helper_Abstract
|
|
10 |
const XML_PATH_EXPORT = 'triggmine/triggmine_export/export';
|
11 |
const XML_PATH_DATE_FROM = 'triggmine/triggmine_export/my_date_from';
|
12 |
const XML_PATH_DATE_TO = 'triggmine/triggmine_export/my_date_to';
|
13 |
-
const VERSION_PLUGIN = '3.0.
|
14 |
|
15 |
-
protected $_storeManager;
|
16 |
protected $_cartItemRepository;
|
17 |
protected $_customerRepository;
|
18 |
protected $_customerSession;
|
19 |
protected $_cookieManager;
|
|
|
|
|
|
|
20 |
protected $_url;
|
21 |
protected $_token;
|
22 |
protected $_pluginOn;
|
@@ -25,14 +27,18 @@ class Triggmine_IntegrationModule_Helper_Data extends Mage_Core_Helper_Abstract
|
|
25 |
|
26 |
public function __construct()
|
27 |
{
|
28 |
-
$this->_cookieManager
|
29 |
-
$this->
|
30 |
-
$this->
|
31 |
-
|
32 |
-
$this->
|
33 |
-
$this->
|
34 |
-
$this->
|
35 |
-
|
|
|
|
|
|
|
|
|
36 |
}
|
37 |
|
38 |
public function apiClient($data, $method)
|
@@ -40,7 +46,10 @@ class Triggmine_IntegrationModule_Helper_Data extends Mage_Core_Helper_Abstract
|
|
40 |
|
41 |
if ($this->_url == "")
|
42 |
{
|
43 |
-
$res =
|
|
|
|
|
|
|
44 |
}
|
45 |
else
|
46 |
{
|
@@ -54,6 +63,7 @@ class Triggmine_IntegrationModule_Helper_Data extends Mage_Core_Helper_Abstract
|
|
54 |
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
|
55 |
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
|
56 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
|
|
57 |
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
|
58 |
'Content-Type: application/json',
|
59 |
'ApiKey: ' . $this->_token,
|
@@ -62,9 +72,12 @@ class Triggmine_IntegrationModule_Helper_Data extends Mage_Core_Helper_Abstract
|
|
62 |
|
63 |
$res_json = curl_exec ($ch);
|
64 |
|
|
|
|
|
|
|
|
|
|
|
65 |
curl_close ($ch);
|
66 |
-
|
67 |
-
$res = json_decode($res_json, true);
|
68 |
}
|
69 |
|
70 |
return $res;
|
@@ -372,12 +385,13 @@ class Triggmine_IntegrationModule_Helper_Data extends Mage_Core_Helper_Abstract
|
|
372 |
$versionMage = Mage::getVersion();
|
373 |
$versionPlugin = self::VERSION_PLUGIN;
|
374 |
$datetime = Mage::getModel('core/date')->date('Y-m-d\TH:i:s');
|
|
|
375 |
|
376 |
$data = array(
|
377 |
'dateCreated' => $datetime,
|
378 |
'diagnosticType' => "InstallPlugin",
|
379 |
'description' => "Magento " . $versionMage . " Plugin " . $versionPlugin,
|
380 |
-
'status' =>
|
381 |
);
|
382 |
|
383 |
return $data;
|
@@ -477,6 +491,7 @@ class Triggmine_IntegrationModule_Helper_Data extends Mage_Core_Helper_Abstract
|
|
477 |
|
478 |
/* Get the collection */
|
479 |
$orders = Mage::getModel('sales/order')->getCollection()
|
|
|
480 |
->addAttributeToFilter('created_at', array('from'=>$fromDate, 'to'=>$toDate));
|
481 |
|
482 |
foreach ($orders as $order) {
|
@@ -503,6 +518,7 @@ class Triggmine_IntegrationModule_Helper_Data extends Mage_Core_Helper_Abstract
|
|
503 |
|
504 |
$orderItems = $order->getItemsCollection()
|
505 |
->addAttributeToSelect('*')
|
|
|
506 |
->addAttributeToFilter('product_type', array('eq'=>'simple'))
|
507 |
->load();
|
508 |
|
10 |
const XML_PATH_EXPORT = 'triggmine/triggmine_export/export';
|
11 |
const XML_PATH_DATE_FROM = 'triggmine/triggmine_export/my_date_from';
|
12 |
const XML_PATH_DATE_TO = 'triggmine/triggmine_export/my_date_to';
|
13 |
+
const VERSION_PLUGIN = '3.0.10.1';
|
14 |
|
|
|
15 |
protected $_cartItemRepository;
|
16 |
protected $_customerRepository;
|
17 |
protected $_customerSession;
|
18 |
protected $_cookieManager;
|
19 |
+
protected $_websiteCode;
|
20 |
+
protected $_websiteId;
|
21 |
+
protected $_storeId;
|
22 |
protected $_url;
|
23 |
protected $_token;
|
24 |
protected $_pluginOn;
|
27 |
|
28 |
public function __construct()
|
29 |
{
|
30 |
+
$this->_cookieManager = Mage::getModel('core/cookie');
|
31 |
+
$this->_customerSession = Mage::getSingleton('customer/session');
|
32 |
+
$this->_customerRepository = Mage::getModel("customer/customer");
|
33 |
+
|
34 |
+
$this->_websiteCode = Mage::getSingleton('adminhtml/config_data')->getWebsite();
|
35 |
+
$this->_websiteId = Mage::getModel('core/website')->load($this->_websiteCode)->getId();
|
36 |
+
$this->_storeId = Mage::app()->getWebsite($this->_websiteId)->getDefaultStore()->getId();
|
37 |
+
|
38 |
+
$this->_url = Mage::app()->getWebsite($this->_websiteId)->getConfig(self::XML_PATH_URL_API);
|
39 |
+
$this->_token = Mage::app()->getWebsite($this->_websiteId)->getConfig(self::XML_PATH_TOKEN);
|
40 |
+
$this->_pluginOn = Mage::app()->getWebsite($this->_websiteId)->getConfig(self::XML_PATH_ENABLED);
|
41 |
+
$this->_enableExport = Mage::app()->getWebsite($this->_websiteId)->getConfig(self::XML_PATH_EXPORT);
|
42 |
}
|
43 |
|
44 |
public function apiClient($data, $method)
|
46 |
|
47 |
if ($this->_url == "")
|
48 |
{
|
49 |
+
$res = array(
|
50 |
+
"status" => 0,
|
51 |
+
"body" => ""
|
52 |
+
);
|
53 |
}
|
54 |
else
|
55 |
{
|
63 |
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
|
64 |
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string);
|
65 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
66 |
+
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
|
67 |
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
|
68 |
'Content-Type: application/json',
|
69 |
'ApiKey: ' . $this->_token,
|
72 |
|
73 |
$res_json = curl_exec ($ch);
|
74 |
|
75 |
+
$res = array(
|
76 |
+
"status" => curl_getinfo ($ch, CURLINFO_HTTP_CODE),
|
77 |
+
"body" => $res_json ? json_decode ($res_json, true) : curl_error ($ch)
|
78 |
+
);
|
79 |
+
|
80 |
curl_close ($ch);
|
|
|
|
|
81 |
}
|
82 |
|
83 |
return $res;
|
385 |
$versionMage = Mage::getVersion();
|
386 |
$versionPlugin = self::VERSION_PLUGIN;
|
387 |
$datetime = Mage::getModel('core/date')->date('Y-m-d\TH:i:s');
|
388 |
+
$status = ($this->_pluginOn && !empty($this->_token)) ? "1" : "0";
|
389 |
|
390 |
$data = array(
|
391 |
'dateCreated' => $datetime,
|
392 |
'diagnosticType' => "InstallPlugin",
|
393 |
'description' => "Magento " . $versionMage . " Plugin " . $versionPlugin,
|
394 |
+
'status' => $status
|
395 |
);
|
396 |
|
397 |
return $data;
|
491 |
|
492 |
/* Get the collection */
|
493 |
$orders = Mage::getModel('sales/order')->getCollection()
|
494 |
+
->addFieldToFilter('store_id', $this->_storeId)
|
495 |
->addAttributeToFilter('created_at', array('from'=>$fromDate, 'to'=>$toDate));
|
496 |
|
497 |
foreach ($orders as $order) {
|
518 |
|
519 |
$orderItems = $order->getItemsCollection()
|
520 |
->addAttributeToSelect('*')
|
521 |
+
->addFieldToFilter('store_id', $this->_storeId)
|
522 |
->addAttributeToFilter('product_type', array('eq'=>'simple'))
|
523 |
->load();
|
524 |
|
app/code/community/Triggmine/IntegrationModule/Model/Observer.php
CHANGED
@@ -14,7 +14,16 @@ class Triggmine_IntegrationModule_Model_Observer
|
|
14 |
public function diagnostic_information_updated(Varien_Event_Observer $observer)
|
15 |
{
|
16 |
$data = Mage::helper('integrationmodule/data')->SoftChek($observer);
|
17 |
-
Mage::helper('integrationmodule/data')->onDiagnosticInformationUpdated($data);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
}
|
19 |
|
20 |
public function export_order_history(Varien_Event_Observer $observer)
|
14 |
public function diagnostic_information_updated(Varien_Event_Observer $observer)
|
15 |
{
|
16 |
$data = Mage::helper('integrationmodule/data')->SoftChek($observer);
|
17 |
+
$res = Mage::helper('integrationmodule/data')->onDiagnosticInformationUpdated($data);
|
18 |
+
|
19 |
+
if ($res["status"] === 503)
|
20 |
+
{
|
21 |
+
Mage::throwException(Mage::helper('adminhtml')->__('Invalid API URL'));
|
22 |
+
}
|
23 |
+
else if ($res["status"] === 401)
|
24 |
+
{
|
25 |
+
Mage::throwException(Mage::helper('adminhtml')->__('Invalid API KEY'));
|
26 |
+
}
|
27 |
}
|
28 |
|
29 |
public function export_order_history(Varien_Event_Observer $observer)
|
app/code/community/Triggmine/IntegrationModule/etc/adminhtml.xml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
-
|
4 |
<integrationmodule translate="title" module="integrationmodule">
|
5 |
<title>TriggMine</title>
|
6 |
<sort_order>1000</sort_order>
|
@@ -11,7 +11,7 @@
|
|
11 |
</integrationmodulebackend>
|
12 |
</children>
|
13 |
</integrationmodule>
|
14 |
-
</menu
|
15 |
<acl>
|
16 |
<resources>
|
17 |
<all>
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
+
<!--<menu>
|
4 |
<integrationmodule translate="title" module="integrationmodule">
|
5 |
<title>TriggMine</title>
|
6 |
<sort_order>1000</sort_order>
|
11 |
</integrationmodulebackend>
|
12 |
</children>
|
13 |
</integrationmodule>
|
14 |
+
</menu>-->
|
15 |
<acl>
|
16 |
<resources>
|
17 |
<all>
|
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.10.1</version>
|
6 |
</Triggmine_IntegrationModule>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/Triggmine/IntegrationModule/etc/system.xml
CHANGED
@@ -6,16 +6,16 @@
|
|
6 |
<tab>general</tab>
|
7 |
<frontend_type>text</frontend_type>
|
8 |
<sort_order>600</sort_order>
|
9 |
-
<show_in_default>
|
10 |
<show_in_website>1</show_in_website>
|
11 |
-
<show_in_store>
|
12 |
<groups>
|
13 |
<info>
|
14 |
<frontend_model>integrationmodule/adminhtml_system_config_info</frontend_model>
|
15 |
<sort_order>0</sort_order>
|
16 |
-
<show_in_default>
|
17 |
<show_in_website>1</show_in_website>
|
18 |
-
<show_in_store>
|
19 |
</info>
|
20 |
<settings translate="label">
|
21 |
<label>TriggMine Settings</label>
|
@@ -30,26 +30,26 @@
|
|
30 |
<frontend_type>select</frontend_type>
|
31 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
32 |
<sort_order>10</sort_order>
|
33 |
-
<show_in_default>
|
34 |
<show_in_website>1</show_in_website>
|
35 |
-
<show_in_store>
|
36 |
</is_on>
|
37 |
<url_api translate="label">
|
38 |
<label>API URL</label>
|
39 |
<frontend_type>text</frontend_type>
|
40 |
<sort_order>40</sort_order>
|
41 |
-
<show_in_default>
|
42 |
<show_in_website>1</show_in_website>
|
43 |
-
<show_in_store>
|
44 |
<comment><![CDATA[Don't have an account? <a href="https://client.triggmine.com/signup" target="_blank">Start your free trial</a>]]></comment>
|
45 |
</url_api>
|
46 |
<token translate="label">
|
47 |
<label>API key</label>
|
48 |
<frontend_type>text</frontend_type>
|
49 |
<sort_order>50</sort_order>
|
50 |
-
<show_in_default>
|
51 |
<show_in_website>1</show_in_website>
|
52 |
-
<show_in_store>
|
53 |
<comment><![CDATA[Don't have an account? <a href="https://client.triggmine.com/signup" target="_blank">Start your free trial</a>]]></comment>
|
54 |
</token>
|
55 |
</fields>
|
@@ -58,27 +58,27 @@
|
|
58 |
<label>Export orders history</label>
|
59 |
<frontend_type>text</frontend_type>
|
60 |
<sort_order>20</sort_order>
|
61 |
-
<show_in_default>
|
62 |
<show_in_website>1</show_in_website>
|
63 |
-
<show_in_store>
|
64 |
<fields>
|
65 |
<export translate="label">
|
66 |
<label>Enable Export</label>
|
67 |
<frontend_type>select</frontend_type>
|
68 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
69 |
<sort_order>50</sort_order>
|
70 |
-
<show_in_default>
|
71 |
<show_in_website>1</show_in_website>
|
72 |
-
<show_in_store>
|
73 |
</export>
|
74 |
<my_date_from translate="label">
|
75 |
<label>Export date from</label>
|
76 |
<frontend_type>text</frontend_type>
|
77 |
<frontend_model>integrationmodule/adminhtml_system_config_date</frontend_model>
|
78 |
<sort_order>60</sort_order>
|
79 |
-
<show_in_default>
|
80 |
<show_in_website>1</show_in_website>
|
81 |
-
<show_in_store>
|
82 |
<comment>Set the Date from to export orders</comment>
|
83 |
</my_date_from>
|
84 |
<my_date_to translate="label">
|
@@ -86,9 +86,9 @@
|
|
86 |
<frontend_type>text</frontend_type>
|
87 |
<frontend_model>integrationmodule/adminhtml_system_config_date</frontend_model>
|
88 |
<sort_order>70</sort_order>
|
89 |
-
<show_in_default>
|
90 |
<show_in_website>1</show_in_website>
|
91 |
-
<show_in_store>
|
92 |
<comment>Set the Date to to export orders</comment>
|
93 |
</my_date_to>
|
94 |
</fields>
|
@@ -96,9 +96,9 @@
|
|
96 |
<footer>
|
97 |
<frontend_model>integrationmodule/adminhtml_system_config_footer</frontend_model>
|
98 |
<sort_order>100</sort_order>
|
99 |
-
<show_in_default>
|
100 |
<show_in_website>1</show_in_website>
|
101 |
-
<show_in_store>
|
102 |
</footer>
|
103 |
</groups>
|
104 |
</triggmine>
|
6 |
<tab>general</tab>
|
7 |
<frontend_type>text</frontend_type>
|
8 |
<sort_order>600</sort_order>
|
9 |
+
<show_in_default>0</show_in_default>
|
10 |
<show_in_website>1</show_in_website>
|
11 |
+
<show_in_store>0</show_in_store>
|
12 |
<groups>
|
13 |
<info>
|
14 |
<frontend_model>integrationmodule/adminhtml_system_config_info</frontend_model>
|
15 |
<sort_order>0</sort_order>
|
16 |
+
<show_in_default>0</show_in_default>
|
17 |
<show_in_website>1</show_in_website>
|
18 |
+
<show_in_store>0</show_in_store>
|
19 |
</info>
|
20 |
<settings translate="label">
|
21 |
<label>TriggMine Settings</label>
|
30 |
<frontend_type>select</frontend_type>
|
31 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
32 |
<sort_order>10</sort_order>
|
33 |
+
<show_in_default>0</show_in_default>
|
34 |
<show_in_website>1</show_in_website>
|
35 |
+
<show_in_store>0</show_in_store>
|
36 |
</is_on>
|
37 |
<url_api translate="label">
|
38 |
<label>API URL</label>
|
39 |
<frontend_type>text</frontend_type>
|
40 |
<sort_order>40</sort_order>
|
41 |
+
<show_in_default>0</show_in_default>
|
42 |
<show_in_website>1</show_in_website>
|
43 |
+
<show_in_store>0</show_in_store>
|
44 |
<comment><![CDATA[Don't have an account? <a href="https://client.triggmine.com/signup" target="_blank">Start your free trial</a>]]></comment>
|
45 |
</url_api>
|
46 |
<token translate="label">
|
47 |
<label>API key</label>
|
48 |
<frontend_type>text</frontend_type>
|
49 |
<sort_order>50</sort_order>
|
50 |
+
<show_in_default>0</show_in_default>
|
51 |
<show_in_website>1</show_in_website>
|
52 |
+
<show_in_store>0</show_in_store>
|
53 |
<comment><![CDATA[Don't have an account? <a href="https://client.triggmine.com/signup" target="_blank">Start your free trial</a>]]></comment>
|
54 |
</token>
|
55 |
</fields>
|
58 |
<label>Export orders history</label>
|
59 |
<frontend_type>text</frontend_type>
|
60 |
<sort_order>20</sort_order>
|
61 |
+
<show_in_default>0</show_in_default>
|
62 |
<show_in_website>1</show_in_website>
|
63 |
+
<show_in_store>0</show_in_store>
|
64 |
<fields>
|
65 |
<export translate="label">
|
66 |
<label>Enable Export</label>
|
67 |
<frontend_type>select</frontend_type>
|
68 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
69 |
<sort_order>50</sort_order>
|
70 |
+
<show_in_default>0</show_in_default>
|
71 |
<show_in_website>1</show_in_website>
|
72 |
+
<show_in_store>0</show_in_store>
|
73 |
</export>
|
74 |
<my_date_from translate="label">
|
75 |
<label>Export date from</label>
|
76 |
<frontend_type>text</frontend_type>
|
77 |
<frontend_model>integrationmodule/adminhtml_system_config_date</frontend_model>
|
78 |
<sort_order>60</sort_order>
|
79 |
+
<show_in_default>0</show_in_default>
|
80 |
<show_in_website>1</show_in_website>
|
81 |
+
<show_in_store>0</show_in_store>
|
82 |
<comment>Set the Date from to export orders</comment>
|
83 |
</my_date_from>
|
84 |
<my_date_to translate="label">
|
86 |
<frontend_type>text</frontend_type>
|
87 |
<frontend_model>integrationmodule/adminhtml_system_config_date</frontend_model>
|
88 |
<sort_order>70</sort_order>
|
89 |
+
<show_in_default>0</show_in_default>
|
90 |
<show_in_website>1</show_in_website>
|
91 |
+
<show_in_store>0</show_in_store>
|
92 |
<comment>Set the Date to to export orders</comment>
|
93 |
</my_date_to>
|
94 |
</fields>
|
96 |
<footer>
|
97 |
<frontend_model>integrationmodule/adminhtml_system_config_footer</frontend_model>
|
98 |
<sort_order>100</sort_order>
|
99 |
+
<show_in_default>0</show_in_default>
|
100 |
<show_in_website>1</show_in_website>
|
101 |
+
<show_in_store>0</show_in_store>
|
102 |
</footer>
|
103 |
</groups>
|
104 |
</triggmine>
|
app/design/frontend/base/default/layout/triggmine_integrationmodule.xml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
<layout version="3.0.
|
3 |
<default>
|
4 |
<reference name="before_body_end">
|
5 |
<block type="core/template" name="triggmine_init" after="-" template="triggmine/integrationmodule/init.phtml"/>
|
1 |
<?xml version="1.0"?>
|
2 |
+
<layout version="3.0.10.1">
|
3 |
<default>
|
4 |
<reference name="before_body_end">
|
5 |
<block type="core/template" name="triggmine_init" after="-" template="triggmine/integrationmodule/init.phtml"/>
|
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.10.1</version>
|
8 |
</Triggmine_IntegrationModule>
|
9 |
</modules>
|
10 |
</config>
|
package.xml
CHANGED
@@ -1,22 +1,19 @@
|
|
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>
|
8 |
<extends/>
|
9 |
-
<summary>ECOMMERCE EMAIL MARKETING AUTOMATION FOR YOUR IDEAL CUSTOMER EXPERIENCE
|
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>- Added support for
|
12 |
-
-
|
13 |
-
- Added security access token
|
14 |
-
- Fixed 404 error after installation
|
15 |
-
- Bug fixes and performance improvements</notes>
|
16 |
<authors><author><name>TriggMine</name><user>TriggMine</user><email>admin@triggmine.com</email></author></authors>
|
17 |
-
<date>2017-
|
18 |
-
<time>
|
19 |
-
<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="
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.4.0</min><max>5.6.0</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>TriggMineCartRecovery</name>
|
4 |
+
<version>3.0.10.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://opensource.org/licenses/gpl-license.php">GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
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>- Added support for multiple websites
|
12 |
+
- Added notification of configuration errors</notes>
|
|
|
|
|
|
|
13 |
<authors><author><name>TriggMine</name><user>TriggMine</user><email>admin@triggmine.com</email></author></authors>
|
14 |
+
<date>2017-02-21</date>
|
15 |
+
<time>23:08:30</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="ed2f34161967bd171bd0afc8c0e376f9"/></dir><dir name="Model"><file name="Observer.php" hash="f69aabfd5a2b0f710f736e5e435f376c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IntmodulebackendController.php" hash="65549f09bc7c7a8f729e39ee18ed8439"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="fdf3bf3b8b0b0b2804d05cf5fe3c0ae3"/><file name="config.xml" hash="b74f900c6e5b663b5630183d72ed9541"/><file name="system.xml" hash="bdc8bd6245fc68f222d1256635a5c9d2"/></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="6f3be5c5f63d3e0df79a3f8b4a46c101"/></dir><dir name="template"><dir name="triggmine"><dir name="integrationmodule"><file name="init.phtml" hash="088f4b1efdbb774a020ebcb2d6405c86"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Triggmine_IntegrationModule.xml" hash="917d5c1f038ff48142c415d4318afaff"/></dir></target><target name="mageweb"><dir name="js"><dir name="triggmine"><dir name="integationmodule"><dir name="scripts"><file name="client.min.js" hash="068c5c31adf266449d9de64f31772f55"/><file name="fingerprint2.min.js" hash="36b594aba875677b7ede86aa823b2493"/><file name="jscookie.min.js" hash="390302a82ecd74b0e39e2ff66eb23c13"/></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.4.0</min><max>5.6.0</max></php></required></dependencies>
|
19 |
</package>
|