Stetic_Ecommerce_Analytics - Version 1.0.3

Version Notes

Bugfix: Removed order Event on checkout_onepage_savePayment trigger

Download this release

Release Info

Developer Stetic
Extension Stetic_Ecommerce_Analytics
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/community/Stetic/Analytics/Block/Tracker.php CHANGED
@@ -98,7 +98,7 @@ class Stetic_Analytics_Block_Tracker extends Mage_Core_Block_Template
98
  $disabled_countries = explode(",", self::getConfig('advanced/identify_loggedin_disallow_specificcountry'));
99
  if(!empty($disabled_countries) && $address->getCountryId() && in_array($address->getCountryId(), $disabled_countries))
100
  {
101
- //self::log("Disabled country " . $address->getCountryId(), null, 'stetic.log');
102
  return '';
103
  }
104
  }
@@ -290,12 +290,12 @@ class Stetic_Analytics_Block_Tracker extends Mage_Core_Block_Template
290
  * Checkout success
291
  */
292
  elseif( ($action == 'checkout_onepage_saveOrder' ||
293
- $action == 'checkout_onepage_savePayment' ||
294
- $action == 'checkout_multishipping_success' ||
295
- $action == 'checkoutMultishippingControllerSuccessAction' ||
296
- $action == 'firecheckout_index_saveOrder') && $this->isOrderTrackingEnabled() )
297
  {
298
  $orderIds = array();
 
299
  /***
300
  * Multishipping can have more than one id
301
  */
98
  $disabled_countries = explode(",", self::getConfig('advanced/identify_loggedin_disallow_specificcountry'));
99
  if(!empty($disabled_countries) && $address->getCountryId() && in_array($address->getCountryId(), $disabled_countries))
100
  {
101
+ //self::log("Disabled country " . $address->getCountryId(), null, 'stetic.log');
102
  return '';
103
  }
104
  }
290
  * Checkout success
291
  */
292
  elseif( ($action == 'checkout_onepage_saveOrder' ||
293
+ $action == 'checkout_multishipping_success' ||
294
+ $action == 'checkoutMultishippingControllerSuccessAction' ||
295
+ $action == 'firecheckout_index_saveOrder') && $this->isOrderTrackingEnabled() )
 
296
  {
297
  $orderIds = array();
298
+
299
  /***
300
  * Multishipping can have more than one id
301
  */
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Stetic_Ecommerce_Analytics</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
@@ -58,11 +58,11 @@ The following actions can be tracked with this extension:&lt;br /&gt;&#xD;
58
  &lt;br /&gt;&#xD;
59
  &lt;br /&gt;&#xD;
60
  Note: You have to be registered with &lt;a href="https://www.stetic.com/?fs_campaign=Magento&amp;amp;fs_source=Extensions&amp;amp;fs_medium=link"&gt;Stetic&lt;/a&gt; to use this extension.</description>
61
- <notes>Added support for Firecheckout</notes>
62
  <authors><author><name>Stetic</name><user>stetic</user><email>hello@stetic.com</email></author></authors>
63
  <date>2016-01-26</date>
64
- <time>16:02:09</time>
65
- <contents><target name="magecommunity"><dir name="Stetic"><dir name="Analytics"><dir name="Block"><file name="Tracker.php" hash="615fb5b2597d706e337736b0b30fbc2e"/></dir><dir name="Helper"><file name="Data.php" hash="27026fd1fc808957990cdf61d3f40546"/></dir><dir name="Model"><file name="Observer.php" hash="69e2315d07a926a53bdc5c46804b5a6c"/></dir><dir name="etc"><file name="config.xml" hash="e14bbc66c6cda199f9b8860bec47c6c2"/><file name="system.xml" hash="88c02ff7dbcaddab259f14cb657c0395"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="stetic"><file name="onepage.phtml" hash="584772b48c2b868fba0aa4efc1fdf92c"/><file name="tracker.phtml" hash="9f89660d790cf7f4f2c6248a7d02b874"/></dir></dir><dir name="layout"><file name="stetic.xml" hash="8d83bec15d00c5d090ad99a765ce574f"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Stetic_Analytics.xml" hash="6452040fe0a72ee45695013a3796f271"/></dir></target></contents>
66
  <compatible/>
67
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
68
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Stetic_Ecommerce_Analytics</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
58
  &lt;br /&gt;&#xD;
59
  &lt;br /&gt;&#xD;
60
  Note: You have to be registered with &lt;a href="https://www.stetic.com/?fs_campaign=Magento&amp;amp;fs_source=Extensions&amp;amp;fs_medium=link"&gt;Stetic&lt;/a&gt; to use this extension.</description>
61
+ <notes>Bugfix: Removed order Event on checkout_onepage_savePayment trigger</notes>
62
  <authors><author><name>Stetic</name><user>stetic</user><email>hello@stetic.com</email></author></authors>
63
  <date>2016-01-26</date>
64
+ <time>18:16:56</time>
65
+ <contents><target name="magecommunity"><dir name="Stetic"><dir name="Analytics"><dir name="Block"><file name="Tracker.php" hash="a7a4e19ea5022d9930bebf893beb1535"/></dir><dir name="Helper"><file name="Data.php" hash="27026fd1fc808957990cdf61d3f40546"/></dir><dir name="Model"><file name="Observer.php" hash="69e2315d07a926a53bdc5c46804b5a6c"/></dir><dir name="etc"><file name="config.xml" hash="e14bbc66c6cda199f9b8860bec47c6c2"/><file name="system.xml" hash="88c02ff7dbcaddab259f14cb657c0395"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="stetic"><file name="onepage.phtml" hash="584772b48c2b868fba0aa4efc1fdf92c"/><file name="tracker.phtml" hash="9f89660d790cf7f4f2c6248a7d02b874"/></dir></dir><dir name="layout"><file name="stetic.xml" hash="8d83bec15d00c5d090ad99a765ce574f"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Stetic_Analytics.xml" hash="6452040fe0a72ee45695013a3796f271"/></dir></target></contents>
66
  <compatible/>
67
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
68
  </package>