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.10 |
Comparing to | |
See all releases |
Code changes from version 2.0.9 to 2.0.10
- app/code/community/Tatvic/Uaee/Block/Adminhtml/Notifications.php +13 -0
- app/code/community/Tatvic/Uaee/etc/config.xml +8 -1
- app/design/adminhtml/default/default/layout/tatvic/uaee.xml +8 -0
- app/design/adminhtml/default/default/template/tatvic/uaee/notifications.phtml +3 -0
- app/design/frontend/base/default/template/tatvic/uaee/uaee.phtml +1 -1
- package.xml +7 -7
app/code/community/Tatvic/Uaee/Block/Adminhtml/Notifications.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class Tatvic_Uaee_Block_Adminhtml_Notifications extends Mage_Adminhtml_Block_Template
|
3 |
+
{
|
4 |
+
public function tvc_getMessage()
|
5 |
+
{
|
6 |
+
/*
|
7 |
+
* Here you have check if there's a message to be displayed or not
|
8 |
+
*/
|
9 |
+
$message = ' Google Tag Manager support for Google Analytics Enhanced Ecommerce module by Tatvic is going to get deprecated; the sunset date is 17th July, 2017!!';
|
10 |
+
return $message;
|
11 |
+
}
|
12 |
+
}
|
13 |
+
?>
|
app/code/community/Tatvic/Uaee/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Tatvic_Uaee>
|
5 |
-
<version>2.0.
|
6 |
</Tatvic_Uaee>
|
7 |
</modules>
|
8 |
<global>
|
@@ -63,6 +63,13 @@
|
|
63 |
</admin>
|
64 |
</resources>
|
65 |
</acl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
</adminhtml>
|
67 |
|
68 |
</config>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Tatvic_Uaee>
|
5 |
+
<version>2.0.10</version>
|
6 |
</Tatvic_Uaee>
|
7 |
</modules>
|
8 |
<global>
|
63 |
</admin>
|
64 |
</resources>
|
65 |
</acl>
|
66 |
+
<layout>
|
67 |
+
<updates>
|
68 |
+
<index>
|
69 |
+
<file>tatvic/uaee.xml</file>
|
70 |
+
</index>
|
71 |
+
</updates>
|
72 |
+
</layout>
|
73 |
</adminhtml>
|
74 |
|
75 |
</config>
|
app/design/adminhtml/default/default/layout/tatvic/uaee.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<layout>
|
3 |
+
<default>
|
4 |
+
<reference name="notifications">
|
5 |
+
<block type="tatvic_uaee/adminhtml_notifications" name="tatvic_google_universial_analytics_notifications" template="tatvic/uaee/notifications.phtml"/>
|
6 |
+
</reference>
|
7 |
+
</default>
|
8 |
+
</layout>
|
app/design/adminhtml/default/default/template/tatvic/uaee/notifications.phtml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php if ($message = $this->tvc_getMessage()) : ?>
|
2 |
+
<div class="notification-global"><strong class="label">Quick Update:</strong><?php echo $message ." For any queries or concerns, reach out to us <a href='https://goo.gl/kgepbp'><strong>here</strong></a>. " ?></div>
|
3 |
+
<?php endif; ?>
|
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.
|
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'),
|
378 |
if (isset($_COOKIE['tvc_metadata'])) {
|
379 |
|
380 |
$tvc_metadata = array(
|
381 |
+
'plugin_version' => '2.0.10',
|
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'),
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Tatvic_Google_Analytics_Enhanced_Ecommerce</name>
|
4 |
-
<version>2.0.
|
5 |
<stability>stable</stability>
|
6 |
-
<license>Tatvic</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>
|
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
|
13 |
-
<date>2017-
|
14 |
-
<time>
|
15 |
-
<contents><target name="
|
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.10</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license uri="www.tatvic.com">Tatvic</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Quick & Urgent Module Update notice</summary>
|
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</name><user>kj_tatvic</user><email>khushboo@tatvic.com</email></author></authors>
|
13 |
+
<date>2017-07-10</date>
|
14 |
+
<time>13:52:36</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Tatvic"><dir name="Uaee"><dir name="Block"><dir name="Adminhtml"><file name="Notifications.php" hash="8ddaae26aad49d6f6cd60e53840cb3b9"/></dir><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="ce31c67050420f532f5b0627d95aca8a"/><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="mageetc"><dir name="modules"><file name="Tatvic_Uaee.xml" hash="cd9f7e6a80b3e83efe0f190cd3f4f997"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="tatvic_uaee.xml" hash="cd5ab16cf828ecfdb395bb9e4768b177"/></dir><dir name="template"><dir name="tatvic"><dir name="uaee"><file name="uaee.phtml" hash="ac097cb0e40334812ea190427be6af10"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="tatvic"><file name="uaee.xml" hash="0d6bfe2c64f1a4cb93b76412729b0b55"/></dir></dir><dir name="template"><dir name="tatvic"><dir name="uaee"><file name="notifications.phtml" hash="a2da4273c4146d360ca9a6f3a99a0a0a"/></dir></dir></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>
|