Version Notes
This plugin connects your Magento shop to Hellodialog. Your customers will automatically be subscribed to your Hellodialog account.
Optionally use the Hellodialog eCommerce Plugin to target groups of customers based on their purchase history.
Release 2.0.2 contains a number of memory fixes for large order-sets.
Release 2.0.1 contains a number of fixes, as well as an update to the underlying API domain used.
Release 2.0.0 was completely rebuilt from scratch. The most important changes:
- Made the importing of orders with customers optional
- Fieldmapping: specify which Magento fields to import into Hellodialog
- Synchronize history of all completed orders
For any questions or when you need help installing our extension, please contact us at support@hellodialog.com or call us at +31 23 53 22 608.
Release Info
Developer | Maarten van Schalkwijk |
Extension | Hellodialog_Tracker |
Version | 2.0.2 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.2
- app/code/community/Hellodialog/Tracker/Block/Cronprogress.php +1 -1
- app/code/community/Hellodialog/Tracker/Block/Syncstatus.php +1 -1
- app/code/community/Hellodialog/Tracker/Model/Cron.php +1 -1
- app/code/community/Hellodialog/Tracker/Model/HDEcommerce.php +7 -5
- app/code/community/Hellodialog/Tracker/etc/config.xml +1 -1
- app/code/community/Hellodialog/Tracker/etc/system.xml +2 -2
- package.xml +6 -4
@@ -6,7 +6,7 @@ class Hellodialog_Tracker_Block_Cronprogress extends Mage_Adminhtml_Block_System
|
|
6 |
{
|
7 |
$total = Mage::getModel('sales/order')->getCollection()
|
8 |
->addFieldToFilter('status', 'complete')
|
9 |
-
->
|
10 |
|
11 |
$total_pages = ceil($total / Hellodialog_Tracker_Model_Cron::orders_per_job());
|
12 |
|
6 |
{
|
7 |
$total = Mage::getModel('sales/order')->getCollection()
|
8 |
->addFieldToFilter('status', 'complete')
|
9 |
+
->getSize();
|
10 |
|
11 |
$total_pages = ceil($total / Hellodialog_Tracker_Model_Cron::orders_per_job());
|
12 |
|
@@ -23,7 +23,7 @@ class Hellodialog_Tracker_Block_Syncstatus extends Mage_Adminhtml_Block_System_C
|
|
23 |
|
24 |
$total = Mage::getModel('sales/order')->getCollection()
|
25 |
->addFieldToFilter('status', 'complete')
|
26 |
-
->
|
27 |
|
28 |
$perc = round(100 * $processed / $total);
|
29 |
|
23 |
|
24 |
$total = Mage::getModel('sales/order')->getCollection()
|
25 |
->addFieldToFilter('status', 'complete')
|
26 |
+
->getSize();
|
27 |
|
28 |
$perc = round(100 * $processed / $total);
|
29 |
|
@@ -32,7 +32,7 @@
|
|
32 |
$hd_observer = new HelloDialog_Tracker_Model_Observer();
|
33 |
$total = $orders = Mage::getModel('sales/order')->getCollection()
|
34 |
->addFieldToFilter('status', 'complete')
|
35 |
-
->
|
36 |
|
37 |
// mark start
|
38 |
if ($current_page == 0) {
|
32 |
$hd_observer = new HelloDialog_Tracker_Model_Observer();
|
33 |
$total = $orders = Mage::getModel('sales/order')->getCollection()
|
34 |
->addFieldToFilter('status', 'complete')
|
35 |
+
->getSize();
|
36 |
|
37 |
// mark start
|
38 |
if ($current_page == 0) {
|
@@ -251,15 +251,17 @@ class HDEcommerce {
|
|
251 |
|
252 |
foreach($this->_orders as $key => &$order){
|
253 |
// If there's no contact for this order, skip and remove it
|
254 |
-
if(!($
|
255 |
$this->_unsentOrders[] = $order;
|
256 |
unset($this->_orders[$key]);
|
257 |
continue;
|
258 |
-
}
|
|
|
259 |
|
260 |
-
|
261 |
-
|
262 |
-
|
|
|
263 |
}
|
264 |
}
|
265 |
|
251 |
|
252 |
foreach($this->_orders as $key => &$order){
|
253 |
// If there's no contact for this order, skip and remove it
|
254 |
+
if(!isset($this->_contacts[$order['contact_email']])){
|
255 |
$this->_unsentOrders[] = $order;
|
256 |
unset($this->_orders[$key]);
|
257 |
continue;
|
258 |
+
} else {
|
259 |
+
$contact = $this->_contacts[$order['contact_email']];
|
260 |
|
261 |
+
// Link contact to order and unset email from order
|
262 |
+
$order['contact'] = $contact->id;
|
263 |
+
unset($order['contact_email']);
|
264 |
+
}
|
265 |
}
|
266 |
}
|
267 |
|
@@ -3,7 +3,7 @@
|
|
3 |
|
4 |
<modules>
|
5 |
<Hellodialog_Tracker>
|
6 |
-
<version>2.0.
|
7 |
</Hellodialog_Tracker>
|
8 |
</modules>
|
9 |
|
3 |
|
4 |
<modules>
|
5 |
<Hellodialog_Tracker>
|
6 |
+
<version>2.0.2</version>
|
7 |
</Hellodialog_Tracker>
|
8 |
</modules>
|
9 |
|
@@ -17,7 +17,7 @@
|
|
17 |
<show_in_store>1</show_in_store>
|
18 |
<groups>
|
19 |
<general>
|
20 |
-
<label>Hellodialog Magento plugin v2.0.
|
21 |
<frontend_type>text</frontend_type>
|
22 |
<sort_order>1</sort_order>
|
23 |
<show_in_default>1</show_in_default>
|
@@ -28,7 +28,7 @@
|
|
28 |
<![CDATA[
|
29 |
<img src='http://www.hellodialog.com/img/magento_plugin_assets/logo.png' style='float: left; width: 100px;'/>
|
30 |
<div style='margin-left: 130px; padding-top: 6px; line-height: 25px;'>
|
31 |
-
<strong>Hellodialog Magento Plugin v2.0.
|
32 |
This plugin connects your Magento shop to Hellodialog. Your customers will automatically be subscribed to your Hellodialog account.
|
33 |
<br/>
|
34 |
Optionally use the Hellodialog eCommerce Plugin to target groups of customers based on their purchase history.
|
17 |
<show_in_store>1</show_in_store>
|
18 |
<groups>
|
19 |
<general>
|
20 |
+
<label>Hellodialog Magento plugin v2.0.2</label>
|
21 |
<frontend_type>text</frontend_type>
|
22 |
<sort_order>1</sort_order>
|
23 |
<show_in_default>1</show_in_default>
|
28 |
<![CDATA[
|
29 |
<img src='http://www.hellodialog.com/img/magento_plugin_assets/logo.png' style='float: left; width: 100px;'/>
|
30 |
<div style='margin-left: 130px; padding-top: 6px; line-height: 25px;'>
|
31 |
+
<strong>Hellodialog Magento Plugin v2.0.2</strong><br/>
|
32 |
This plugin connects your Magento shop to Hellodialog. Your customers will automatically be subscribed to your Hellodialog account.
|
33 |
<br/>
|
34 |
Optionally use the Hellodialog eCommerce Plugin to target groups of customers based on their purchase history.
|
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Hellodialog_Tracker</name>
|
4 |
-
<version>2.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/copyleft/gpl.html">GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
@@ -13,6 +13,8 @@ Optionally use the Hellodialog eCommerce Plugin to target groups of customers ba
|
|
13 |
<notes>This plugin connects your Magento shop to Hellodialog. Your customers will automatically be subscribed to your Hellodialog account.
|
14 |
Optionally use the Hellodialog eCommerce Plugin to target groups of customers based on their purchase history.
|
15 |

|
|
|
|
|
16 |
Release 2.0.1 contains a number of fixes, as well as an update to the underlying API domain used.
|
17 |

|
18 |
Release 2.0.0 was completely rebuilt from scratch. The most important changes:
|
@@ -22,9 +24,9 @@ Release 2.0.0 was completely rebuilt from scratch. The most important changes:&#
|
|
22 |

|
23 |
For any questions or when you need help installing our extension, please contact us at support@hellodialog.com or call us at +31 23 53 22 608.</notes>
|
24 |
<authors><author><name>Maarten van Schalkwijk</name><user>Hellodialog</user><email>maarten@hellodialog.com</email></author></authors>
|
25 |
-
<date>
|
26 |
-
<time>
|
27 |
-
<contents><target name="magecommunity"><dir name="Hellodialog"><dir name="Tracker"><dir name="Block"><file name="Cronprogress.php" hash="
|
28 |
<compatible/>
|
29 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>curl</name><min/><max/></extension></required></dependencies>
|
30 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Hellodialog_Tracker</name>
|
4 |
+
<version>2.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/copyleft/gpl.html">GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
13 |
<notes>This plugin connects your Magento shop to Hellodialog. Your customers will automatically be subscribed to your Hellodialog account.
|
14 |
Optionally use the Hellodialog eCommerce Plugin to target groups of customers based on their purchase history.
|
15 |

|
16 |
+
Release 2.0.2 contains a number of memory fixes for large order-sets.
|
17 |
+

|
18 |
Release 2.0.1 contains a number of fixes, as well as an update to the underlying API domain used.
|
19 |

|
20 |
Release 2.0.0 was completely rebuilt from scratch. The most important changes:
|
24 |

|
25 |
For any questions or when you need help installing our extension, please contact us at support@hellodialog.com or call us at +31 23 53 22 608.</notes>
|
26 |
<authors><author><name>Maarten van Schalkwijk</name><user>Hellodialog</user><email>maarten@hellodialog.com</email></author></authors>
|
27 |
+
<date>2016-02-01</date>
|
28 |
+
<time>09:46:35</time>
|
29 |
+
<contents><target name="magecommunity"><dir name="Hellodialog"><dir name="Tracker"><dir name="Block"><file name="Cronprogress.php" hash="28c5b0e2b0eb23d2b9c14c9de55d92a1"/><file name="Fieldmapping.php" hash="1cd6e6e1b7e473cf8649f567f5e04f90"/><file name="Syncstatus.php" hash="1b561e42a18cde10c39949b86adc8e7b"/><file name="Validator.php" hash="beb1c17c3817b44e1078b1bec0d8ceef"/></dir><dir name="Model"><file name="APIKeyValidator.php" hash="ef82d2001f97ce4203d5717c770ddd82"/><file name="Cron.php" hash="f078ebe1eea3305291a1899d6d959291"/><file name="HDApi.php" hash="29b9432cb6fcb9ea9cf4a4244aef569f"/><file name="HDEcommerce.php" hash="9673b1656e1a716000e7a49dd2be43f4"/><file name="Observer.php" hash="b853135ae79d2a3c92eebc45cd23d359"/><file name="SubscribeOptions.php" hash="dc700ecb157f1ead9300eb441e0d190d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="FormController.php" hash="74e25b46ad18817d305550bb82aacc26"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="12c5102eab80f7c17d0032a50cf96478"/><file name="config.xml" hash="e131756ca9b90b6d2203c609ccc37a5b"/><file name="system.xml" hash="eaa8b60464877419bc5f9acf5704aa81"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Hellodialog_Tracker.xml" hash="7d32b9c31228e1c1709f05642bed18d2"/></dir></target></contents>
|
30 |
<compatible/>
|
31 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>curl</name><min/><max/></extension></required></dependencies>
|
32 |
</package>
|