edroneCRM - Version 1.0.2

Version Notes

edrone magento module - initial public release

Download this release

Release Info

Developer Michał Blak
Extension edroneCRM
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/local/Edrone/Base/Block/Base.php CHANGED
@@ -57,9 +57,11 @@ class Edrone_Base_Block_Base extends Mage_Core_Block_Template
57
  if ($address = $customer->getDefaultShippingAddress()) {
58
  $this->customerData['country'] = $address->getCountry();
59
  $this->customerData['city'] = $address->getCity();
 
60
  } else {
61
  $this->customerData['country'] = '';
62
  $this->customerData['city'] = '';
 
63
  }
64
  }
65
 
@@ -70,5 +72,6 @@ class Edrone_Base_Block_Base extends Mage_Core_Block_Template
70
  $this->customerData['email'] = '';
71
  $this->customerData['country'] = '';
72
  $this->customerData['city'] = '';
 
73
  }
74
  }
57
  if ($address = $customer->getDefaultShippingAddress()) {
58
  $this->customerData['country'] = $address->getCountry();
59
  $this->customerData['city'] = $address->getCity();
60
+ $this->customerData['phone'] = $address->getTelephone();
61
  } else {
62
  $this->customerData['country'] = '';
63
  $this->customerData['city'] = '';
64
+ $this->customerData['phone'] = '';
65
  }
66
  }
67
 
72
  $this->customerData['email'] = '';
73
  $this->customerData['country'] = '';
74
  $this->customerData['city'] = '';
75
+ $this->customerData['phone'] = '';
76
  }
77
  }
app/code/local/Edrone/Base/Block/Order.php CHANGED
@@ -26,6 +26,8 @@ class Edrone_Base_Block_Order extends Edrone_Base_Block_Base
26
  $orderData['base_payment_value'] = $order->getBaseGrandTotal();
27
  $orderData['base_currency'] = $order->getBaseCurrencyCode();
28
  $orderData['order_currency'] = $order->getOrderCurrencyCode();
 
 
29
 
30
  return $orderData;
31
  }
26
  $orderData['base_payment_value'] = $order->getBaseGrandTotal();
27
  $orderData['base_currency'] = $order->getBaseCurrencyCode();
28
  $orderData['order_currency'] = $order->getOrderCurrencyCode();
29
+ $orderData['coupon'] = $order->getCouponCode();
30
+
31
 
32
  return $orderData;
33
  }
app/design/frontend/base/default/template/edrone/cart_view.phtml CHANGED
@@ -13,6 +13,7 @@ $productData = $this->getProductData();
13
  _edrone.version = '2.4';
14
  _edrone.trace_url = '<?php echo $helper->getCollectorUrl() ?>';
15
  _edrone.email = '<?php echo $customerData['email'] ?>';
 
16
  _edrone.first_name = '<?php echo $customerData['first_name'] ?>';
17
  _edrone.last_name = '<?php echo $customerData['last_name'] ?>';
18
  _edrone.product_ids = '<?php echo $productData['sku'] ?>';
13
  _edrone.version = '2.4';
14
  _edrone.trace_url = '<?php echo $helper->getCollectorUrl() ?>';
15
  _edrone.email = '<?php echo $customerData['email'] ?>';
16
+ _edrone.phone = '<?php echo $customerData['phone'] ?>';
17
  _edrone.first_name = '<?php echo $customerData['first_name'] ?>';
18
  _edrone.last_name = '<?php echo $customerData['last_name'] ?>';
19
  _edrone.product_ids = '<?php echo $productData['sku'] ?>';
app/design/frontend/base/default/template/edrone/default.phtml CHANGED
@@ -11,6 +11,7 @@ $customerData = $this->getCustomerData();
11
  _edrone.version = '2.4';
12
  _edrone.trace_url = '<?php echo $helper->getCollectorUrl() ?>';
13
  _edrone.email = '<?php echo $customerData['email'] ?>';
 
14
  _edrone.first_name = '<?php echo $customerData['first_name'] ?>';
15
  _edrone.last_name = '<?php echo $customerData['last_name'] ?>';
16
  _edrone.product_ids = '';
11
  _edrone.version = '2.4';
12
  _edrone.trace_url = '<?php echo $helper->getCollectorUrl() ?>';
13
  _edrone.email = '<?php echo $customerData['email'] ?>';
