Version Notes
Added "entity_id" as prodid param for Remarketing Tag matching the merchant shopping feed.
Download this release
Release Info
| Developer | Adwise Internetmarketing |
| Extension | Adwise_DynamicRemarketing |
| Version | 1.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.0 to 1.0.1
- app/code/community/Adwise/DynamicRemarketing/Block/Script.php +1 -0
- app/code/community/Adwise/DynamicRemarketing/Helper/Data.php +1 -1
- app/code/community/Adwise/DynamicRemarketing/Model/System/Config/Source/Attributes.php +2 -1
- app/code/community/Adwise/DynamicRemarketing/etc/config.xml +1 -1
- app/code/community/Adwise/DynamicRemarketing/etc/system.xml +1 -1
- package.xml +11 -9
app/code/community/Adwise/DynamicRemarketing/Block/Script.php
CHANGED
|
@@ -150,6 +150,7 @@ Class Adwise_DynamicRemarketing_Block_Script extends Mage_Core_Block_Template{
|
|
| 150 |
if($_product && $_product instanceof Mage_Catalog_Model_Product){
|
| 151 |
|
| 152 |
$_params = array();
|
|
|
|
| 153 |
$_params['ecomm_prodid'] = $_product->getData($this->_productAttribute);
|
| 154 |
$_params['ecomm_totalvalue'] = $this->formatPrice($_product->getFinalPrice());
|
| 155 |
|
| 150 |
if($_product && $_product instanceof Mage_Catalog_Model_Product){
|
| 151 |
|
| 152 |
$_params = array();
|
| 153 |
+
|
| 154 |
$_params['ecomm_prodid'] = $_product->getData($this->_productAttribute);
|
| 155 |
$_params['ecomm_totalvalue'] = $this->formatPrice($_product->getFinalPrice());
|
| 156 |
|
app/code/community/Adwise/DynamicRemarketing/Helper/Data.php
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
* @package Adwise_DynamicRemarketing
|
| 8 |
* @author Adwise Internetmarketing <info@adwise.nl>
|
| 9 |
* @copyright Copyright (c) 2013 Adwise Internetmarketing http://www.adwise.nl/
|
| 10 |
-
* @version 1.0.
|
| 11 |
*
|
| 12 |
*/
|
| 13 |
Class Adwise_DynamicRemarketing_Helper_Data extends Mage_Core_Helper_Abstract{
|
| 7 |
* @package Adwise_DynamicRemarketing
|
| 8 |
* @author Adwise Internetmarketing <info@adwise.nl>
|
| 9 |
* @copyright Copyright (c) 2013 Adwise Internetmarketing http://www.adwise.nl/
|
| 10 |
+
* @version 1.0.1
|
| 11 |
*
|
| 12 |
*/
|
| 13 |
Class Adwise_DynamicRemarketing_Helper_Data extends Mage_Core_Helper_Abstract{
|
app/code/community/Adwise/DynamicRemarketing/Model/System/Config/Source/Attributes.php
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
* @package Adwise_DynamicRemarketing
|
| 8 |
* @author Adwise Internetmarketing <info@adwise.nl>
|
| 9 |
* @copyright Copyright (c) 2013 Adwise Internetmarketing http://www.adwise.nl/
|
| 10 |
-
* @version 1.0.
|
| 11 |
*
|
| 12 |
*/
|
| 13 |
Class Adwise_DynamicRemarketing_Model_System_Config_Source_Attributes{
|
|
@@ -29,6 +29,7 @@ Class Adwise_DynamicRemarketing_Model_System_Config_Source_Attributes{
|
|
| 29 |
*/
|
| 30 |
private function initAttributes(){
|
| 31 |
$attributes = array();
|
|
|
|
| 32 |
$collection = Mage::getResourceModel('eav/entity_attribute_collection')->setEntityTypeFilter(Mage::getModel('eav/entity')->setType('catalog_product')->getTypeId());
|
| 33 |
if($collection->getSize()){
|
| 34 |
foreach($collection as $attribute){
|
| 7 |
* @package Adwise_DynamicRemarketing
|
| 8 |
* @author Adwise Internetmarketing <info@adwise.nl>
|
| 9 |
* @copyright Copyright (c) 2013 Adwise Internetmarketing http://www.adwise.nl/
|
| 10 |
+
* @version 1.0.1
|
| 11 |
*
|
| 12 |
*/
|
| 13 |
Class Adwise_DynamicRemarketing_Model_System_Config_Source_Attributes{
|
| 29 |
*/
|
| 30 |
private function initAttributes(){
|
| 31 |
$attributes = array();
|
| 32 |
+
$attributes[] = array('value'=>'entity_id','label'=>'Entity ID');
|
| 33 |
$collection = Mage::getResourceModel('eav/entity_attribute_collection')->setEntityTypeFilter(Mage::getModel('eav/entity')->setType('catalog_product')->getTypeId());
|
| 34 |
if($collection->getSize()){
|
| 35 |
foreach($collection as $attribute){
|
app/code/community/Adwise/DynamicRemarketing/etc/config.xml
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
|
| 4 |
<modules>
|
| 5 |
<Adwise_DynamicRemarketing>
|
| 6 |
-
<version>1.0.
|
| 7 |
</Adwise_DynamicRemarketing>
|
| 8 |
</modules>
|
| 9 |
|
| 3 |
|
| 4 |
<modules>
|
| 5 |
<Adwise_DynamicRemarketing>
|
| 6 |
+
<version>1.0.1</version>
|
| 7 |
</Adwise_DynamicRemarketing>
|
| 8 |
</modules>
|
| 9 |
|
app/code/community/Adwise/DynamicRemarketing/etc/system.xml
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
<![CDATA[
|
| 37 |
<center>
|
| 38 |
<a style="text-decoration:none;font-weight:bold;" href="http://www.adwise.nl/" target="_blank">Adwise Internetmarketing</a>
|
| 39 |
-
<p>Version: 1.0.
|
| 40 |
</center>
|
| 41 |
]]>
|
| 42 |
</comment>
|
| 36 |
<![CDATA[
|
| 37 |
<center>
|
| 38 |
<a style="text-decoration:none;font-weight:bold;" href="http://www.adwise.nl/" target="_blank">Adwise Internetmarketing</a>
|
| 39 |
+
<p>Version: 1.0.1 <strong> - © 2013</strong></p>
|
| 40 |
</center>
|
| 41 |
]]>
|
| 42 |
</comment>
|
package.xml
CHANGED
|
@@ -1,22 +1,24 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Adwise_DynamicRemarketing</name>
|
| 4 |
-
<version>1.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
-
<license uri="http://opensource.org/licenses/GPL-3.0">GPL
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Easily embed the Google Dynamic Remarketing tags by simply enabeling the module in system configuration.</summary>
|
| 10 |
-
<description>
|
|
|
|
|
|
|
| 11 |

|
| 12 |
For more information about Google Dynamic Remarketing, please refer to: http://www.google.com/think/products/dynamic-remarketing-for-retail.html
|
| 13 |

|
| 14 |
Read more information about the Dynamic Remarketing module (in Dutch).</description>
|
| 15 |
-
<notes>
|
| 16 |
-
<authors><author><name>Adwise Internetmarketing</name><user>adwise_im</user><email>
|
| 17 |
-
<date>2013-
|
| 18 |
-
<time>
|
| 19 |
-
<contents><target name="magecommunity"><dir name="Adwise"><dir name="DynamicRemarketing"><dir name="Block"><file name="Script.php" hash="
|
| 20 |
<compatible/>
|
| 21 |
-
<dependencies><required><php><min>5.
|
| 22 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Adwise_DynamicRemarketing</name>
|
| 4 |
+
<version>1.0.1</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
+
<license uri="http://opensource.org/licenses/GPL-3.0">GNU General Public License (GPL)</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>Easily embed the Google Dynamic Remarketing tags by simply enabeling the module in system configuration.</summary>
|
| 10 |
+
<description>Adwise DynamicRemarketing
|
| 11 |
+

|
| 12 |
+
The Adwise DynamicRemarketing module allows shop owners to easily embed the Google Dynamic Remarketing javascript code on their webshop pages by simply enabeling the module in Magento`s system configuration options.
|
| 13 |

|
| 14 |
For more information about Google Dynamic Remarketing, please refer to: http://www.google.com/think/products/dynamic-remarketing-for-retail.html
|
| 15 |

|
| 16 |
Read more information about the Dynamic Remarketing module (in Dutch).</description>
|
| 17 |
+
<notes>Added "entity_id" as prodid param for Remarketing Tag matching the merchant shopping feed.</notes>
|
| 18 |
+
<authors><author><name>Adwise Internetmarketing</name><user>adwise_im</user><email>daniel@adwise.nl</email></author></authors>
|
| 19 |
+
<date>2013-11-07</date>
|
| 20 |
+
<time>08:43:12</time>
|
| 21 |
+
<contents><target name="magecommunity"><dir name="Adwise"><dir name="DynamicRemarketing"><dir name="Block"><file name="Script.php" hash="4b5a4d454c875bbb8f61bc2c536e7780"/></dir><dir name="Helper"><file name="Data.php" hash="edd987cb2f182acaea6fd19fd90d6a93"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Attributes.php" hash="0ef20e78b4d91107c85595229e09355f"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="155d37e06a50763f065c8fc867e4c213"/><file name="config.xml" hash="661e896bd835018877d80f3fe7f93a69"/><file name="system.xml" hash="25955859d6fe07db1c80aa611e9b8e71"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Adwise_DynamicRemarketing.xml" hash="b3492ee65ccf37faefcabb0f2db12018"/></dir></target><target name="magelocale"><dir><dir name="nl_NL"><file name="Adwise_DynamicRemarketing.csv" hash="9cbf9dbdd120fcc114bd08408915b4f9"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="adwise"><dir name="dynamicremarketing"><file name="script.phtml" hash="b1c4a3d742bb8e503e7c9733739751f5"/></dir></dir></dir><dir name="layout"><file name="dynamicremarketing.xml" hash="23c787db8182db01f3a35f8ecc8854d8"/></dir></dir></dir></dir></target></contents>
|
| 22 |
<compatible/>
|
| 23 |
+
<dependencies><required><php><min>5.2.13</min><max>5.3.24</max></php></required></dependencies>
|
| 24 |
</package>
|
