Version Notes
Release for econda Web Controlling functions.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Mage_Econda |
Version | 1.1.7 |
Comparing to | |
See all releases |
Code changes from version 1.1.6 to 1.1.7
app/code/local/Mage/Econda/Block/Econda.php
CHANGED
@@ -101,7 +101,7 @@ class Mage_Econda_Block_Econda extends Mage_Core_Block_Template
|
|
101 |
/*
|
102 |
* start of emos string
|
103 |
*/
|
104 |
-
$emosString = "\n\n<!-- Start Econda-Monitor
|
105 |
|
106 |
$emos = new EMOS($pathToFile);
|
107 |
|
101 |
/*
|
102 |
* start of emos string
|
103 |
*/
|
104 |
+
$emosString = "\n\n<!-- Start Econda-Monitor M117 -->\n\n";
|
105 |
|
106 |
$emos = new EMOS($pathToFile);
|
107 |
|
app/code/local/Mage/Econda/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Mage_Econda>
|
5 |
-
<version>1.1.
|
6 |
</Mage_Econda>
|
7 |
</modules>
|
8 |
<frontend>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Mage_Econda>
|
5 |
+
<version>1.1.7</version>
|
6 |
</Mage_Econda>
|
7 |
</modules>
|
8 |
<frontend>
|
app/design/frontend/default/default/template/econda/trackerop.phtml
CHANGED
@@ -51,7 +51,7 @@ if(stristr($realUrlOp,'checkout/onepage/') != false) {
|
|
51 |
}
|
52 |
|
53 |
if($emVersion == '2') {
|
54 |
-
$emosOut = "\n<!-- Start Econda-Monitor
|
55 |
$emosOut .= "\n<script type=\"text/javascript\">\n//<![CDATA[\n";
|
56 |
$emosOut .= " window.emosTrackVersion = 2;\n";
|
57 |
$emosOut .= "//]]>\n</script>";
|
@@ -66,7 +66,7 @@ if(stristr($realUrlOp,'checkout/onepage/') != false) {
|
|
66 |
$emosOut .= $emosLogin;
|
67 |
}
|
68 |
else {
|
69 |
-
$emosOut = "\n<!-- Start Econda-Monitor
|
70 |
$emosOut .= "\n<a name=\"emos_name\" title=\"content\" rel=\"Start/".$eLang[38]."\" rev=\"\"></a>\n";
|
71 |
$emosOut .= "<script type=\"text/javascript\">\n//<![CDATA[\n";
|
72 |
$emosOut .= " window.emosPageId = '".$setPageId."'; \n";
|
51 |
}
|
52 |
|
53 |
if($emVersion == '2') {
|
54 |
+
$emosOut = "\n<!-- Start Econda-Monitor M117 -->\n";
|
55 |
$emosOut .= "\n<script type=\"text/javascript\">\n//<![CDATA[\n";
|
56 |
$emosOut .= " window.emosTrackVersion = 2;\n";
|
57 |
$emosOut .= "//]]>\n</script>";
|
66 |
$emosOut .= $emosLogin;
|
67 |
}
|
68 |
else {
|
69 |
+
$emosOut = "\n<!-- Start Econda-Monitor M117 -->\n";
|
70 |
$emosOut .= "\n<a name=\"emos_name\" title=\"content\" rel=\"Start/".$eLang[38]."\" rev=\"\"></a>\n";
|
71 |
$emosOut .= "<script type=\"text/javascript\">\n//<![CDATA[\n";
|
72 |
$emosOut .= " window.emosPageId = '".$setPageId."'; \n";
|
js/tracker/emosop.js
CHANGED
@@ -22,43 +22,53 @@ function onePageTracker() {
|
|
22 |
}
|
23 |
}
|
24 |
|
25 |
-
if(
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
35 |
}
|
36 |
|
37 |
-
if(
|
38 |
-
|
39 |
-
|
40 |
-
|
|
|
|
|
41 |
}
|
42 |
|
43 |
-
if(
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
50 |
}
|
51 |
|
52 |
-
if(
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
56 |
}
|
57 |
|
58 |
-
if(
|
59 |
-
|
60 |
-
|
61 |
-
|
|
|
|
|
62 |
}
|
63 |
|
64 |
if (orderProcess != '') {
|
22 |
}
|
23 |
}
|
24 |
|
25 |
+
if(document.getElementById('opc-billing')) {
|
26 |
+
if(stristr(document.getElementById('opc-billing').className,'active') != false && (sendOne == 1 || sendOne == 2)) {
|
27 |
+
orderProcess = '3_' + ecStep[1];
|
28 |
+
contentLabel = ecStep[6];
|
29 |
+
if(typeof(emospro.login) != 'undefined') {
|
30 |
+
delete emospro.login;
|
31 |
+
}
|
32 |
+
if(sendOne == 1) {
|
33 |
+
sendOne += 1;
|
34 |
+
}
|
35 |
+
sendOne += 1;
|
36 |
+
}
|
37 |
}
|
38 |
|
39 |
+
if(document.getElementById('opc-shipping')) {
|
40 |
+
if(stristr(document.getElementById('opc-shipping').className,'active') != false && sendOne == 3) {
|
41 |
+
orderProcess = '4_' + ecStep[2];
|
42 |
+
contentLabel = ecStep[2];
|
43 |
+
sendOne += 1;
|
44 |
+
}
|
45 |
}
|
46 |
|
47 |
+
if(document.getElementById('opc-shipping_method')) {
|
48 |
+
if(stristr(document.getElementById('opc-shipping_method').className,'active') != false && (sendOne == 3 || sendOne == 4)) {
|
49 |
+
orderProcess = '4_' + ecStep[3];
|
50 |
+
contentLabel = ecStep[3];
|
51 |
+
if(sendOne == 3) {
|
52 |
+
sendOne += 1;
|
53 |
+
}
|
54 |
+
sendOne += 1;
|
55 |
+
}
|
56 |
}
|
57 |
|
58 |
+
if(document.getElementById('opc-payment')) {
|
59 |
+
if(stristr(document.getElementById('opc-payment').className,'active') != false && sendOne == 5) {
|
60 |
+
orderProcess = '5_' + ecStep[4];
|
61 |
+
contentLabel = ecStep[4];
|
62 |
+
sendOne += 1;
|
63 |
+
}
|
64 |
}
|
65 |
|
66 |
+
if(document.getElementById('opc-review')) {
|
67 |
+
if(stristr(document.getElementById('opc-review').className,'active') != false && sendOne == 6) {
|
68 |
+
orderProcess = '6_' + ecStep[5];
|
69 |
+
contentLabel = ecStep[5];
|
70 |
+
sendOne += 1;
|
71 |
+
}
|
72 |
}
|
73 |
|
74 |
if (orderProcess != '') {
|