Version Notes
Only track two items in lastViewedProducts for now to avoid hitting cookie size limit.
Download this release
Release Info
Developer | Ilya Brin |
Extension | Iterable_Plugin |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7.0 to 1.7.1
app/code/community/Iterable/TrackOrderPlaced/Model/Observer.php
CHANGED
@@ -566,7 +566,8 @@ class Iterable_TrackOrderPlaced_Model_Observer
|
|
566 |
|
567 |
array_unshift($items, $item); // prepend the item just viewed
|
568 |
|
569 |
-
|
|
|
570 |
|
571 |
$epochSeconds = $date->gmtTimestamp();
|
572 |
$epochSecondsDayAgo = $epochSeconds - (60 * 60 * 24);
|
566 |
|
567 |
array_unshift($items, $item); // prepend the item just viewed
|
568 |
|
569 |
+
// TODO - store ids instead of the full item
|
570 |
+
$items = array_slice($items, 0, 2); // make sure at most 2 items - they're big and there's a cookie size limit
|
571 |
|
572 |
$epochSeconds = $date->gmtTimestamp();
|
573 |
$epochSecondsDayAgo = $epochSeconds - (60 * 60 * 24);
|
app/code/community/Iterable/TrackOrderPlaced/etc/config.xml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
-->
|
21 |
<Iterable_TrackOrderPlaced>
|
22 |
<!-- The version of our module, starting at 0.0.1 -->
|
23 |
-
<version>1.7.
|
24 |
</Iterable_TrackOrderPlaced>
|
25 |
</modules>
|
26 |
|
20 |
-->
|
21 |
<Iterable_TrackOrderPlaced>
|
22 |
<!-- The version of our module, starting at 0.0.1 -->
|
23 |
+
<version>1.7.1</version>
|
24 |
</Iterable_TrackOrderPlaced>
|
25 |
</modules>
|
26 |
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Iterable_Plugin</name>
|
4 |
-
<version>1.7.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">Open Software License (OSL) </license>
|
7 |
<channel>community</channel>
|
@@ -15,11 +15,11 @@ drip marketing campaigns.
|
|
15 |
To install, click the 'Install Now' button above and paste the link into your Magento Connect Manager. You will then see an Iterable section in your Magento Admin view. In the 'Advanced' section, select the events you would like to be sent to Iterable. Then, in the API section, enter your Magento API key from Iterable (located in the API Config section on the left side menu).
|
16 |

|
17 |
Questions? Comments? Feel free to contact us at support@iterable.com. Also, for more info or a free demo, please visit us at Iterable.com.</description>
|
18 |
-
<notes>
|
19 |
<authors><author><name>Ilya Brin</name><user>Iterable</user><email>ilya@iterable.com</email></author></authors>
|
20 |
-
<date>2015-
|
21 |
-
<time>
|
22 |
-
<contents><target name="magecommunity"><dir name="Iterable"><dir name="TrackOrderPlaced"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Campaigns.php" hash="0ff0612fe4bb5fcd9c5df691538c8515"/><file name="Events.php" hash="3e953d5de5e2aea167776208986146a7"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="16dc0af570fda193334f6f3c2881bc7f"/></dir><dir name="Model"><dir name="Email"><file name="Template.php" hash="af6a0584435352b8c9d67d046b308a5b"/></dir><file name="Observer.php" hash="
|
23 |
<compatible/>
|
24 |
<dependencies><required><php><min>5.3.1</min><max>6.0.0</max></php></required></dependencies>
|
25 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Iterable_Plugin</name>
|
4 |
+
<version>1.7.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">Open Software License (OSL) </license>
|
7 |
<channel>community</channel>
|
15 |
To install, click the 'Install Now' button above and paste the link into your Magento Connect Manager. You will then see an Iterable section in your Magento Admin view. In the 'Advanced' section, select the events you would like to be sent to Iterable. Then, in the API section, enter your Magento API key from Iterable (located in the API Config section on the left side menu).
|
16 |

|
17 |
Questions? Comments? Feel free to contact us at support@iterable.com. Also, for more info or a free demo, please visit us at Iterable.com.</description>
|
18 |
+
<notes>Only track two items in lastViewedProducts for now to avoid hitting cookie size limit.</notes>
|
19 |
<authors><author><name>Ilya Brin</name><user>Iterable</user><email>ilya@iterable.com</email></author></authors>
|
20 |
+
<date>2015-11-06</date>
|
21 |
+
<time>22:44:22</time>
|
22 |
+
<contents><target name="magecommunity"><dir name="Iterable"><dir name="TrackOrderPlaced"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Campaigns.php" hash="0ff0612fe4bb5fcd9c5df691538c8515"/><file name="Events.php" hash="3e953d5de5e2aea167776208986146a7"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="16dc0af570fda193334f6f3c2881bc7f"/></dir><dir name="Model"><dir name="Email"><file name="Template.php" hash="af6a0584435352b8c9d67d046b308a5b"/></dir><file name="Observer.php" hash="571cf65125e94141bed2f72b7a1e1bd5"/><file name="Trackingeventtypes.php" hash="ebc9e15c1bb02bb6dade12c4be8328e3"/></dir><dir name="etc"><file name="config.xml" hash="c4c7e5b6a9c373399e99da24f9b72f2b"/><file name="system.xml" hash="bcb2de28283f4ec280f63fe8887e2aa5"/></dir><dir name=".idea"><file name="TrackOrderPlaced.iml" hash="64a676a732fd4b7f408cdd46b49aaa24"/><file name="compiler.xml" hash="7e7efa3e3d6514a0ff290e4dfce3cbe9"/><dir name="copyright"><file name="profiles_settings.xml" hash="b1e0b181e080c28b1d116582290e6e97"/></dir><file name="encodings.xml" hash="f1c5edfa5b1a67aabcb9e41674afa252"/><file name="foobar" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="misc.xml" hash="a09f56c13a544171f953e7723e0d4439"/><file name="modules.xml" hash="c93cdff764916047e398fcf5b105a3ed"/><dir name="scopes"><file name="scope_settings.xml" hash="3d0b1957d39aa5636904788c54e654cf"/></dir><file name="vcs.xml" hash="1b4ab30910ae53c73594cd0e3db9840b"/><file name="workspace.xml" hash="6b623904b5b85b0966e42a14d9711d8d"/><file name=".name" hash="8b29e935aaea69d5d9c071be993c4610"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="iterable"><file name="common.xml" hash="d90fbb22fb34fa29deb6b0e131f9e767"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iterable_TrackOrderPlaced.xml" hash="0d4506dadf95eecb54e215ed03b2c6a7"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="iterable"><dir name="images"><file name="section_logo.png" hash="fe5090ba955a890c1efe2c09cb260342"/></dir><file name="iterable.css" hash="4d928c5a4ed76d62e246a57ee868ec23"/></dir></dir></dir></dir></target></contents>
|
23 |
<compatible/>
|
24 |
<dependencies><required><php><min>5.3.1</min><max>6.0.0</max></php></required></dependencies>
|
25 |
</package>
|