Anaraky_GDRT_1 - Version 1.0.8

Version Notes

Update:
* bug fix: fixed crash of GDRT on the 'cart' and 'purchase success' pages (thanks for Ramya108).

Download this release

Release Info

Developer Vladas Tomkevicius
Extension Anaraky_GDRT_1
Version 1.0.8
Comparing to
See all releases


Code changes from version 1.0.7 to 1.0.8

app/code/community/Anaraky/Gdrt/Block/Script.php CHANGED
@@ -88,7 +88,7 @@ class Anaraky_Gdrt_Block_Script extends Mage_Core_Block_Abstract {
88
  $totalvalue = 0;
89
  foreach ($items as $item)
90
  {
91
- $data[0][] = $this->getEcommProdid($product);
92
  $data[1][] = (int)$item->getQty();
93
  $totalvalue += $inclTax ? $item->getRowTotalInclTax() : $item->getRowTotal();
94
  }
@@ -117,7 +117,7 @@ class Anaraky_Gdrt_Block_Script extends Mage_Core_Block_Abstract {
117
 
118
  foreach ($items as $item)
119
  {
120
- $data[0][] = $this->getEcommProdid($product);
121
  $data[1][] = (int)$item->getQtyToInvoice();
122
  $totalvalue += $inclTax ? $item->getRowTotalInclTax() : $item->getRowTotal();
123
  }
@@ -233,6 +233,7 @@ class Anaraky_Gdrt_Block_Script extends Mage_Core_Block_Abstract {
233
 
234
  if ((int)Mage::getStoreConfig('gdrt/debug/show_info', $this->_storeId) === 1)
235
  {
 
236
  $lk = str_replace(' ', '', Mage::getStoreConfig('dev/restrict/allow_ips', $this->_storeId));
237
  $ips = explode(',', $lk);
238
  if (empty($ips[0]) || in_array(Mage::helper('core/http')->getRemoteAddr(), $ips))
@@ -241,7 +242,7 @@ class Anaraky_Gdrt_Block_Script extends Mage_Core_Block_Abstract {
241
  '<div style="position:fixed; left:0; right:0; bottom:0; padding:5px 0; background:rgba(255, 208, 202, 0.8); border:1px solid #f92104;">' . PHP_EOL .
242
  ' <table style="margin:0 auto;font-size:13px;color:#222;">' .
243
  ' <tr>' .
244
- ' <td rowspan="' . (count($gcParams) + 1) . '" style="vertical-align:middle;padding-right:40px;"><h3 style="margin:0;">Anaraky GDRT debug</h3></td>' .
245
  ' <td style="text-align:right;font-weight:bold;">Model/Controller/Action: &nbsp;</td>' .
246
  ' <td style="text-align:left;"> ' . $this->getData('pagePath') . '</td>' .
247
  ' </tr>' .
88
  $totalvalue = 0;
89
  foreach ($items as $item)
90
  {
91
+ $data[0][] = $this->getEcommProdid($item);
92
  $data[1][] = (int)$item->getQty();
93
  $totalvalue += $inclTax ? $item->getRowTotalInclTax() : $item->getRowTotal();
94
  }
117
 
118
  foreach ($items as $item)
119
  {
120
+ $data[0][] = $this->getEcommProdid($item);
121
  $data[1][] = (int)$item->getQtyToInvoice();
122
  $totalvalue += $inclTax ? $item->getRowTotalInclTax() : $item->getRowTotal();
123
  }
233
 
234
  if ((int)Mage::getStoreConfig('gdrt/debug/show_info', $this->_storeId) === 1)
235
  {
236
+ $version = (string)Mage::getConfig()->getNode()->modules->Anaraky_Gdrt->version;
237
  $lk = str_replace(' ', '', Mage::getStoreConfig('dev/restrict/allow_ips', $this->_storeId));
238
  $ips = explode(',', $lk);
239
  if (empty($ips[0]) || in_array(Mage::helper('core/http')->getRemoteAddr(), $ips))
242
  '<div style="position:fixed; left:0; right:0; bottom:0; padding:5px 0; background:rgba(255, 208, 202, 0.8); border:1px solid #f92104;">' . PHP_EOL .
243
  ' <table style="margin:0 auto;font-size:13px;color:#222;">' .
244
  ' <tr>' .
245
+ ' <td rowspan="' . (count($gcParams) + 1) . '" style="vertical-align:middle;padding-right:40px;"><h3 style="margin:0;">Anaraky GDRT debug v.' . $version . '</h3></td>' .
246
  ' <td style="text-align:right;font-weight:bold;">Model/Controller/Action: &nbsp;</td>' .
247
  ' <td style="text-align:left;"> ' . $this->getData('pagePath') . '</td>' .
248
  ' </tr>' .
app/code/community/Anaraky/Gdrt/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Anaraky_Gdrt>
5
- <version>1.0.7</version>
6
  </Anaraky_Gdrt>
7
  </modules>
8
 
2
  <config>
3
  <modules>
4
  <Anaraky_Gdrt>
5
+ <version>1.0.8</version>
6
  </Anaraky_Gdrt>
7
  </modules>
8
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Anaraky_GDRT_1</name>
4
- <version>1.0.7</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl.html">GNU General Public License</license>
7
  <channel>community</channel>
@@ -9,11 +9,11 @@
9
  <summary>Google Dynamic Remarketing Tag extension for Magento</summary>
10
  <description>With this extension is simply and easy to integrate the Google Dynamic Remarketing Tag into Magento.</description>
11
  <notes>Update:&#xD;
12
- * added the ability to set prefix and ending for 'ecomm_prodid' (for all type products or only for configurable and grouped products).</notes>
13
  <authors><author><name>Vladas Tomkevicius</name><user>Neodan</user><email>neodann@gmail.com</email></author></authors>
14
- <date>2013-12-11</date>
15
- <time>21:51:09</time>
16
- <contents><target name="magecommunity"><dir name="Anaraky"><dir name="Gdrt"><dir name="Block"><file name="Script.php" hash="8757990ccb0c9a70fa3e593dc8f158ff"/></dir><dir name="Helper"><file name="Data.php" hash="64bf0f7fd706e48775562dd65f84ea7d"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Source"><file name="Useasid.php" hash="d0f1371d883f6dd3af422e907770ee87"/></dir></dir></dir></dir><file name="Observer.php" hash="4182860b2afe88fc3f5f83dbef6adc0f"/></dir><dir name="etc"><file name="adminhtml.xml" hash="03a29217c242534e2f13fe79e5fb43c7"/><file name="config.xml" hash="108549fa5a7e6c3e22b464b53f462ac9"/><file name="system.xml" hash="768148be874bac918b79122660a4c752"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Anaraky_Gdrt.xml" hash="43fa98d76721559c9ca20636dcb6af61"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Anaraky_GDRT_1</name>
4
+ <version>1.0.8</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl.html">GNU General Public License</license>
7
  <channel>community</channel>
9
  <summary>Google Dynamic Remarketing Tag extension for Magento</summary>
10
  <description>With this extension is simply and easy to integrate the Google Dynamic Remarketing Tag into Magento.</description>
11
  <notes>Update:&#xD;
12
+ * bug fix: fixed crash of GDRT on the 'cart' and 'purchase success' pages (thanks for Ramya108).</notes>
13
  <authors><author><name>Vladas Tomkevicius</name><user>Neodan</user><email>neodann@gmail.com</email></author></authors>
14
+ <date>2013-12-25</date>
15
+ <time>12:18:13</time>
16
+ <contents><target name="magecommunity"><dir name="Anaraky"><dir name="Gdrt"><dir name="Block"><file name="Script.php" hash="70ebf3c199ea4aca141a5b05d4bff252"/></dir><dir name="Helper"><file name="Data.php" hash="64bf0f7fd706e48775562dd65f84ea7d"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Source"><file name="Useasid.php" hash="d0f1371d883f6dd3af422e907770ee87"/></dir></dir></dir></dir><file name="Observer.php" hash="4182860b2afe88fc3f5f83dbef6adc0f"/></dir><dir name="etc"><file name="adminhtml.xml" hash="03a29217c242534e2f13fe79e5fb43c7"/><file name="config.xml" hash="16ac7eb080ba1d7ea799c5959b552e9b"/><file name="system.xml" hash="768148be874bac918b79122660a4c752"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Anaraky_Gdrt.xml" hash="43fa98d76721559c9ca20636dcb6af61"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>