Version Notes
API Keys Labels Changed
Download this release
Release Info
Developer | Retargeting Team |
Extension | Retargeting_Tracker |
Version | 1.2.8 |
Comparing to | |
See all releases |
Code changes from version 1.2.7 to 1.2.8
app/code/community/Retargeting/Tracker/etc/config.xml
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
<config>
|
12 |
<modules>
|
13 |
<Retargeting_Tracker>
|
14 |
-
<version>1.2.
|
15 |
</Retargeting_Tracker>
|
16 |
</modules>
|
17 |
<global>
|
11 |
<config>
|
12 |
<modules>
|
13 |
<Retargeting_Tracker>
|
14 |
+
<version>1.2.8</version>
|
15 |
</Retargeting_Tracker>
|
16 |
</modules>
|
17 |
<global>
|
app/code/community/Retargeting/Tracker/etc/system.xml
CHANGED
@@ -26,7 +26,7 @@
|
|
26 |
<show_in_store>1</show_in_store>
|
27 |
<groups>
|
28 |
<domain translate="label">
|
29 |
-
<label>
|
30 |
<frontend_type>text</frontend_type>
|
31 |
<sort_order>1</sort_order>
|
32 |
<show_in_default>1</show_in_default>
|
@@ -34,18 +34,18 @@
|
|
34 |
<show_in_store>1</show_in_store>
|
35 |
<fields>
|
36 |
<domain_api_key>
|
37 |
-
<label>
|
38 |
<frontend_type>text</frontend_type>
|
39 |
<sort_order>1</sort_order>
|
40 |
<show_in_default>1</show_in_default>
|
41 |
<show_in_website>1</show_in_website>
|
42 |
<show_in_store>1</show_in_store>
|
43 |
-
<comment><![CDATA[<a href="https://retargeting.biz/admin?action=api_redirect&token=5ac66ac466f3e1ec5e6fe5a040356997">Click here</a> to get your
|
44 |
</domain_api_key>
|
45 |
</fields>
|
46 |
</domain>
|
47 |
<token translate="label">
|
48 |
-
<label>
|
49 |
<frontend_type>text</frontend_type>
|
50 |
<sort_order>1</sort_order>
|
51 |
<show_in_default>1</show_in_default>
|
@@ -53,13 +53,13 @@
|
|
53 |
<show_in_store>1</show_in_store>
|
54 |
<fields>
|
55 |
<token>
|
56 |
-
<label>
|
57 |
<frontend_type>text</frontend_type>
|
58 |
<sort_order>1</sort_order>
|
59 |
<show_in_default>1</show_in_default>
|
60 |
<show_in_website>1</show_in_website>
|
61 |
<show_in_store>1</show_in_store>
|
62 |
-
<comment><![CDATA[<a href="https://retargeting.biz/admin?action=api_redirect&token=
|
63 |
</token>
|
64 |
</fields>
|
65 |
</token>
|
26 |
<show_in_store>1</show_in_store>
|
27 |
<groups>
|
28 |
<domain translate="label">
|
29 |
+
<label>Tracking API Key</label>
|
30 |
<frontend_type>text</frontend_type>
|
31 |
<sort_order>1</sort_order>
|
32 |
<show_in_default>1</show_in_default>
|
34 |
<show_in_store>1</show_in_store>
|
35 |
<fields>
|
36 |
<domain_api_key>
|
37 |
+
<label>Tracking API Key</label>
|
38 |
<frontend_type>text</frontend_type>
|
39 |
<sort_order>1</sort_order>
|
40 |
<show_in_default>1</show_in_default>
|
41 |
<show_in_website>1</show_in_website>
|
42 |
<show_in_store>1</show_in_store>
|
43 |
+
<comment><![CDATA[<a href="https://retargeting.biz/admin?action=api_redirect&token=5ac66ac466f3e1ec5e6fe5a040356997">Click here</a> to get your Tracking API Key]]></comment>
|
44 |
</domain_api_key>
|
45 |
</fields>
|
46 |
</domain>
|
47 |
<token translate="label">
|
48 |
+
<label>REST API Key</label>
|
49 |
<frontend_type>text</frontend_type>
|
50 |
<sort_order>1</sort_order>
|
51 |
<show_in_default>1</show_in_default>
|
53 |
<show_in_store>1</show_in_store>
|
54 |
<fields>
|
55 |
<token>
|
56 |
+
<label>REST API Key</label>
|
57 |
<frontend_type>text</frontend_type>
|
58 |
<sort_order>1</sort_order>
|
59 |
<show_in_default>1</show_in_default>
|
60 |
<show_in_website>1</show_in_website>
|
61 |
<show_in_store>1</show_in_store>
|
62 |
+
<comment><![CDATA[<a href="https://retargeting.biz/admin?action=api_redirect&token=5ac66ac466f3e1ec5e6fe5a040356997">Click here</a> to get your REST API Key]]></comment>
|
63 |
</token>
|
64 |
</fields>
|
65 |
</token>
|
app/design/frontend/base/default/template/retargeting_tracker/triggers.phtml
CHANGED
@@ -243,37 +243,16 @@
|
|
243 |
?>
|
244 |
|
245 |
var _ra = _ra || {};
|
246 |
-
_ra.
|
247 |
-
"
|
248 |
-
"
|
249 |
-
"
|
250 |
-
"img": "<?php echo htmlspecialchars(Mage::helper('catalog/image')->init($_product, 'image')->resize(500)); ?>",
|
251 |
-
"price": <?php echo Mage::helper('tax')->getPrice($_product, $_product->getPrice()); ?>,
|
252 |
-
"promo": <?php echo(Mage::helper('tax')->getPrice($_product, $_product->getPrice()) - Mage::helper('tax')->getPrice($_product, $_product->getFinalPrice()) > 0 ? Mage::helper('tax')->getPrice($_product, $_product->getFinalPrice()) : 0); ?>,
|
253 |
-
"inventory": {
|
254 |
-
"variations": false,
|
255 |
-
"stock": <?php echo $_product->getIsInStock() ?>
|
256 |
-
},
|
257 |
-
"brand": false,
|
258 |
-
"category": <?php echo $_category; ?>,
|
259 |
-
"callback_function": function () {
|
260 |
-
_ra.addToCartInfo = {
|
261 |
-
"product_id": "<?php echo $info['product_id']; ?>",
|
262 |
-
"quantity": <?php echo $_product->getIsInStock() ?>,
|
263 |
-
"variation": <?php echo $info['variation']; ?>
|
264 |
-
};
|
265 |
-
if (typeof _ra.addToCart !== "undefined") {
|
266 |
-
_ra.addToCart(_ra.addToCartInfo.product_id, _ra.addToCartInfo.quantity, _ra.addToCartInfo.variation);
|
267 |
-
}
|
268 |
-
}
|
269 |
};
|
270 |
-
|
271 |
-
|
272 |
-
if (typeof _ra.sendProduct !== "undefined") {
|
273 |
-
_ra.sendProduct(_ra.sendProductInfo);
|
274 |
-
}
|
275 |
}
|
276 |
|
|
|
277 |
<?php else : ?>
|
278 |
|
279 |
var _ra = _ra || {};
|
@@ -732,33 +711,11 @@
|
|
732 |
?>
|
733 |
|
734 |
var _ra = _ra || {};
|
735 |
-
_ra.
|
736 |
-
"
|
737 |
-
"name": "<?php echo htmlspecialchars($_product->getName()); ?>",
|
738 |
-
"url": "<?php echo htmlspecialchars(strtok($_productUrl, '?')); ?>",
|
739 |
-
"img": "<?php echo htmlspecialchars(Mage::helper('catalog/image')->init($_product, 'image')->resize(500)); ?>",
|
740 |
-
"price": <?php echo Mage::helper('tax')->getPrice($_product, $_product->getPrice()); ?>,
|
741 |
-
"promo": <?php echo(Mage::helper('tax')->getPrice($_product, $_product->getPrice()) - Mage::helper('tax')->getPrice($_product, $_product->getFinalPrice()) > 0 ? Mage::helper('tax')->getPrice($_product, $_product->getFinalPrice()) : 0); ?>,
|
742 |
-
"inventory": {
|
743 |
-
"variations": false,
|
744 |
-
"stock": <?php echo $_product->getIsInStock() ?>
|
745 |
-
},
|
746 |
-
"brand": false,
|
747 |
-
"category": <?php echo $_category; ?>,
|
748 |
-
"callback_function": function () {
|
749 |
-
_ra.addToWishlistInfo = {
|
750 |
-
"product_id": "<?php echo $info['product_id']; ?>"
|
751 |
-
};
|
752 |
-
if (typeof _ra.addToWishlist !== "undefined") {
|
753 |
-
_ra.addToWishlist(_ra.addToWishlistInfo.product_id);
|
754 |
-
}
|
755 |
-
}
|
756 |
};
|
757 |
-
|
758 |
-
|
759 |
-
if (typeof _ra.sendProduct !== "undefined") {
|
760 |
-
_ra.sendProduct(_ra.sendProductInfo);
|
761 |
-
}
|
762 |
}
|
763 |
|
764 |
<?php else : ?>
|
243 |
?>
|
244 |
|
245 |
var _ra = _ra || {};
|
246 |
+
_ra.addToCartInfo = {
|
247 |
+
"product_id": "<?php echo $info['product_id']; ?>",
|
248 |
+
"quantity": <?php echo $_product->getIsInStock() ?>,
|
249 |
+
"variation": <?php echo $info['variation']; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
};
|
251 |
+
if (typeof _ra.addToCart !== "undefined") {
|
252 |
+
_ra.addToCart(_ra.addToCartInfo.product_id, _ra.addToCartInfo.quantity, _ra.addToCartInfo.variation);
|
|
|
|
|
|
|
253 |
}
|
254 |
|
255 |
+
|
256 |
<?php else : ?>
|
257 |
|
258 |
var _ra = _ra || {};
|
711 |
?>
|
712 |
|
713 |
var _ra = _ra || {};
|
714 |
+
_ra.addToWishlistInfo = {
|
715 |
+
"product_id": "<?php echo $info['product_id']; ?>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
716 |
};
|
717 |
+
if (typeof _ra.addToWishlist !== "undefined") {
|
718 |
+
_ra.addToWishlist(_ra.addToWishlistInfo.product_id);
|
|
|
|
|
|
|
719 |
}
|
720 |
|
721 |
<?php else : ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Retargeting_Tracker</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -27,11 +27,11 @@
|
|
27 |
<p>You can test as many different versions as you want and you only need one click to add a new one.Did we tell you that you can do this for any trigger, e-mail or live? The perfect<a href="http://en.wikipedia.org/wiki/Marketing_automation" title="marketing automation">marketing automation</a>tool for your online shop!</p>
|
28 |
<p><strong>Contact</strong></p>
|
29 |
<p>For help or more info, please contact info@retargeting.biz or visit<a href="http://retargeting.biz">retargeting.biz</a>.</p></description>
|
30 |
-
<notes>
|
31 |
<authors><author><name>Retargeting Team</name><user>retargeting</user><email>info@retargeting.biz</email></author></authors>
|
32 |
-
<date>2016-08-
|
33 |
-
<time>
|
34 |
-
<contents><target name="magecommunity"><dir name="Retargeting"><dir name="Tracker"><dir name="Block"><file name="Embed.php" hash="d114429b378b186d144f75b725bd36c4"/><file name="Triggers.php" hash="fd2f2fad2041280b0d0572ea0e2220de"/></dir><dir name="Helper"><file name="Data.php" hash="6b547d3d67003b8bef48fd4eb8efe23f"/></dir><dir name="Model"><file name="Helppages.php" hash="51305978cda160ad7b3aa8bb8e42d3a5"/><file name="Observer.php" hash="2a5e9ec6f943e93c6db0b1571b27e5b2"/></dir><dir name="controllers"><file name="DiscountsController.php" hash="f1ec0bbd235fcf50551ca5206dfb50e5"/><file name="IndexController.php" hash="9cbd5b979859b2014c5ed191d9b5686a"/><file name="ProductsController.php" hash="f2f556aee8c80f3a77a884792520102a"/></dir><dir name="etc"><file name="config.xml" hash="
|
35 |
<compatible/>
|
36 |
-
<dependencies><required><php><min>5.
|
37 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Retargeting_Tracker</name>
|
4 |
+
<version>1.2.8</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
27 |
<p>You can test as many different versions as you want and you only need one click to add a new one.Did we tell you that you can do this for any trigger, e-mail or live? The perfect<a href="http://en.wikipedia.org/wiki/Marketing_automation" title="marketing automation">marketing automation</a>tool for your online shop!</p>
|
28 |
<p><strong>Contact</strong></p>
|
29 |
<p>For help or more info, please contact info@retargeting.biz or visit<a href="http://retargeting.biz">retargeting.biz</a>.</p></description>
|
30 |
+
<notes>API Keys Labels Changed</notes>
|
31 |
<authors><author><name>Retargeting Team</name><user>retargeting</user><email>info@retargeting.biz</email></author></authors>
|
32 |
+
<date>2016-08-26</date>
|
33 |
+
<time>11:05:52</time>
|
34 |
+
<contents><target name="magecommunity"><dir name="Retargeting"><dir name="Tracker"><dir name="Block"><file name="Embed.php" hash="d114429b378b186d144f75b725bd36c4"/><file name="Triggers.php" hash="fd2f2fad2041280b0d0572ea0e2220de"/></dir><dir name="Helper"><file name="Data.php" hash="6b547d3d67003b8bef48fd4eb8efe23f"/></dir><dir name="Model"><file name="Helppages.php" hash="51305978cda160ad7b3aa8bb8e42d3a5"/><file name="Observer.php" hash="2a5e9ec6f943e93c6db0b1571b27e5b2"/></dir><dir name="controllers"><file name="DiscountsController.php" hash="f1ec0bbd235fcf50551ca5206dfb50e5"/><file name="IndexController.php" hash="9cbd5b979859b2014c5ed191d9b5686a"/><file name="ProductsController.php" hash="f2f556aee8c80f3a77a884792520102a"/></dir><dir name="etc"><file name="config.xml" hash="747972ef1d8b7f3545771c0cc0181767"/><file name="system.xml" hash="914aebddf7b905c7b23aeabdc4dfdcb7"/></dir><dir name="sql"><dir name="retargeting_tracker_setup"><file name="mysql4-install-1.0.0.php" hash="6613b3db4b7ec61fe47f9b69591fa0c5"/><file name="mysql4-install-1.1.0.php" hash="6613b3db4b7ec61fe47f9b69591fa0c5"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="retargeting_tracker.xml" hash="a27cb36a780ee24f3e70aba08599f37e"/></dir><dir name="template"><dir name="retargeting_tracker"><file name="embed.phtml" hash="85eae33f45d766ec21df700ae96fdb2c"/><file name="triggers.phtml" hash="84fd4c78b308fcc44bc1c855a951c5b6"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Retargeting_Tracker.xml" hash="44dbbcea34bc8ed9cc6d744176adb9a6"/></dir></target><target name="magelib"><dir name="Retargeting"><file name="Retargeting_REST_API_Client.php" hash="fd92942d4feb817768bb8157c01c7138"/></dir></target></contents>
|
35 |
<compatible/>
|
36 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
37 |
</package>
|