Numerno_Visilabs - Version 1.0.4

Version Notes

Version 1.0.4
* Minor bug fixes

Build Date: July 01, 2016

Download this release

Release Info

Developer Numerno
Extension Numerno_Visilabs
Version 1.0.4
Comparing to
See all releases


Code changes from version 1.0.3 to 1.0.4

app/code/local/Numerno/Visilabs/Model/Observer.php CHANGED
@@ -115,8 +115,6 @@ class Numerno_Visilabs_Model_Observer
115
  */
116
  private function _prepareCustomerParams($customer, $eventType)
117
  {
118
-
119
- Mage::log(array(get_class($customer), $customer->getData()), null, 'c.log');
120
  //get customer identifier
121
  switch ($this->_getCustomerIdentifier()) {
122
  case 'email':
@@ -224,6 +222,14 @@ class Numerno_Visilabs_Model_Observer
224
  return $this;
225
  }
226
 
 
 
 
 
 
 
 
 
227
  $customer = $observer->getCustomer();
228
  $params = $this->_prepareCustomerParams($customer, 'Login');
229
 
115
  */
116
  private function _prepareCustomerParams($customer, $eventType)
117
  {
 
 
118
  //get customer identifier
119
  switch ($this->_getCustomerIdentifier()) {
120
  case 'email':
222
  return $this;
223
  }
224
 
225
+ $session = $this->getSession();
226
+ if($session->hasVisilabsParams()) {
227
+ $params = $session->getVisilabsParams();
228
+ if(isset($params['EventType']) && $params['EventType'] == 'Signup') {
229
+ return $this;
230
+ }
231
+ }
232
+
233
  $customer = $observer->getCustomer();
234
  $params = $this->_prepareCustomerParams($customer, 'Login');
235
 
app/code/local/Numerno/Visilabs/etc/config.xml CHANGED
@@ -30,7 +30,7 @@
30
  <config>
31
  <modules>
32
  <Numerno_Visilabs>
33
- <version>1.0.2</version>
34
  </Numerno_Visilabs>
35
  </modules>
36
  <global>
30
  <config>
31
  <modules>
32
  <Numerno_Visilabs>
33
+ <version>1.0.4</version>
34
  </Numerno_Visilabs>
35
  </modules>
36
  <global>
app/design/frontend/base/default/layout/visilabs.xml CHANGED
@@ -32,7 +32,7 @@
32
  <reference name="head" before="-">
33
  <block type="visilabs/global" name="visilabs.global" template="visilabs/global.phtml"/>
34
  </reference>
35
- <reference name="after_body_start" before="-">
36
  <block type="visilabs/tagging" name="visilabs.tagging" template="visilabs/tagging.phtml" />
37
  </reference>
38
  </default>
32
  <reference name="head" before="-">
33
  <block type="visilabs/global" name="visilabs.global" template="visilabs/global.phtml"/>
34
  </reference>
35
+ <reference name="content" before="-">
36
  <block type="visilabs/tagging" name="visilabs.tagging" template="visilabs/tagging.phtml" />
37
  </reference>
38
  </default>
package.xml CHANGED
@@ -1,21 +1,21 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Numerno_Visilabs</name>
4
- <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://numerno.com/licenses/visilabs-ce.txt">NUMERNO VISILABS MAGENTO EXTENSION</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Tagging Module for Visilabs omni-channel automation platform.</summary>
10
  <description>This extension allows you to easily tag your Magento pages according to Visilabs platform requirements.</description>
11
- <notes>Version 1.0.3&#xD;
12
  * Minor bug fixes&#xD;
13
  &#xD;
14
- Build Date: 2016-06-30</notes>
15
  <authors><author><name>Numerno</name><user>muhammedv</user><email>muhammedv@gmail.com</email></author></authors>
16
- <date>2016-06-30</date>
17
- <time>15:27:33</time>
18
- <contents><target name="magelocal"><dir><dir name="Numerno"><dir name="Visilabs"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Abstract.php" hash="4c7af53a079e5a663260be0ff0b1fabf"/><file name="Cart.php" hash="c1b1b0d80370601b550e55e1ca22f6f5"/><file name="Customer.php" hash="0c7bf34b5e8a8d572f83c7c0cd0545f9"/><file name="Order.php" hash="97efbfbb11117e59f6ef6004ff1ea066"/><file name="Product.php" hash="9d966d841aff07bc98cb2438a7795b10"/><dir name="Renderer"><file name="CountOut.php" hash="b1e433796749f88188e0cae2e3db0083"/><file name="CustomerAttributes.php" hash="dfc5b1b6dd9f1093ddb431ee97e2bf10"/><file name="OrderAttributes.php" hash="dfdc51d04d1e2861723e19791ee81b11"/><file name="QuoteAttributes.php" hash="1ca59ce2b0c2dfd3081cabf1e3564e75"/><file name="VisibleProductAttributes.php" hash="ebfafb525facd60d2c39021971f50f88"/></dir></dir></dir></dir></dir></dir><file name="Global.php" hash="3518d7e2b62beef806f8d911f57562de"/><file name="Tagging.php" hash="d473a0f9807ee7515c666945afd5ab3b"/></dir><dir name="Helper"><file name="Data.php" hash="4e3a3b1664fa5f01a568520fbe9077f4"/></dir><dir name="Model"><file name="Observer.php" hash="b1e8050ea6126762b9b4152a96f54ce6"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Attributes.php" hash="d4a86eca48669ab204e2712d6179ecd1"/><file name="Cache.php" hash="c3ae9f8f9a91338467450e3320697cb4"/></dir><dir name="Source"><file name="Attribute.php" hash="f0203b551b4d7a0d73b65384b1b0febe"/><file name="Cid.php" hash="0411e4fbc8ecadb39c5b46466074f57f"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c10ee6da116442d8d92a323ef6b8c880"/><file name="config.xml" hash="e4b4eaa1de1472e119fe07a22ecf077c"/><file name="system.xml" hash="0f11b888cb8fd5039cf93d9e93b505d7"/></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Numerno_Visilabs.xml" hash="1a6ac3a5313df928ab1baef32b0ba1b6"/></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="visilabs.xml" hash="a9bfbf9f0796e38fccd846401ca06027"/></dir><dir name="template"><dir name="visilabs"><file name="global.phtml" hash="89c5292c15177296c68f10e7469879f8"/><file name="tagging.phtml" hash="bf689cc8abce131bbaf1cb09513113a1"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="visilabs"><file name="visilabs_logo.png" hash="8710ce7d462e1772c7fefc3804a7786c"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="tr_TR"><file name="Numerno_Visilabs.csv" hash="efa9d20b0edbd6e8dcc4484964eaffd8"/></dir><dir name="en_US"><file name="Numerno_Visilabs.csv" hash="3081b2d2964679759d366cdbecb0a323"/></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.3.0</min><max>6.9.9</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Numerno_Visilabs</name>
4
+ <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://numerno.com/licenses/visilabs-ce.txt">NUMERNO VISILABS MAGENTO EXTENSION</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Tagging Module for Visilabs omni-channel automation platform.</summary>
10
  <description>This extension allows you to easily tag your Magento pages according to Visilabs platform requirements.</description>
11
+ <notes>Version 1.0.4&#xD;
12
  * Minor bug fixes&#xD;
13
  &#xD;
14
+ Build Date: July 01, 2016</notes>
15
  <authors><author><name>Numerno</name><user>muhammedv</user><email>muhammedv@gmail.com</email></author></authors>
16
+ <date>2016-07-01</date>
17
+ <time>12:18:49</time>
18
+ <contents><target name="magelocal"><dir><dir name="Numerno"><dir name="Visilabs"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Abstract.php" hash="4c7af53a079e5a663260be0ff0b1fabf"/><file name="Cart.php" hash="c1b1b0d80370601b550e55e1ca22f6f5"/><file name="Customer.php" hash="0c7bf34b5e8a8d572f83c7c0cd0545f9"/><file name="Order.php" hash="97efbfbb11117e59f6ef6004ff1ea066"/><file name="Product.php" hash="9d966d841aff07bc98cb2438a7795b10"/><dir name="Renderer"><file name="CountOut.php" hash="b1e433796749f88188e0cae2e3db0083"/><file name="CustomerAttributes.php" hash="dfc5b1b6dd9f1093ddb431ee97e2bf10"/><file name="OrderAttributes.php" hash="dfdc51d04d1e2861723e19791ee81b11"/><file name="QuoteAttributes.php" hash="1ca59ce2b0c2dfd3081cabf1e3564e75"/><file name="VisibleProductAttributes.php" hash="ebfafb525facd60d2c39021971f50f88"/></dir></dir></dir></dir></dir></dir><file name="Global.php" hash="3518d7e2b62beef806f8d911f57562de"/><file name="Tagging.php" hash="d473a0f9807ee7515c666945afd5ab3b"/></dir><dir name="Helper"><file name="Data.php" hash="4e3a3b1664fa5f01a568520fbe9077f4"/></dir><dir name="Model"><file name="Observer.php" hash="6f4203a1a89fe1c7cbf4cf6a29ee60da"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Attributes.php" hash="d4a86eca48669ab204e2712d6179ecd1"/><file name="Cache.php" hash="c3ae9f8f9a91338467450e3320697cb4"/></dir><dir name="Source"><file name="Attribute.php" hash="f0203b551b4d7a0d73b65384b1b0febe"/><file name="Cid.php" hash="0411e4fbc8ecadb39c5b46466074f57f"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c10ee6da116442d8d92a323ef6b8c880"/><file name="config.xml" hash="d2db52cbb7d37d8f20da0699c86c51f0"/><file name="system.xml" hash="0f11b888cb8fd5039cf93d9e93b505d7"/></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Numerno_Visilabs.xml" hash="1a6ac3a5313df928ab1baef32b0ba1b6"/></dir></dir></target><target name="magedesign"><dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="visilabs.xml" hash="223d3f3d179ef24d7ed2aac1e19a7e50"/></dir><dir name="template"><dir name="visilabs"><file name="global.phtml" hash="89c5292c15177296c68f10e7469879f8"/><file name="tagging.phtml" hash="bf689cc8abce131bbaf1cb09513113a1"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="visilabs"><file name="visilabs_logo.png" hash="8710ce7d462e1772c7fefc3804a7786c"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="tr_TR"><file name="Numerno_Visilabs.csv" hash="efa9d20b0edbd6e8dcc4484964eaffd8"/></dir><dir name="en_US"><file name="Numerno_Visilabs.csv" hash="3081b2d2964679759d366cdbecb0a323"/></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.3.0</min><max>6.9.9</max></php></required></dependencies>
21
  </package>