Woo - Version 1.1.5

Version Notes

Support details statistic

Download this release

Release Info

Developer Woomio
Extension Woo
Version 1.1.5
Comparing to
See all releases


Code changes from version 1.1.4 to 1.1.5

Files changed (24) hide show
  1. app/code/local/Woomio/Tracker/controllers/IndexController.php +4 -1
  2. app/code/local/Woomio/Tracker/data/tracker_setup/data-install-1.1.5.php +36 -0
  3. app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.0.10-1.1.5.php +36 -0
  4. app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.0.11-1.1.5.php +36 -0
  5. app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.0.12-1.1.5.php +36 -0
  6. app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.0-1.1.5.php +36 -0
  7. app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.1-1.1.5.php +36 -0
  8. app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.2-1.1.5.php +36 -0
  9. app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.3-1.1.5.php +36 -0
  10. app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.4-1.1.5.php +36 -0
  11. app/code/local/Woomio/Tracker/etc/config.xml +1 -1
  12. app/code/local/Woomio/Tracker/sql/tracker_setup/install-1.1.4.php +0 -46
  13. app/code/local/Woomio/Tracker/sql/tracker_setup/install-1.1.5.php +10 -0
  14. app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.0.10-1.1.4.php +0 -46
  15. app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.0.11-1.1.4.php +0 -46
  16. app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.0.12-1.1.4.php +0 -46
  17. app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.1.0-1.1.4.php +0 -46
  18. app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.1.1-1.1.4.php +0 -46
  19. app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.1.2-1.1.4.php +0 -46
  20. app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.1.3-1.1.4.php +0 -46
  21. app/design/frontend/base/default/layout/tracker.xml +1 -1
  22. app/design/frontend/base/default/template/woomio_tracker/tracking.phtml +1 -1
  23. app/etc/modules/Woomio_Tracker.xml +1 -1
  24. package.xml +4 -4
app/code/local/Woomio/Tracker/controllers/IndexController.php CHANGED
@@ -1,5 +1,8 @@
1
  <?php