14
+ _edrone.phone = '<?php echo $customerData['phone'] ?>';
15
  _edrone.first_name = '<?php echo $customerData['first_name'] ?>';
16
  _edrone.last_name = '<?php echo $customerData['last_name'] ?>';
17
  _edrone.product_ids = '';
app/design/frontend/base/default/template/edrone/product_view.phtml CHANGED
@@ -12,6 +12,7 @@ $productData = $this->getProductData();
12
  _edrone.version = '2.4';
13
  _edrone.trace_url = '<?php echo $helper->getCollectorUrl() ?>';
14
  _edrone.email = '<?php echo $customerData['email'] ?>';
 
15
  _edrone.first_name = '<?php echo $customerData['first_name'] ?>';
16
  _edrone.last_name = '<?php echo $customerData['last_name'] ?>';
17
  _edrone.product_ids = '<?php echo $productData['sku'] ?>';
12
  _edrone.version = '2.4';
13
  _edrone.trace_url = '<?php echo $helper->getCollectorUrl() ?>';
14
  _edrone.email = '<?php echo $customerData['email'] ?>';
15
+ _edrone.phone = '<?php echo $customerData['phone'] ?>';
16
  _edrone.first_name = '<?php echo $customerData['first_name'] ?>';
17
  _edrone.last_name = '<?php echo $customerData['last_name'] ?>';
18
  _edrone.product_ids = '<?php echo $productData['sku'] ?>';
app/design/frontend/base/default/template/edrone/success_view.phtml CHANGED
@@ -13,6 +13,7 @@ $orderData = $this->getOrderData();
13
  _edrone.version = '2.4';
14
  _edrone.trace_url = '<?php echo $helper->getCollectorUrl() ?>';
15
  _edrone.email = '<?php echo $customerData['email'] ?>';
 
16
  _edrone.first_name = '<?php echo $customerData['first_name'] ?>';
17
  _edrone.last_name = '<?php echo $customerData['last_name'] ?>';
18
  _edrone.product_ids = '<?php echo $orderData['sku'] ?>';
@@ -23,6 +24,7 @@ $orderData = $this->getOrderData();
23
  _edrone.base_payment_value = '<?php echo $orderData['base_payment_value'] ?>';
24
  _edrone.base_currency = '<?php echo $orderData['base_currency'] ?>';
25
  _edrone.order_currency = '<?php echo $orderData['order_currency'] ?>';
 
26
  _edrone.action_type = 'order';
27
  _edrone.country = '<?php echo $customerData['country'] ?>';
28
  _edrone.city = '<?php echo $customerData['city'] ?>';
13
  _edrone.version = '2.4';
14
  _edrone.trace_url = '<?php echo $helper->getCollectorUrl() ?>';
15
  _edrone.email = '<?php echo $customerData['email'] ?>';
16
+ _edrone.phone = '<?php echo $customerData['phone'] ?>';
17
  _edrone.first_name = '<?php echo $customerData['first_name'] ?>';
18
  _edrone.last_name = '<?php echo $customerData['last_name'] ?>';
19
  _edrone.product_ids = '<?php echo $orderData['sku'] ?>';
24
  _edrone.base_payment_value = '<?php echo $orderData['base_payment_value'] ?>';
25
  _edrone.base_currency = '<?php echo $orderData['base_currency'] ?>';
26
  _edrone.order_currency = '<?php echo $orderData['order_currency'] ?>';
27
+ _edrone.coupon = '<?php echo $orderData['coupon'] ?>';
28
  _edrone.action_type = 'order';
29
  _edrone.country = '<?php echo $customerData['country'] ?>';
30
  _edrone.city = '<?php echo $customerData['city'] ?>';
package.xml CHANGED
@@ -1,19 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>edroneCRM</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>edrone - first CRM for e-commerce Maintain clients &amp; increase customer retention with dynamic e-CRM.</summary>
10
- <description>edrone is collecting and analyzing Magento visitors and customers data. The plugin allows processing personal data in the real-time in order to communicate with them through dynamic and personalized e-mail.&#xD;
11
- </description>
12
- <notes>Added support for multiple currencies</notes>
13
  <authors><author><name>Micha&#x142; Blak</name><user>MAG002993376</user><email>michalblak@gmail.com</email></author></authors>
