yireo_googletagmanager - Version 1.1.1

Version Notes

No notes

Download this release

Release Info

Developer Yireo
Extension yireo_googletagmanager
Version 1.1.1
Comparing to
See all releases


Code changes from version 1.1.0 to 1.1.1

app/code/community/Yireo/GoogleTagManager/etc/config.xml CHANGED
@@ -12,7 +12,7 @@
12
  <config>
13
  <modules>
14
  <Yireo_GoogleTagManager>
15
- <version>1.1.0</version>
16
  </Yireo_GoogleTagManager>
17
  </modules>
18
 
12
  <config>
13
  <modules>
14
  <Yireo_GoogleTagManager>
15
+ <version>1.1.1</version>
16
  </Yireo_GoogleTagManager>
17
  </modules>
18
 
app/design/frontend/base/default/template/googletagmanager/order.phtml CHANGED
@@ -11,7 +11,7 @@
11
  <?php if($this->isEnabled()) : ?>
12
  <script>
13
  <?php $order = $this->getOrder(); ?>
14
- <?php if($order->getId() > 0) : ?>
15
  dataLayer = [{
16
  'transactionId': '<?php echo $order->getIncrementId(); ?>',
17
  'transactionAffiliation': '<?php echo Mage::app()->getWebsite()->getName(); ?>',
11
  <?php if($this->isEnabled()) : ?>
12
  <script>
13
  <?php $order = $this->getOrder(); ?>
14
+ <?php if(!empty($order) && $order->getId() > 0) : ?>
15
  dataLayer = [{
16
  'transactionId': '<?php echo $order->getIncrementId(); ?>',
17
  'transactionAffiliation': '<?php echo Mage::app()->getWebsite()->getName(); ?>',
app/design/frontend/base/default/template/googletagmanager/quote.phtml CHANGED
@@ -11,7 +11,7 @@
11
  <?php if($this->isEnabled()) : ?>
12
  <script>
13
  <?php $quote = $this->getQuote(); ?>
14
- <?php if($quote->getId() > 0) : ?>
15
  dataLayer = [{
16
  'transactionId': '<?php echo $quote->getId(); ?>',
17
  'transactionAffiliation': '<?php echo Mage::app()->getWebsite()->getName(); ?>',
11
  <?php if($this->isEnabled()) : ?>
12
  <script>
13
  <?php $quote = $this->getQuote(); ?>
14
+ <?php if(!empty($quote) && $quote->getId() > 0) : ?>
15
  dataLayer = [{
16
  'transactionId': '<?php echo $quote->getId(); ?>',
17
  'transactionAffiliation': '<?php echo Mage::app()->getWebsite()->getName(); ?>',
package.xml CHANGED
@@ -1,2 +1,2 @@
1
  <?xml version="1.0"?>
2
- <package><name>yireo_googletagmanager</name><version>1.1.0</version><stability>stable</stability><license>Open Source License</license><channel>community</channel><extends></extends><summary>No summary</summary><description>No description</description><notes>No notes</notes><authors><author><name>Yireo</name><user>yireo</user><email>info@yireo.com</email></author></authors><date>2014-01-16</date><time>10:28:13</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Yireo_GoogleTagManager.xml" hash="90f31b076dbc2f5c293c1b61147743ab"/></dir></dir><dir name="code"><dir name="community"><dir name="Yireo"><dir name="GoogleTagManager"><dir name="Block"><file name="Default.php" hash="e714367b7520c63c483f9f2a01ec54e6"/><file name="Order.php" hash="fe2b3e92572278c60b4123c05bd1ddb5"/><file name="Quote.php" hash="32d1071a8d3696a755cb9c2e6d20ed9e"/></dir><dir name="etc"><file name="config.xml" hash="c87c6ae7deef1994488ba967c00d587f"/><file name="system.xml" hash="fc7295c6a7f44f3e4e7336ac5b8ee446"/></dir><dir name="Helper"><file name="Data.php" hash="3f4f9548d7235daffb0d8fa2c7eff71b"/></dir><dir name="Model"><file name="Observer.php" hash="e382a808ed44288f41964145ee683ea1"/></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="googletagmanager"><file name="default.phtml" hash="ae2ad18abddfd2537e6dcb812d29ce80"/><file name="order.phtml" hash="30ff5b339df44eb1940399afaada118e"/><file name="quote.phtml" hash="2d6aa496ee5ed68135a0e8f9d86b95ce"/></dir></dir><dir name="layout"><file name="googletagmanager.xml" hash="074c43895018fb372b6fda747066aa32"/></dir></dir></dir></dir></dir></dir></target></contents></package>
1
  <?xml version="1.0"?>
2
+ <package><name>yireo_googletagmanager</name><version>1.1.1</version><stability>stable</stability><license>Open Source License</license><channel>community</channel><extends></extends><summary>No summary</summary><description>No description</description><notes>No notes</notes><authors><author><name>Yireo</name><user>yireo</user><email>info@yireo.com</email></author></authors><date>2014-02-20</date><time>23:16:38</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Yireo_GoogleTagManager.xml" hash="90f31b076dbc2f5c293c1b61147743ab"/></dir></dir><dir name="code"><dir name="community"><dir name="Yireo"><dir name="GoogleTagManager"><dir name="Block"><file name="Default.php" hash="e714367b7520c63c483f9f2a01ec54e6"/><file name="Order.php" hash="fe2b3e92572278c60b4123c05bd1ddb5"/><file name="Quote.php" hash="32d1071a8d3696a755cb9c2e6d20ed9e"/></dir><dir name="etc"><file name="config.xml" hash="eb98dd1a387e1e0d96a529b7c4dd4a7a"/><file name="system.xml" hash="fc7295c6a7f44f3e4e7336ac5b8ee446"/></dir><dir name="Helper"><file name="Data.php" hash="3f4f9548d7235daffb0d8fa2c7eff71b"/></dir><dir name="Model"><file name="Observer.php" hash="e382a808ed44288f41964145ee683ea1"/></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="googletagmanager"><file name="default.phtml" hash="ae2ad18abddfd2537e6dcb812d29ce80"/><file name="order.phtml" hash="2abb3ccb8472991f921884b4ac3b8532"/><file name="quote.phtml" hash="acbb63704263f71b0a73cbef89cfa4d8"/></dir></dir><dir name="layout"><file name="googletagmanager.xml" hash="074c43895018fb372b6fda747066aa32"/></dir></dir></dir></dir></dir></dir></target></contents></package>