2
  class Woomio_Tracker_IndexController extends Mage_Core_Controller_Front_Action{
 
 
 
3
  public function IndexAction() {
4
 
5
  $AllowedIP = gethostbyname('ping.woomio.com');
@@ -146,7 +149,7 @@ class Woomio_Tracker_IndexController extends Mage_Core_Controller_Front_Action{
146
 
147
  $item_query = "SELECT qty_ordered, product_id, name, sku, tax_amount, row_total, row_total_incl_tax";
148
  $item_query .= " FROM " . $table_order_item;
149
- $item_query .= " WHERE order_id = :order_id AND product_type = 'configurable' ORDER BY item_id;";
150
 
151
  $address_query = "SELECT t1.region as shipping_region, t1.postcode AS shipping_postcode, t1.lastname AS shipping_lastname, t1.street AS shipping_address, t1.city AS shipping_city, t1.firstname AS shipping_firstname, t1.middlename AS shipping_middlename, t1.company AS shipping_company, t1.country_id AS shipping_country";
152
  $address_query .= ", t2.region AS billing_region, t2.postcode AS billing_postcode, t2.lastname AS billing_lastname, t2.street AS billing_address, t2.city AS billing_city, t2.telephone AS billing_phone, t2.firstname AS billing_firstname, t2.middlename AS billing_middlename, t2.company AS billing_company, t2.country_id AS billing_country";
1
  <?php
2
  class Woomio_Tracker_IndexController extends Mage_Core_Controller_Front_Action{
3
+ /**
4
+ * @url orders: http://ec2-52-19-3-226.eu-west-1.compute.amazonaws.com/magento/woomio?type=orders
5
+ */
6
  public function IndexAction() {
7
 
8
  $AllowedIP = gethostbyname('ping.woomio.com');
149
 
150
  $item_query = "SELECT qty_ordered, product_id, name, sku, tax_amount, row_total, row_total_incl_tax";
151
  $item_query .= " FROM " . $table_order_item;
152
+ $item_query .= " WHERE order_id = :order_id AND parent_item_id IS NULL ORDER BY item_id;";
153
 
154
  $address_query = "SELECT t1.region as shipping_region, t1.postcode AS shipping_postcode, t1.lastname AS shipping_lastname, t1.street AS shipping_address, t1.city AS shipping_city, t1.firstname AS shipping_firstname, t1.middlename AS shipping_middlename, t1.company AS shipping_company, t1.country_id AS shipping_country";
155
  $address_query .= ", t2.region AS billing_region, t2.postcode AS billing_postcode, t2.lastname AS billing_lastname, t2.street AS billing_address, t2.city AS billing_city, t2.telephone AS billing_phone, t2.firstname AS billing_firstname, t2.middlename AS billing_middlename, t2.company AS billing_company, t2.country_id AS billing_country";
app/code/local/Woomio/Tracker/data/tracker_setup/data-install-1.1.5.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function w_error_handler($errno, $errstr, $errfile, $errline, $errcontext) {
3
+ error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
+ return true;
5
+ }
6
+
7
+ //Check if data_key is already in config and that it is a number
8
+ $data_key = Mage::getStoreConfig('tracker/general/data_key');
9
+ if(is_numeric($data_key) === false) {
10
+ $email = Mage::getStoreConfig('trans_email/ident_general/email');
11
+ $domain = Mage::getStoreConfig('web/unsecure/base_url');
12
+ $lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
13
+ $name = Mage::getStoreConfig('trans_email/ident_general/name');
14
+
15
+ error_log("Installing woomio plugin 1.1.5. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
16
+
17
+ $setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
18
+
19
+ //Ignore errors returned by the server
20
+ $context = stream_context_create(array(
21
+ 'http' => array('ignore_errors' => true)
22
+ ));
23
+
24
+ set_error_handler('w_error_handler');
25
+ $response = @file_get_contents($setup_callback_url, false, $context);
26
+ restore_error_handler();
27
+
28
+ if($response !== false) {
29
+ $configModel = new Mage_Core_Model_Config();
30
+ //We save to default since the plugin can only be one in a multistore setup anyhow
31
+ $configModel->saveConfig('tracker/general/data_key', $response, 'default', 0);
32
+ //Make sure cache gets updated with the new config
33
+ $configModel->reinit();
34
+ Mage::app()->reinitStores();
35
+ }
36
+ }
app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.0.10-1.1.5.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function w_error_handler_1010($errno, $errstr, $errfile, $errline, $errcontext) {
3
+ error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
+ return true;
5
+ }
6
+
7
+ //Check if data_key is already in config and that it is a number
8
+ $data_key = Mage::getStoreConfig('tracker/general/data_key');
9
+ if(is_numeric($data_key) === false) {
10
+ $email = Mage::getStoreConfig('trans_email/ident_general/email');
11
+ $domain = Mage::getStoreConfig('web/unsecure/base_url');
12
+ $lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
13
+ $name = Mage::getStoreConfig('trans_email/ident_general/name');
14
+
15
+ error_log("Updating to woomio plugin 1.1.5 from 1.0.10. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
16
+
17
+ $setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
18
+
19
+ //Ignore errors returned by the server
20
+ $context = stream_context_create(array(
21
+ 'http' => array('ignore_errors' => true)
22
+ ));
23
+
24
+ set_error_handler('w_error_handler_1010');
25
+ $response = @file_get_contents($setup_callback_url, false, $context);
26
+ restore_error_handler();
27
+
28
+ if($response !== false) {
29
+ $configModel = new Mage_Core_Model_Config();
30
+ //We save to default since the plugin can only be one in a multistore setup anyhow
31
+ $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
32
+ //Make sure cache gets updated with the new config
33
+ $configModel->reinit();
34
+ Mage::app()->reinitStores();
35
+ }
36
+ }
app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.0.11-1.1.5.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function w_error_handler_1011($errno, $errstr, $errfile, $errline, $errcontext) {
3
+ error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
+ return true;
5
+ }
6
+
7
+ //Check if data_key is already in config and that it is a number
8
+ $data_key = Mage::getStoreConfig('tracker/general/data_key');
9
+ if(is_numeric($data_key) === false) {
10
+ $email = Mage::getStoreConfig('trans_email/ident_general/email');
11
+ $domain = Mage::getStoreConfig('web/unsecure/base_url');
12
+ $lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
13
+ $name = Mage::getStoreConfig('trans_email/ident_general/name');
14
+
15
+ error_log("Updating to woomio plugin 1.1.5 from 1.0.11. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
16
+
17
+ $setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
18
+
19
+ //Ignore errors returned by the server
20
+ $context = stream_context_create(array(
21
+ 'http' => array('ignore_errors' => true)
22
+ ));
23
+
24
+ set_error_handler('w_error_handler_1011');
25
+ $response = @file_get_contents($setup_callback_url, false, $context);
26
+ restore_error_handler();
27
+
28
+ if($response !== false) {
29
+ $configModel = new Mage_Core_Model_Config();
30
+ //We save to default since the plugin can only be one in a multistore setup anyhow
31
+ $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
32
+ //Make sure cache gets updated with the new config
33
+ $configModel->reinit();
34
+ Mage::app()->reinitStores();
35
+ }
36
+ }
app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.0.12-1.1.5.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function w_error_handler_1012($errno, $errstr, $errfile, $errline, $errcontext) {
3
+ error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
+ return true;
5
+ }
6
+
7
+ //Check if data_key is already in config and that it is a number
8
+ $data_key = Mage::getStoreConfig('tracker/general/data_key');
9
+ if(is_numeric($data_key) === false) {
10
+ $email = Mage::getStoreConfig('trans_email/ident_general/email');
11
+ $domain = Mage::getStoreConfig('web/unsecure/base_url');
12
+ $lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
13
+ $name = Mage::getStoreConfig('trans_email/ident_general/name');
14
+
15
+ error_log("Updating to woomio plugin 1.1.5 from 1.0.12. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
16
+
17
+ $setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
18
+
19
+ //Ignore errors returned by the server
20
+ $context = stream_context_create(array(
21
+ 'http' => array('ignore_errors' => true)
22
+ ));
23
+
24
+ set_error_handler('w_error_handler_1012');
25
+ $response = @file_get_contents($setup_callback_url, false, $context);
26
+ restore_error_handler();
27
+
28
+ if($response !== false) {
29
+ $configModel = new Mage_Core_Model_Config();
30
+ //We save to default since the plugin can only be one in a multistore setup anyhow
31
+ $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
32
+ //Make sure cache gets updated with the new config
33
+ $configModel->reinit();
34
+ Mage::app()->reinitStores();
35
+ }
36
+ }
app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.0-1.1.5.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function w_error_handler_1100($errno, $errstr, $errfile, $errline, $errcontext) {
3
+ error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
+ return true;
5
+ }
6
+
7
+ //Check if data_key is already in config and that it is a number
8
+ $data_key = Mage::getStoreConfig('tracker/general/data_key');
9
+ if(is_numeric($data_key) === false) {
10
+ $email = Mage::getStoreConfig('trans_email/ident_general/email');
11
+ $domain = Mage::getStoreConfig('web/unsecure/base_url');
12
+ $lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
13
+ $name = Mage::getStoreConfig('trans_email/ident_general/name');
14
+
15
+ error_log("Updating to woomio plugin 1.1.5 from 1.1.0. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
16
+
17
+ $setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
18
+
19
+ //Ignore errors returned by the server
20
+ $context = stream_context_create(array(
21
+ 'http' => array('ignore_errors' => true)
22
+ ));
23
+
24
+ set_error_handler('w_error_handler_1100');
25
+ $response = @file_get_contents($setup_callback_url, false, $context);
26
+ restore_error_handler();
27
+
28
+ if($response !== false) {
29
+ $configModel = new Mage_Core_Model_Config();
30
+ //We save to default since the plugin can only be one in a multistore setup anyhow
31
+ $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
32
+ //Make sure cache gets updated with the new config
33
+ $configModel->reinit();
34
+ Mage::app()->reinitStores();
35
+ }
36
+ }
app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.1-1.1.5.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function w_error_handler_1101($errno, $errstr, $errfile, $errline, $errcontext) {
3
+ error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
+ return true;
5
+ }
6
+
7
+ //Check if data_key is already in config and that it is a number
8
+ $data_key = Mage::getStoreConfig('tracker/general/data_key');
9
+ if(is_numeric($data_key) === false) {
10
+ $email = Mage::getStoreConfig('trans_email/ident_general/email');
11
+ $domain = Mage::getStoreConfig('web/unsecure/base_url');
12
+ $lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
13
+ $name = Mage::getStoreConfig('trans_email/ident_general/name');
14
+
15
+ error_log("Updating to woomio plugin 1.1.5 from 1.1.1. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
16
+
17
+ $setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
18
+
19
+ //Ignore errors returned by the server
20
+ $context = stream_context_create(array(
21
+ 'http' => array('ignore_errors' => true)
22
+ ));
23
+
24
+ set_error_handler('w_error_handler_1101');
25
+ $response = @file_get_contents($setup_callback_url, false, $context);
26
+ restore_error_handler();
27
+
28
+ if($response !== false) {
29
+ $configModel = new Mage_Core_Model_Config();
30
+ //We save to default since the plugin can only be one in a multistore setup anyhow
31
+ $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
32
+ //Make sure cache gets updated with the new config
33
+ $configModel->reinit();
34
+ Mage::app()->reinitStores();
35
+ }
36
+ }
app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.2-1.1.5.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function w_error_handler_1102($errno, $errstr, $errfile, $errline, $errcontext) {
3
+ error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
+ return true;
5
+ }
6
+
7
+ //Check if data_key is already in config and that it is a number
8
+ $data_key = Mage::getStoreConfig('tracker/general/data_key');
9
+ if(is_numeric($data_key) === false) {
10
+ $email = Mage::getStoreConfig('trans_email/ident_general/email');
11
+ $domain = Mage::getStoreConfig('web/unsecure/base_url');
12
+ $lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
13
+ $name = Mage::getStoreConfig('trans_email/ident_general/name');
14
+
15
+ error_log("Updating to woomio plugin 1.1.5 from 1.1.2. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
16
+
17
+ $setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
18
+
19
+ //Ignore errors returned by the server
20
+ $context = stream_context_create(array(
21
+ 'http' => array('ignore_errors' => true)
22
+ ));
23
+
24
+ set_error_handler('w_error_handler_1102');
25
+ $response = @file_get_contents($setup_callback_url, false, $context);
26
+ restore_error_handler();
27
+
28
+ if($response !== false) {
29
+ $configModel = new Mage_Core_Model_Config();
30
+ //We save to default since the plugin can only be one in a multistore setup anyhow
31
+ $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
32
+ //Make sure cache gets updated with the new config
33
+ $configModel->reinit();
34
+ Mage::app()->reinitStores();
35
+ }
36
+ }
app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.3-1.1.5.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function w_error_handler_1103($errno, $errstr, $errfile, $errline, $errcontext) {
3
+ error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
+ return true;
5
+ }
6
+
7
+ //Check if data_key is already in config and that it is a number
8
+ $data_key = Mage::getStoreConfig('tracker/general/data_key');
9
+ if(is_numeric($data_key) === false) {
10
+ $email = Mage::getStoreConfig('trans_email/ident_general/email');
11
+ $domain = Mage::getStoreConfig('web/unsecure/base_url');
12
+ $lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
13
+ $name = Mage::getStoreConfig('trans_email/ident_general/name');
14
+
15
+ error_log("Updating to woomio plugin 1.1.5 from 1.1.3. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
16
+
17
+ $setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
18
+
19
+ //Ignore errors returned by the server
20
+ $context = stream_context_create(array(
21
+ 'http' => array('ignore_errors' => true)
22
+ ));
23
+
24
+ set_error_handler('w_error_handler_1103');
25
+ $response = @file_get_contents($setup_callback_url, false, $context);
26
+ restore_error_handler();
27
+
28
+ if($response !== false) {
29
+ $configModel = new Mage_Core_Model_Config();
30
+ //We save to default since the plugin can only be one in a multistore setup anyhow
31
+ $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
32
+ //Make sure cache gets updated with the new config
33
+ $configModel->reinit();
34
+ Mage::app()->reinitStores();
35
+ }
36
+ }
app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.4-1.1.5.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function w_error_handler_1104($errno, $errstr, $errfile, $errline, $errcontext) {
3
+ error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
+ return true;
5
+ }
6
+
7
+ //Check if data_key is already in config and that it is a number
8
+ $data_key = Mage::getStoreConfig('tracker/general/data_key');
9
+ if(is_numeric($data_key) === false) {
10
+ $email = Mage::getStoreConfig('trans_email/ident_general/email');
11
+ $domain = Mage::getStoreConfig('web/unsecure/base_url');
12
+ $lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
13
+ $name = Mage::getStoreConfig('trans_email/ident_general/name');
14
+
15
+ error_log("Updating to woomio plugin 1.1.5 from 1.1.4. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
16
+
17
+ $setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
18
+
19
+ //Ignore errors returned by the server
20
+ $context = stream_context_create(array(
21
+ 'http' => array('ignore_errors' => true)
22
+ ));
23
+
24
+ set_error_handler('w_error_handler_1104');
25
+ $response = @file_get_contents($setup_callback_url, false, $context);
26
+ restore_error_handler();
27
+
28
+ if($response !== false) {
29
+ $configModel = new Mage_Core_Model_Config();
30
+ //We save to default since the plugin can only be one in a multistore setup anyhow
31
+ $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
32
+ //Make sure cache gets updated with the new config
33
+ $configModel->reinit();
34
+ Mage::app()->reinitStores();
35
+ }
36
+ }
app/code/local/Woomio/Tracker/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Woomio_Tracker>
5
- <version>1.1.4</version>
6
  </Woomio_Tracker>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Woomio_Tracker>
5
+ <version>1.1.5</version>
6
  </Woomio_Tracker>
7
  </modules>
8
  <frontend>
app/code/local/Woomio/Tracker/sql/tracker_setup/install-1.1.4.php DELETED
@@ -1,46 +0,0 @@
1
- <?php
2
- function w_error_handler($errno, $errstr, $errfile, $errline, $errcontext) {
3
- error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
- return true;
5
- }
6
-
7
- $installer = $this;
8
- $installer->startSetup();
9
-
10
- //Check if data_key is already in config and that it is a number
11
- $data_key = Mage::getStoreConfig('tracker/general/data_key');
12
- if(is_numeric($data_key) === false) {
13
- $sql = 'DROP TABLE IF EXISTS `'.$this->getTable('woomio').'`;';
14
- $sql .= 'CREATE TABLE '.$this->getTable('woomio').'(orderid int not null auto_increment, wacsid varchar(100), primary key(orderid));';
15
-
16
- $Email = Mage::getStoreConfig('trans_email/ident_general/email');
17
- $Domain = Mage::getStoreConfig('web/unsecure/base_url');
18
- $Lang = substr(Mage::getStoreConfig('general/locale/code'),0,2);
19
- $Name = Mage::getStoreConfig('trans_email/ident_general/name');
20
-
21
- error_log("Installing woomio plugin 1.1.4. Email: " . $Email . "; Domain: " . $Domain . "; Lang: " . $Lang . "; Name: " . $Name);
22
-
23
- $SetupCallbackUrl = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($Name) . '&domain=' . urlencode($Domain) . '&country=' . urlencode($Lang) . '&email=' . urlencode($Email) . '&platform=1';
24
-
25
- //Ignore errors returned by the server
26
- $context = stream_context_create(array(
27
- 'http' => array('ignore_errors' => true)
28
- ));
29
-
30
- set_error_handler('w_error_handler');
31
- $Response = @file_get_contents($SetupCallbackUrl, false, $context);
32
- restore_error_handler();
33
-
34
- if($Response !== false) {
35
- $configModel = new Mage_Core_Model_Config();
36
- //We save to default since the plugin can only be one in a multistore setup anyhow
37
- $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
38
- //Make sure cache gets updated with the new config
39
- $configModel->reinit();
40
- Mage::app()->reinitStores();
41
- }
42
-
43
- $installer->run($sql);
44
- }
45
-
46
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Woomio/Tracker/sql/tracker_setup/install-1.1.5.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $this->startSetup();
3
+
4
+ $woomio_table = $this->getTable('woomio');
5
+ if($this->getConnection()->isTableExists($woomio_table) !== true) {
6
+ $sql = "CREATE TABLE " . $this->getTable('woomio') . "(orderid int not null auto_increment, wacsid varchar(100), primary key(orderid));";
7
+ $this->run($sql);
8
+ }
9
+
10
+ $this->endSetup();
app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.0.10-1.1.4.php DELETED
@@ -1,46 +0,0 @@
1
- <?php
2
- function w_error_handler_10($errno, $errstr, $errfile, $errline, $errcontext) {
3
- error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
- return true;
5
- }
6
-
7
- $installer = $this;
8
- $installer->startSetup();
9
-
10
- //Check if data_key is already in config and that it is a number
11
- $data_key = Mage::getStoreConfig('tracker/general/data_key');
12
- if(is_numeric($data_key) === false) {
13
- $sql = 'DROP TABLE IF EXISTS `'.$this->getTable('woomio').'`;';
14
- $sql .= 'CREATE TABLE '.$this->getTable('woomio').'(orderid int not null auto_increment, wacsid varchar(100), primary key(orderid));';
15
-
16
- $Email = Mage::getStoreConfig('trans_email/ident_general/email');
17
- $Domain = Mage::getStoreConfig('web/unsecure/base_url');
18
- $Lang = substr(Mage::getStoreConfig('general/locale/code'),0,2);
19
- $Name = Mage::getStoreConfig('trans_email/ident_general/name');
20
-
21
- error_log("Updating to woomio plugin 1.1.4 from 1.0.10. Email: " . $Email . "; Domain: " . $Domain . "; Lang: " . $Lang . "; Name: " . $Name);
22
-
23
- $SetupCallbackUrl = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($Name) . '&domain=' . urlencode($Domain) . '&country=' . urlencode($Lang) . '&email=' . urlencode($Email) . '&platform=1';
24
-
25
- //Ignore errors returned by the server
26
- $context = stream_context_create(array(
27
- 'http' => array('ignore_errors' => true)
28
- ));
29
-
30
- set_error_handler('w_error_handler_10');
31
- $Response = @file_get_contents($SetupCallbackUrl, false, $context);
32
- restore_error_handler();
33
-
34
- if($Response !== false) {
35
- $configModel = new Mage_Core_Model_Config();
36
- //We save to default since the plugin can only be one in a multistore setup anyhow
37
- $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
38
- //Make sure cache gets updated with the new config
39
- $configModel->reinit();
40
- Mage::app()->reinitStores();
41
- }
42
-
43
- $installer->run($sql);
44
- }
45
-
46
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.0.11-1.1.4.php DELETED
@@ -1,46 +0,0 @@
1
- <?php
2
- function w_error_handler_11($errno, $errstr, $errfile, $errline, $errcontext) {
3
- error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
- return true;
5
- }
6
-
7
- $installer = $this;
8
- $installer->startSetup();
9
-
10
- //Check if data_key is already in config and that it is a number
11
- $data_key = Mage::getStoreConfig('tracker/general/data_key');
12
- if(is_numeric($data_key) === false) {
13
- $sql = 'DROP TABLE IF EXISTS `'.$this->getTable('woomio').'`;';
14
- $sql .= 'CREATE TABLE '.$this->getTable('woomio').'(orderid int not null auto_increment, wacsid varchar(100), primary key(orderid));';
15
-
16
- $Email = Mage::getStoreConfig('trans_email/ident_general/email');
17
- $Domain = Mage::getStoreConfig('web/unsecure/base_url');
18
- $Lang = substr(Mage::getStoreConfig('general/locale/code'),0,2);
19
- $Name = Mage::getStoreConfig('trans_email/ident_general/name');
20
-
21
- error_log("Updating to woomio plugin 1.1.4 from 1.0.11. Email: " . $Email . "; Domain: " . $Domain . "; Lang: " . $Lang . "; Name: " . $Name);
22
-
23
- $SetupCallbackUrl = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($Name) . '&domain=' . urlencode($Domain) . '&country=' . urlencode($Lang) . '&email=' . urlencode($Email) . '&platform=1';
24
-
25
- //Ignore errors returned by the server
26
- $context = stream_context_create(array(
27
- 'http' => array('ignore_errors' => true)
28
- ));
29
-
30
- set_error_handler('w_error_handler_11');
31
- $Response = @file_get_contents($SetupCallbackUrl, false, $context);
32
- restore_error_handler();
33
-
34
- if($Response !== false) {
35
- $configModel = new Mage_Core_Model_Config();
36
- //We save to default since the plugin can only be one in a multistore setup anyhow
37
- $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
38
- //Make sure cache gets updated with the new config
39
- $configModel->reinit();
40
- Mage::app()->reinitStores();
41
- }
42
-
43
- $installer->run($sql);
44
- }
45
-
46
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.0.12-1.1.4.php DELETED
@@ -1,46 +0,0 @@
1
- <?php
2
- function w_error_handler_12($errno, $errstr, $errfile, $errline, $errcontext) {
3
- error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
- return true;
5
- }
6
-
7
- $installer = $this;
8
- $installer->startSetup();
9
-
10
- //Check if data_key is already in config and that it is a number
11
- $data_key = Mage::getStoreConfig('tracker/general/data_key');
12
- if(is_numeric($data_key) === false) {
13
- $sql = 'DROP TABLE IF EXISTS `'.$this->getTable('woomio').'`;';
14
- $sql .= 'CREATE TABLE '.$this->getTable('woomio').'(orderid int not null auto_increment, wacsid varchar(100), primary key(orderid));';
15
-
16
- $Email = Mage::getStoreConfig('trans_email/ident_general/email');
17
- $Domain = Mage::getStoreConfig('web/unsecure/base_url');
18
- $Lang = substr(Mage::getStoreConfig('general/locale/code'),0,2);
19
- $Name = Mage::getStoreConfig('trans_email/ident_general/name');
20
-
21
- error_log("Updating to woomio plugin 1.1.4 from 1.0.12. Email: " . $Email . "; Domain: " . $Domain . "; Lang: " . $Lang . "; Name: " . $Name);
22
-
23
- $SetupCallbackUrl = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($Name) . '&domain=' . urlencode($Domain) . '&country=' . urlencode($Lang) . '&email=' . urlencode($Email) . '&platform=1';
24
-
25
- //Ignore errors returned by the server
26
- $context = stream_context_create(array(
27
- 'http' => array('ignore_errors' => true)
28
- ));
29
-
30
- set_error_handler('w_error_handler_12');
31
- $Response = @file_get_contents($SetupCallbackUrl, false, $context);
32
- restore_error_handler();
33
-
34
- if($Response !== false) {
35
- $configModel = new Mage_Core_Model_Config();
36
- //We save to default since the plugin can only be one in a multistore setup anyhow
37
- $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
38
- //Make sure cache gets updated with the new config
39
- $configModel->reinit();
40
- Mage::app()->reinitStores();
41
- }
42
-
43
- $installer->run($sql);
44
- }
45
-
46
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.1.0-1.1.4.php DELETED
@@ -1,46 +0,0 @@
1
- <?php
2
- function w_error_handler_110($errno, $errstr, $errfile, $errline, $errcontext) {
3
- error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
- return true;
5
- }
6
-
7
- $installer = $this;
8
- $installer->startSetup();
9
-
10
- //Check if data_key is already in config and that it is a number
11
- $data_key = Mage::getStoreConfig('tracker/general/data_key');
12
- if(is_numeric($data_key) === false) {
13
- $sql = 'DROP TABLE IF EXISTS `'.$this->getTable('woomio').'`;';
14
- $sql .= 'CREATE TABLE '.$this->getTable('woomio').'(orderid int not null auto_increment, wacsid varchar(100), primary key(orderid));';
15
-
16
- $Email = Mage::getStoreConfig('trans_email/ident_general/email');
17
- $Domain = Mage::getStoreConfig('web/unsecure/base_url');
18
- $Lang = substr(Mage::getStoreConfig('general/locale/code'),0,2);
19
- $Name = Mage::getStoreConfig('trans_email/ident_general/name');
20
-
21
- error_log("Updating to woomio plugin 1.1.4 from 1.1.0. Email: " . $Email . "; Domain: " . $Domain . "; Lang: " . $Lang . "; Name: " . $Name);
22
-
23
- $SetupCallbackUrl = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($Name) . '&domain=' . urlencode($Domain) . '&country=' . urlencode($Lang) . '&email=' . urlencode($Email) . '&platform=1';
24
-
25
- //Ignore errors returned by the server
26
- $context = stream_context_create(array(
27
- 'http' => array('ignore_errors' => true)
28
- ));
29
-
30
- set_error_handler('w_error_handler_110');
31
- $Response = @file_get_contents($SetupCallbackUrl, false, $context);
32
- restore_error_handler();
33
-
34
- if($Response !== false) {
35
- $configModel = new Mage_Core_Model_Config();
36
- //We save to default since the plugin can only be one in a multistore setup anyhow
37
- $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
38
- //Make sure cache gets updated with the new config
39
- $configModel->reinit();
40
- Mage::app()->reinitStores();
41
- }
42
-
43
- $installer->run($sql);
44
- }
45
-
46
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.1.1-1.1.4.php DELETED
@@ -1,46 +0,0 @@
1
- <?php
2
- function w_error_handler_111($errno, $errstr, $errfile, $errline, $errcontext) {
3
- error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
- return true;
5
- }
6
-
7
- $installer = $this;
8
- $installer->startSetup();
9
-
10
- //Check if data_key is already in config and that it is a number
11
- $data_key = Mage::getStoreConfig('tracker/general/data_key');
12
- if(is_numeric($data_key) === false) {
13
- $sql = 'DROP TABLE IF EXISTS `'.$this->getTable('woomio').'`;';
14
- $sql .= 'CREATE TABLE '.$this->getTable('woomio').'(orderid int not null auto_increment, wacsid varchar(100), primary key(orderid));';
15
-
16
- $Email = Mage::getStoreConfig('trans_email/ident_general/email');
17
- $Domain = Mage::getStoreConfig('web/unsecure/base_url');
18
- $Lang = substr(Mage::getStoreConfig('general/locale/code'),0,2);
19
- $Name = Mage::getStoreConfig('trans_email/ident_general/name');
20
-
21
- error_log("Updating to woomio plugin 1.1.4 from 1.1.1. Email: " . $Email . "; Domain: " . $Domain . "; Lang: " . $Lang . "; Name: " . $Name);
22
-
23
- $SetupCallbackUrl = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($Name) . '&domain=' . urlencode($Domain) . '&country=' . urlencode($Lang) . '&email=' . urlencode($Email) . '&platform=1';
24
-
25
- //Ignore errors returned by the server
26
- $context = stream_context_create(array(
27
- 'http' => array('ignore_errors' => true)
28
- ));
29
-
30
- set_error_handler('w_error_handler_111');
31
- $Response = @file_get_contents($SetupCallbackUrl, false, $context);
32
- restore_error_handler();
33
-
34
- if($Response !== false) {
35
- $configModel = new Mage_Core_Model_Config();
36
- //We save to default since the plugin can only be one in a multistore setup anyhow
37
- $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
38
- //Make sure cache gets updated with the new config
39
- $configModel->reinit();
40
- Mage::app()->reinitStores();
41
- }
42
-
43
- $installer->run($sql);
44
- }
45
-
46
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.1.2-1.1.4.php DELETED
@@ -1,46 +0,0 @@
1
- <?php
2
- function w_error_handler_112($errno, $errstr, $errfile, $errline, $errcontext) {
3
- error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
- return true;
5
- }
6
-
7
- $installer = $this;
8
- $installer->startSetup();
9
-
10
- //Check if data_key is already in config and that it is a number
11
- $data_key = Mage::getStoreConfig('tracker/general/data_key');
12
- if(is_numeric($data_key) === false) {
13
- $sql = 'DROP TABLE IF EXISTS `'.$this->getTable('woomio').'`;';
14
- $sql .= 'CREATE TABLE '.$this->getTable('woomio').'(orderid int not null auto_increment, wacsid varchar(100), primary key(orderid));';
15
-
16
- $Email = Mage::getStoreConfig('trans_email/ident_general/email');
17
- $Domain = Mage::getStoreConfig('web/unsecure/base_url');
18
- $Lang = substr(Mage::getStoreConfig('general/locale/code'),0,2);
19
- $Name = Mage::getStoreConfig('trans_email/ident_general/name');
20
-
21
- error_log("Updating to woomio plugin 1.1.4 from 1.1.2. Email: " . $Email . "; Domain: " . $Domain . "; Lang: " . $Lang . "; Name: " . $Name);
22
-
23
- $SetupCallbackUrl = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($Name) . '&domain=' . urlencode($Domain) . '&country=' . urlencode($Lang) . '&email=' . urlencode($Email) . '&platform=1';
24
-
25
- //Ignore errors returned by the server
26
- $context = stream_context_create(array(
27
- 'http' => array('ignore_errors' => true)
28
- ));
29
-
30
- set_error_handler('w_error_handler_112');
31
- $Response = @file_get_contents($SetupCallbackUrl, false, $context);
32
- restore_error_handler();
33
-
34
- if($Response !== false) {
35
- $configModel = new Mage_Core_Model_Config();
36
- //We save to default since the plugin can only be one in a multistore setup anyhow
37
- $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
38
- //Make sure cache gets updated with the new config
39
- $configModel->reinit();
40
- Mage::app()->reinitStores();
41
- }
42
-
43
- $installer->run($sql);
44
- }
45
-
46
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Woomio/Tracker/sql/tracker_setup/upgrade-1.1.3-1.1.4.php DELETED
@@ -1,46 +0,0 @@
1
- <?php
2
- function w_error_handler_113($errno, $errstr, $errfile, $errline, $errcontext) {
3
- error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
4
- return true;
5
- }
6
-
7
- $installer = $this;
8
- $installer->startSetup();
9
-
10
- //Check if data_key is already in config and that it is a number
11
- $data_key = Mage::getStoreConfig('tracker/general/data_key');
12
- if(is_numeric($data_key) === false) {
13
- $sql = 'DROP TABLE IF EXISTS `'.$this->getTable('woomio').'`;';
14
- $sql .= 'CREATE TABLE '.$this->getTable('woomio').'(orderid int not null auto_increment, wacsid varchar(100), primary key(orderid));';
15
-
16
- $Email = Mage::getStoreConfig('trans_email/ident_general/email');
17
- $Domain = Mage::getStoreConfig('web/unsecure/base_url');
18
- $Lang = substr(Mage::getStoreConfig('general/locale/code'),0,2);
19
- $Name = Mage::getStoreConfig('trans_email/ident_general/name');
20
-
21
- error_log("Updating to woomio plugin 1.1.4 from 1.1.3. Email: " . $Email . "; Domain: " . $Domain . "; Lang: " . $Lang . "; Name: " . $Name);
22
-
23
- $SetupCallbackUrl = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($Name) . '&domain=' . urlencode($Domain) . '&country=' . urlencode($Lang) . '&email=' . urlencode($Email) . '&platform=1';
24
-
25
- //Ignore errors returned by the server
26
- $context = stream_context_create(array(
27
- 'http' => array('ignore_errors' => true)
28
- ));
29
-
30
- set_error_handler('w_error_handler_113');
31
- $Response = @file_get_contents($SetupCallbackUrl, false, $context);
32
- restore_error_handler();
33
-
34
- if($Response !== false) {
35
- $configModel = new Mage_Core_Model_Config();
36
- //We save to default since the plugin can only be one in a multistore setup anyhow
37
- $configModel->saveConfig('tracker/general/data_key', $Response, 'default', 0);
38
- //Make sure cache gets updated with the new config
39
- $configModel->reinit();
40
- Mage::app()->reinitStores();
41
- }
42
-
43
- $installer->run($sql);
44
- }
45
-
46
- $installer->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/layout/tracker.xml CHANGED
@@ -1,5 +1,5 @@
1
  <?xml version="1.0"?>
2
- <layout version="1.1.4">
3
  <default>
4
  <reference name="head">
5
  <block type="tracker/tracking" name="tracking" as="tracker_tracking_head" template="woomio_tracker/tracking.phtml" />
1
  <?xml version="1.0"?>
2
+ <layout version="1.1.5">
3
  <default>
4
  <reference name="head">
5
  <block type="tracker/tracking" name="tracking" as="tracker_tracking_head" template="woomio_tracker/tracking.phtml" />
app/design/frontend/base/default/template/woomio_tracker/tracking.phtml CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- $VERSION = '1.1.4';
3
  $DATAR = Mage::getStoreConfig('tracker/general/data_key');
4
  ?>
5
  <?php if($DATAR):?>
1
  <?php
2
+ $VERSION = '1.1.5';
3
  $DATAR = Mage::getStoreConfig('tracker/general/data_key');
4
  ?>
5
  <?php if($DATAR):?>
app/etc/modules/Woomio_Tracker.xml CHANGED
@@ -4,7 +4,7 @@
4
  <Woomio_Tracker>
5
  <active>true</active>
6
  <codePool>local</codePool>
7
- <version>1.1.4</version>
8
  </Woomio_Tracker>
9
  </modules>
10
  </config>
4
  <Woomio_Tracker>
5
  <active>true</active>
6
  <codePool>local</codePool>
7
+ <version>1.1.5</version>
8
  </Woomio_Tracker>
9
  </modules>
10
  </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Woo</name>
4
- <version>1.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.woomio.com">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -23,9 +23,9 @@ Compatibility&#xD;
23
  Woomio is fully compatible with all Magento versions and modules.</description>
24
  <notes>Support details statistic </notes>
25
  <authors><author><name>Woomio</name><user>Woomio</user><email>developer@woomio.com</email></author></authors>
26
- <date>2015-08-11</date>
27
- <time>16:15:29</time>
28
- <contents><target name="magelocal"><dir name="Woomio"><dir name="Tracker"><dir name="Block"><file name="Index.php" hash="949b7c689724a7eeeba5168a9cf03507"/><file name="Tracking.php" hash="1e3cb6eb08e18f13913b3a172571603d"/></dir><dir name="Helper"><file name="Data.php" hash="53a3a643e1eea3a72e02b5c64daa9edd"/></dir><dir name="Model"><file name="Observer.php" hash="1051776a9a12c70554447141cdc906b5"/></dir><dir name="controllers"><file name="IndexController.php" hash="fe9ee0123f98a64343dda627fe9e1e64"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f4f46675a9901fece5c8b74bb44f7d27"/><file name="config.xml" hash="762e9a4ce3acd87424181bb64992fd1f"/></dir><dir name="sql"><dir name="tracker_setup"><file name="install-1.1.4.php" hash="138000f48af4ff12c2ecfe16c3c5415a"/><file name="upgrade-1.0.10-1.1.4.php" hash="a8bc8d1d0e2133b7f53e4d84190818f8"/><file name="upgrade-1.0.11-1.1.4.php" hash="918d90ed964fa51fe564e66f6e05f51e"/><file name="upgrade-1.0.12-1.1.4.php" hash="e00e3337bbb56c24b97fbe719ed622a9"/><file name="upgrade-1.1.0-1.1.4.php" hash="0645ebec9817b330062cf70c865a8add"/><file name="upgrade-1.1.1-1.1.4.php" hash="10f0a04c6fb30bd3f259830152480c36"/><file name="upgrade-1.1.2-1.1.4.php" hash="1d91dc3499ca62a7d6a1ce72c86c2c92"/><file name="upgrade-1.1.3-1.1.4.php" hash="5e3f2158163f4f328ac210054b10eb6a"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="tracker.xml" hash="76f18679918890ec763c91bd11e28f74"/></dir><dir name="template"><dir name="woomio_tracker"><file name="tracking.phtml" hash="2fe69f4e4409f9999239c6d689c049b0"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Woomio_Tracker.xml" hash="812b52cf49cfd205ab3344e01296322d"/></dir></target></contents>
29
  <compatible/>
30
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
31
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Woo</name>
4
+ <version>1.1.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.woomio.com">Open Software License (OSL)</license>
7
  <channel>community</channel>
23
  Woomio is fully compatible with all Magento versions and modules.</description>
24
  <notes>Support details statistic </notes>
25
  <authors><author><name>Woomio</name><user>Woomio</user><email>developer@woomio.com</email></author></authors>
26
+ <date>2015-08-17</date>
27
+ <time>15:33:36</time>
28
+ <contents><target name="magelocal"><dir name="Woomio"><dir name="Tracker"><dir name="Block"><file name="Index.php" hash="949b7c689724a7eeeba5168a9cf03507"/><file name="Tracking.php" hash="1e3cb6eb08e18f13913b3a172571603d"/></dir><dir name="Helper"><file name="Data.php" hash="53a3a643e1eea3a72e02b5c64daa9edd"/></dir><dir name="Model"><file name="Observer.php" hash="1051776a9a12c70554447141cdc906b5"/></dir><dir name="controllers"><file name="IndexController.php" hash="f832fec73719f37b02ecdd09ff6b790a"/></dir><dir name="data"><dir name="tracker_setup"><file name="data-install-1.1.5.php" hash="a255901b9b19a85ad295fddeaa5052a4"/><file name="data-upgrade-1.0.10-1.1.5.php" hash="2c22195680f063d53ca63fe647516ebb"/><file name="data-upgrade-1.0.11-1.1.5.php" hash="5283f42a5ddb7f8a0157d619564b7b5e"/><file name="data-upgrade-1.0.12-1.1.5.php" hash="3aea95a6c97f113a6649d40944234bba"/><file name="data-upgrade-1.1.0-1.1.5.php" hash="298b20031f3904425bbb0e4870444962"/><file name="data-upgrade-1.1.1-1.1.5.php" hash="b4350776e7b6f5371b80a602a527dc0c"/><file name="data-upgrade-1.1.2-1.1.5.php" hash="4e9f6b4387ece6e70a84def10f1e29a3"/><file name="data-upgrade-1.1.3-1.1.5.php" hash="bce169900967d306713cd5589b3d8b3e"/><file name="data-upgrade-1.1.4-1.1.5.php" hash="90baba852939581a06d297b62939a089"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="f4f46675a9901fece5c8b74bb44f7d27"/><file name="config.xml" hash="387531f30d4d3c98ce23586199f1ee26"/></dir><dir name="sql"><dir name="tracker_setup"><file name="install-1.1.5.php" hash="655bbf18c1da631e72f068d26ea42f86"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="tracker.xml" hash="533b5f77844402fa08729fcaee52259e"/></dir><dir name="template"><dir name="woomio_tracker"><file name="tracking.phtml" hash="2cba7b57ec948cfa467831c9c69d7515"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Woomio_Tracker.xml" hash="22948cc91fccee1c566494b1982bbd63"/></dir></target></contents>
29
  <compatible/>
30
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
31
  </package>