Tatvic_Google_Analytics_Enhanced_Ecommerce - Version 2.0.9

Version Notes

Integration between Enhanced Ecommerce Feature of Universal Analytics and Magento

Download this release

Release Info

Developer Khushboo
Extension Tatvic_Google_Analytics_Enhanced_Ecommerce
Version 2.0.9
Comparing to
See all releases


Code changes from version 2.0.8 to 2.0.9

app/code/community/Tatvic/Uaee/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Tatvic_Uaee>
5
- <version>2.0.8</version>
6
  </Tatvic_Uaee>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Tatvic_Uaee>
5
+ <version>2.0.9</version>
6
  </Tatvic_Uaee>
7
  </modules>
8
  <global>
app/design/frontend/base/default/template/tatvic/uaee/uaee.phtml CHANGED
@@ -378,7 +378,7 @@ $collection->addAttributeToSelect("*")
378
  if (isset($_COOKIE['tvc_metadata'])) {
379
 
380
  $tvc_metadata = array(
381
- 'plugin_version' => '2.0.8',
382
  'current_pkg' => Mage::getDesign()->getPackageName(),
383
  'current_theme' => Mage::getDesign()->getTheme('frontend'),
384
  'Plugin_data' => array('checkout_url' => Mage::getStoreConfig('tatvic_uaee/ecommerce/checkout_url'),
@@ -547,7 +547,7 @@ $collection->addAttributeToSelect("*")
547
 
548
  $data[$i]['id'] = $item->getProductId();
549
 
550
- $data[$i]['qty'] = $item->getQtyToInvoice();
551
 
552
  $data[$i]['brand'] = $item->getProduct()->$getProductBrand();
553
  ?>
@@ -571,14 +571,14 @@ $collection->addAttributeToSelect("*")
571
 
572
  //exec_tvc_t_thnx = true;
573
 
574
- for (item in orderObject) {
575
  ga('ec:addProduct', {
576
- 'id': orderObject[item]['sku'],
577
- 'name': orderObject[item]['Name'],
578
- 'category': orderObject[item]['categories'],
579
- 'brand': orderObject[item]['brand'],
580
- 'price': orderObject[item]['Price'],
581
- 'quantity': orderObject[item]['qty']
582
  });
583
  }
584
 
378
  if (isset($_COOKIE['tvc_metadata'])) {
379
 
380
  $tvc_metadata = array(
381
+ 'plugin_version' => '2.0.9',
382
  'current_pkg' => Mage::getDesign()->getPackageName(),
383
  'current_theme' => Mage::getDesign()->getTheme('frontend'),
384
  'Plugin_data' => array('checkout_url' => Mage::getStoreConfig('tatvic_uaee/ecommerce/checkout_url'),
547
 
548
  $data[$i]['id'] = $item->getProductId();
549
 
550
+ $data[$i]['qty1'] = $item->getQtyToInvoice();
551
 
552
  $data[$i]['brand'] = $item->getProduct()->$getProductBrand();
553
  ?>
571
 
572
  //exec_tvc_t_thnx = true;
573
 
574
+ for (tvc_item in orderObject) {
575
  ga('ec:addProduct', {
576
+ 'id': orderObject[tvc_item]['sku'],
577
+ 'name': orderObject[tvc_item]['Name'],
578
+ 'category': orderObject[tvc_item]['categories'],
579
+ 'brand': orderObject[tvc_item]['brand'],
580
+ 'price': orderObject[tvc_item]['Price'],
581
+ 'quantity': orderObject[tvc_item]['qty1']
582
  });
583
  }
584
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tatvic_Google_Analytics_Enhanced_Ecommerce</name>
4
- <version>2.0.8</version>
5
  <stability>stable</stability>
6
  <license>Tatvic</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Integration between Enhanced Ecommerce Feature of Universal Analytics and Magento</description>
11
  <notes>Integration between Enhanced Ecommerce Feature of Universal Analytics and Magento</notes>
12
  <authors><author><name>Khushboo Joshi</name><user>kj_tatvic</user><email>khushboo@tatvic.com</email></author></authors>
13
- <date>2017-04-21</date>
14
- <time>09:55:51</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Tatvic_Uaee.xml" hash="cd9f7e6a80b3e83efe0f190cd3f4f997"/></dir></target><target name="magecommunity"><dir name="Tatvic"><dir name="Uaee"><dir name="Block"><file name="Uaee.php" hash="63cc48642c9352dd3e1e91d49c45e4cd"/></dir><dir name="Helper"><file name="Data.php" hash="439f09975392babfd79df03e516a5045"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Addto.php" hash="7cb95dcf8f2d0a923d344a3bca967ef6"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="5ec649e66e0b266ecf090270663e15cb"/><file name="system.xml" hash="e1042977c59c835243e1e017294acdf7"/></dir><dir name="sql"><dir name="tatvic_uaee_setup"><file name="mysql4-install-1.0.0.php" hash="6267ac5101cea1efa4dfeee26ae83a03"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tatvic"><dir name="uaee"><file name="uaee.phtml" hash="8b967cad3dd71e3ed506bbbf994dc733"/></dir></dir></dir><dir name="layout"><file name="tatvic_uaee.xml" hash="cd5ab16cf828ecfdb395bb9e4768b177"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>7.0.1</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Tatvic_Google_Analytics_Enhanced_Ecommerce</name>
4
+ <version>2.0.9</version>
5
  <stability>stable</stability>
6
  <license>Tatvic</license>
7
  <channel>community</channel>
10
  <description>Integration between Enhanced Ecommerce Feature of Universal Analytics and Magento</description>
11
  <notes>Integration between Enhanced Ecommerce Feature of Universal Analytics and Magento</notes>
12
  <authors><author><name>Khushboo Joshi</name><user>kj_tatvic</user><email>khushboo@tatvic.com</email></author></authors>
13
+ <date>2017-06-12</date>
14
+ <time>11:00:26</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Tatvic_Uaee.xml" hash="cd9f7e6a80b3e83efe0f190cd3f4f997"/></dir></target><target name="magecommunity"><dir name="Tatvic"><dir name="Uaee"><dir name="Block"><file name="Uaee.php" hash="63cc48642c9352dd3e1e91d49c45e4cd"/></dir><dir name="Helper"><file name="Data.php" hash="439f09975392babfd79df03e516a5045"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Addto.php" hash="7cb95dcf8f2d0a923d344a3bca967ef6"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="5b56d0a41deac93448d32b60a5701fcf"/><file name="system.xml" hash="e1042977c59c835243e1e017294acdf7"/></dir><dir name="sql"><dir name="tatvic_uaee_setup"><file name="mysql4-install-1.0.0.php" hash="6267ac5101cea1efa4dfeee26ae83a03"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tatvic"><dir name="uaee"><file name="uaee.phtml" hash="ae51017411fd0579988f40e77eb462ed"/></dir></dir></dir><dir name="layout"><file name="tatvic_uaee.xml" hash="cd5ab16cf828ecfdb395bb9e4768b177"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>7.0.1</max></php></required></dependencies>
18
  </package>