14
- <date>2015-06-23</date>
15
- <time>11:06:31</time>
16
- <contents><target name="magelocal"><dir name="Edrone"><dir name="Base"><dir name="Block"><file name="Base.php" hash="31615b38225a40db0b4fcc538bc50581"/><file name="Cart.php" hash="ed49bc87f960039570aa016c7c0fae6a"/><file name="Order.php" hash="0d9a593ed3646bf3d0aa7ead2481e8b6"/><file name="Product.php" hash="174503941cc8dbabddf875a4001bc6fd"/></dir><dir name="Helper"><file name="Config.php" hash="5b0ffff08d4f2c8a3dfd08837732d776"/><file name="Data.php" hash="bd4dcfb429a76044eb2dab3958b89b15"/></dir><dir name="Model"><file name="Observer.php" hash="f35c3bf591865d6db22e2477580df76c"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0e715e76c00295dc4e555411455fedfb"/><file name="config.xml" hash="800f2853c0c6b2f359687fff825e0efc"/><file name="system.xml" hash="08dd398842eb30b924f224ac4aa4609d"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="edrone"><file name="cart_view.phtml" hash="bcb3ab32948091ece175df562b026c73"/><file name="default.phtml" hash="c8913317a103ef436e77f25fc9c989a5"/><file name="product_view.phtml" hash="2364ec38d816af9137354df153686aaf"/><file name="success_view.phtml" hash="ef79948abc407c1b88bab6f0a6837aa9"/></dir></dir><dir name="layout"><file name="edrone.xml" hash="b08f6069d1a9a10c6e32a9757f9bc4cf"/></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Edrone_Base.xml" hash="4c5f7b0e7d7ab7ba79395f08d76f2f74"/></dir></dir></target><target name="magelocale"><dir name="pl_PL"><file name="Edrone.csv" hash="b8aa59d39815f4d92738129cc9fbdf34"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>edroneCRM</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>edrone - first CRM for e-commerce Maintain clients &amp; increase customer retention with dynamic e-CRM.</summary>
10
+ <description>edrone is collecting and analyzing Magento visitors and customers data. The plugin allows processing personal data in the real-time in order to communicate with them through dynamic and personalized e-mail.</description>
11
+ <notes>edrone magento module - initial public release</notes>
 
12
  <authors><author><name>Micha&#x142; Blak</name><user>MAG002993376</user><email>michalblak@gmail.com</email></author></authors>
13
+ <date>2015-07-30</date>
14
+ <time>07:30:07</time>
15
+ <contents><target name="magelocal"><dir name="Edrone"><dir name="Base"><dir name="Block"><file name="Base.php" hash="c3fa1d3e32111ad7eef177904f2574dc"/><file name="Cart.php" hash="ed49bc87f960039570aa016c7c0fae6a"/><file name="Order.php" hash="ccc388d5210fc55c05ed320d8d0f4738"/><file name="Product.php" hash="174503941cc8dbabddf875a4001bc6fd"/></dir><dir name="Helper"><file name="Config.php" hash="5b0ffff08d4f2c8a3dfd08837732d776"/><file name="Data.php" hash="bd4dcfb429a76044eb2dab3958b89b15"/></dir><dir name="Model"><file name="Observer.php" hash="f35c3bf591865d6db22e2477580df76c"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0e715e76c00295dc4e555411455fedfb"/><file name="config.xml" hash="800f2853c0c6b2f359687fff825e0efc"/><file name="system.xml" hash="08dd398842eb30b924f224ac4aa4609d"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="edrone"><file name="cart_view.phtml" hash="d403b1800d07b7347038726e9330a586"/><file name="default.phtml" hash="654fc889086ace8ae9ad875e18b35a8a"/><file name="product_view.phtml" hash="1c6049097f37d1e3d9d46395107e4fbc"/><file name="success_view.phtml" hash="e19868d5a413a225f51e27cbbae90d4d"/></dir></dir><dir name="layout"><file name="edrone.xml" hash="b08f6069d1a9a10c6e32a9757f9bc4cf"/></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Edrone_Base.xml" hash="4c5f7b0e7d7ab7ba79395f08d76f2f74"/></dir></dir></target><target name="magelocale"><dir name="pl_PL"><file name="Edrone.csv" hash="b8aa59d39815f4d92738129cc9fbdf34"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>