Woopra_Analytics_Event_And_Visitor_Tracking - Version 1.5.0

Version Notes

Checkout fix for info blocks in Magento 1.9 and greater

Download this release

Release Info

Developer Woopra
Extension Woopra_Analytics_Event_And_Visitor_Tracking
Version 1.5.0
Comparing to
See all releases


Code changes from version 1.4.0 to 1.5.0

app/design/frontend/base/default/template/woopra/checkout.phtml CHANGED
@@ -13,7 +13,11 @@
13
  <?php if ($this->getSetting('woopra_checkout_trigger') == 1) { ?>
14
  <script type="text/javascript">
15
  //<![CDATA[
 
 
 
16
  Checkout.prototype.gotoSection = function (section) {
 
17
  woopra_action = section;
18
  if (woopra_action == '')
19
  woopra_action = '<?php echo Mage::helper('woopra')->getCheckoutBillingAddress(); ?>';
@@ -32,11 +36,24 @@ Checkout.prototype.gotoSection = function (section) {
32
  name: ''+woopra_action+''
33
  });
34
  } catch(err) { }
 
 
 
 
 
 
 
 
 
 
 
 
35
  this.currentStep = section;
36
  var sectionElement = $('opc-' + section);
37
  sectionElement.addClassName('allow');
38
  this.accordion.openSection('opc-' + section);
39
  this.reloadProgressBlock(section);
 
40
  };
41
  //]]>
42
  </script>
13
  <?php if ($this->getSetting('woopra_checkout_trigger') == 1) { ?>
14
  <script type="text/javascript">
15
  //<![CDATA[
16
+ <?php if(version_compare(Mage::getVersion(), '1.9') > 0) { ?>
17
+ Checkout.prototype.gotoSection = function (section, reloadProgressBlock) {
18
+ <?php } else { ?>
19
  Checkout.prototype.gotoSection = function (section) {
20
+ <?php } ?>
21
  woopra_action = section;
22
  if (woopra_action == '')
23
  woopra_action = '<?php echo Mage::helper('woopra')->getCheckoutBillingAddress(); ?>';
36
  name: ''+woopra_action+''
37
  });
38
  } catch(err) { }
39
+ <?php if(version_compare(Mage::getVersion(), '1.9') > 0) { ?>
40
+ if (reloadProgressBlock) {
41
+ this.reloadProgressBlock(this.currentStep);
42
+ }
43
+ this.currentStep = section;
44
+ var sectionElement = $('opc-' + section);
45
+ sectionElement.addClassName('allow');
46
+ this.accordion.openSection('opc-' + section);
47
+ if(!reloadProgressBlock) {
48
+ this.resetPreviousSteps();
49
+ }
50
+ <?php } else { ?>
51
  this.currentStep = section;
52
  var sectionElement = $('opc-' + section);
53
  sectionElement.addClassName('allow');
54
  this.accordion.openSection('opc-' + section);
55
  this.reloadProgressBlock(section);
56
+ <?php } ?>
57
  };
58
  //]]>
59
  </script>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Woopra_Analytics_Event_And_Visitor_Tracking</name>
4
- <version>1.4.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -18,12 +18,11 @@ Access custom reports instantly. No more bugging IT. No old-school interfaces. N
18
  &lt;br /&gt;&#xD;
19
  &lt;a href="http://www.k3live.com/magento-extensions/magento-woopra-tracking"&gt;&lt;img src="http://www.magentocommerce.com/magento-connect/media/catalog/product/w/o/woopra_tracking_5_1_1.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&#xD;
20
  Note: This module will not work without a subscription to the &lt;a href="http://www.woopra.com/?woo_campaign=affiliate&amp;woo_medium=referral&amp;woo_source=k3live"&gt;Woopra&lt;/a&gt; service.</description>
21
- <notes>Now tracks product send to a friend&#xD;
22
- Potential XSS vulnerabilities fixed</notes>
23
  <authors><author><name>Woopra</name><user>Woopra</user><email>support@woopra.com</email></author><author><name>K3Live</name><user>K3Live</user><email>support@k3live.com</email></author></authors>
24
- <date>2014-12-05</date>
25
- <time>21:34:40</time>
26
- <contents><target name="magecommunity"><dir><dir name="Woopra"><dir name="Analytics"><dir name="Block"><file name="Script.php" hash="112352962ccd5bcf0e567f616888e580"/></dir><dir name="Helper"><file name="Data.php" hash="3b0ba17b1db831f88e6e58aa0c31143e"/></dir><dir name="Model"><file name="Observer.php" hash="717af31124d058b6b4dd00d56d2ce16f"/></dir><dir name="etc"><file name="config.xml" hash="27a46388dccfab8a95f7e8ab1337bc69"/><file name="system.xml" hash="7d3400279dab37ff34ccab127c5d049b"/></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="woopra.xml" hash="3f21344a558babd0d9ea0ed1edc6a87f"/></dir><dir name="template"><dir name="woopra"><file name="script.phtml" hash="e59b67401b4189d70697fa6d1f766288"/><file name="checkout.phtml" hash="f3e74e937bdace20c8576a603303969b"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Woopra_Analytics.xml" hash="a4715864833c0024017692871431cb91"/></dir></dir></target></contents>
27
  <compatible/>
28
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
29
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Woopra_Analytics_Event_And_Visitor_Tracking</name>
4
+ <version>1.5.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">Open Software License (OSL)</license>
7
  <channel>community</channel>
18
  &lt;br /&gt;&#xD;
19
  &lt;a href="http://www.k3live.com/magento-extensions/magento-woopra-tracking"&gt;&lt;img src="http://www.magentocommerce.com/magento-connect/media/catalog/product/w/o/woopra_tracking_5_1_1.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&#xD;
20
  Note: This module will not work without a subscription to the &lt;a href="http://www.woopra.com/?woo_campaign=affiliate&amp;woo_medium=referral&amp;woo_source=k3live"&gt;Woopra&lt;/a&gt; service.</description>
21
+ <notes>Checkout fix for info blocks in Magento 1.9 and greater</notes>
 
22
  <authors><author><name>Woopra</name><user>Woopra</user><email>support@woopra.com</email></author><author><name>K3Live</name><user>K3Live</user><email>support@k3live.com</email></author></authors>
23
+ <date>2014-12-09</date>
24
+ <time>04:29:54</time>
25
+ <contents><target name="magecommunity"><dir><dir name="Woopra"><dir name="Analytics"><dir name="Block"><file name="Script.php" hash="112352962ccd5bcf0e567f616888e580"/></dir><dir name="Helper"><file name="Data.php" hash="3b0ba17b1db831f88e6e58aa0c31143e"/></dir><dir name="Model"><file name="Observer.php" hash="717af31124d058b6b4dd00d56d2ce16f"/></dir><dir name="etc"><file name="config.xml" hash="27a46388dccfab8a95f7e8ab1337bc69"/><file name="system.xml" hash="7d3400279dab37ff34ccab127c5d049b"/></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="woopra.xml" hash="3f21344a558babd0d9ea0ed1edc6a87f"/></dir><dir name="template"><dir name="woopra"><file name="script.phtml" hash="e59b67401b4189d70697fa6d1f766288"/><file name="checkout.phtml" hash="f41270457786b0f786c7e164e9f9ed78"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Woopra_Analytics.xml" hash="a4715864833c0024017692871431cb91"/></dir></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
28
  </package>