Woo - Version 1.0.8

Version Notes

Support details statistic

Download this release

Release Info

Developer Woomio
Extension Woo
Version 1.0.8
Comparing to
See all releases


Code changes from version 1.0.7 to 1.0.8

app/code/local/Woomio/Tracker/sql/tracker_setup/mysql4-install-1.0.6.php CHANGED
@@ -8,10 +8,14 @@ $Domain = Mage::getStoreConfig('web/unsecure/base_url');
8
  $Lang = substr(Mage::getStoreConfig('general/locale/code'),0,2);
9
  $Name = Mage::getStoreConfig('trans_email/ident_general/name');
10
 
11
- $SetupCallbackUrl = "https://www.woomio.com/umbraco/api/Endpoints/RetailerSignup?name=".$Name."&domain=".$Domain."&country=".$Lang."&email=".$Email."&platform=1";
12
  $Response = file_get_contents($SetupCallbackUrl);
13
 
14
- file_put_contents('Retailer.php', $Response);
 
 
 
 
15
 
16
  $installer->run($sql);
17
  $installer->endSetup();
8
  $Lang = substr(Mage::getStoreConfig('general/locale/code'),0,2);
9
  $Name = Mage::getStoreConfig('trans_email/ident_general/name');
10
 
11
+ $SetupCallbackUrl = 'https://www.woomio.com/umbraco/api/Endpoints/RetailerSignup?name='.$Name.'&domain='.$Domain.'&country='.$Lang.'&email='.$Email.'&platform=1';
12
  $Response = file_get_contents($SetupCallbackUrl);
13
 
14
+ $FilePath = $_SERVER['DOCUMENT_ROOT'] . '/app/design/frontend/base/default/layout/tracker.xml';
15
+ $Xml = file_get_contents($FilePath);
16
+ $ConfigFile = fopen($FilePath, 'w');
17
+ fwrite($ConfigFile, str_replace('.js"', '.js" data-r=' . $Response, $Xml));
18
+ fclose($ConfigFile);
19
 
20
  $installer->run($sql);
21
  $installer->endSetup();
app/design/frontend/base/default/layout/tracker.xml CHANGED
@@ -1,5 +1,5 @@
1
  <?xml version="1.0"?>
2
- <layout version="1.0.5">
3
  <default>
4
  <reference name="head">
5
  <block type="core/text" name="woomio.com">
1
  <?xml version="1.0"?>
2
+ <layout version="1.0.6">
3
  <default>
4
  <reference name="head">
5
  <block type="core/text" name="woomio.com">
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Woo</name>
4
- <version>1.0.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.woomio.com">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -24,8 +24,8 @@ 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-06-08</date>
27
- <time>08:45:51</time>
28
- <contents><target name="magelocal"><dir name="Woomio"><dir name="Tracker"><dir name="Block"><file name="Index.php" hash="949b7c689724a7eeeba5168a9cf03507"/></dir><dir name="Helper"><file name="Data.php" hash="53a3a643e1eea3a72e02b5c64daa9edd"/></dir><dir name="Model"><file name="Observer.php" hash="855bd53491c9c6b37178d7565d7e2e1a"/></dir><dir name="controllers"><file name="IndexController.php" hash="23096ef9a4af36032fe9098f87b057db"/></dir><dir name="etc"><file name="config.xml" hash="4fcc52e3528c8181f23681ec9b67d6ad"/></dir><dir name="sql"><dir name="tracker_setup"><file name="mysql4-install-1.0.6.php" hash="d1aadb02f734ae1ca09dadeb12dec1bd"/></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="7ac1a21863c83d080154e348fc26944f"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Woomio_Tracker.xml" hash="204c92230750c0d53ac835bf8e790330"/></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.0.8</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.woomio.com">Open Software License (OSL)</license>
7
  <channel>community</channel>
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-06-08</date>
27
+ <time>09:33:55</time>
28
+ <contents><target name="magelocal"><dir name="Woomio"><dir name="Tracker"><dir name="Block"><file name="Index.php" hash="949b7c689724a7eeeba5168a9cf03507"/></dir><dir name="Helper"><file name="Data.php" hash="53a3a643e1eea3a72e02b5c64daa9edd"/></dir><dir name="Model"><file name="Observer.php" hash="855bd53491c9c6b37178d7565d7e2e1a"/></dir><dir name="controllers"><file name="IndexController.php" hash="23096ef9a4af36032fe9098f87b057db"/></dir><dir name="etc"><file name="config.xml" hash="4fcc52e3528c8181f23681ec9b67d6ad"/></dir><dir name="sql"><dir name="tracker_setup"><file name="mysql4-install-1.0.6.php" hash="75203067f58f87ebf862dcb4c03e791e"/></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="4afe1bc76fffccef1c7ceff6fd70e9f4"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Woomio_Tracker.xml" hash="204c92230750c0d53ac835bf8e790330"/></dir></target></contents>
29
  <compatible/>
30
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
31
  </package>