Version Notes
Cross-sell item count corrected for orders with multiple products
Download this release
Release Info
Developer | Packpin Packpin |
Extension | Packpin_Pptrack |
Version | 1.5.8 |
Comparing to | |
See all releases |
Code changes from version 1.5.7 to 1.5.8
app/code/community/Packpin/Pptrack/Block/Adminhtml/Dashboard.php
CHANGED
@@ -125,8 +125,8 @@ class Packpin_Pptrack_Block_Adminhtml_Dashboard extends Mage_Adminhtml_Block_Das
|
|
125 |
|
126 |
$stats['visits'] = Mage::getModel('pptrack/visit')
|
127 |
->getCollection()
|
128 |
-
->addFieldToFilter("DATE(created_at)", array('gteq' => $start))
|
129 |
-
->addFieldToFilter("DATE(created_at)", array('lteq' => $end))
|
130 |
->getSize();
|
131 |
|
132 |
$stats['average'] = $stats['trackings'] ? $stats['visits'] / $stats['trackings'] : 0;
|
@@ -155,8 +155,8 @@ class Packpin_Pptrack_Block_Adminhtml_Dashboard extends Mage_Adminhtml_Block_Das
|
|
155 |
|
156 |
$collection = Mage::getModel('pptrack/visit')
|
157 |
->getCollection()
|
158 |
-
->addFieldToFilter("DATE(created_at)", array('gteq' => $start))
|
159 |
-
->addFieldToFilter("DATE(created_at)", array('lteq' => $end));
|
160 |
$collection->getSelect()
|
161 |
->group(new Zend_Db_Expr('DATE(created_at)'))
|
162 |
->columns(new Zend_Db_Expr('DATE(created_at) as date, COUNT(*) as count'));
|
125 |
|
126 |
$stats['visits'] = Mage::getModel('pptrack/visit')
|
127 |
->getCollection()
|
128 |
+
->addFieldToFilter(new Zend_Db_Expr("DATE(created_at)"), array('gteq' => $start))
|
129 |
+
->addFieldToFilter(new Zend_Db_Expr("DATE(created_at)"), array('lteq' => $end))
|
130 |
->getSize();
|
131 |
|
132 |
$stats['average'] = $stats['trackings'] ? $stats['visits'] / $stats['trackings'] : 0;
|
155 |
|
156 |
$collection = Mage::getModel('pptrack/visit')
|
157 |
->getCollection()
|
158 |
+
->addFieldToFilter(new Zend_Db_Expr("DATE(created_at)"), array('gteq' => $start))
|
159 |
+
->addFieldToFilter(new Zend_Db_Expr("DATE(created_at)"), array('lteq' => $end));
|
160 |
$collection->getSelect()
|
161 |
->group(new Zend_Db_Expr('DATE(created_at)'))
|
162 |
->columns(new Zend_Db_Expr('DATE(created_at) as date, COUNT(*) as count'));
|
app/code/community/Packpin/Pptrack/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Packpin_Pptrack>
|
5 |
-
<version>1.5.
|
6 |
</Packpin_Pptrack>
|
7 |
</modules>
|
8 |
<frontend>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Packpin_Pptrack>
|
5 |
+
<version>1.5.8</version>
|
6 |
</Packpin_Pptrack>
|
7 |
</modules>
|
8 |
<frontend>
|
app/etc/modules/Packpin_Pptrack.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<Packpin_Pptrack>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
-
<version>1.5.
|
8 |
</Packpin_Pptrack>
|
9 |
</modules>
|
10 |
</config>
|
4 |
<Packpin_Pptrack>
|
5 |
<active>true</active>
|
6 |
<codePool>community</codePool>
|
7 |
+
<version>1.5.8</version>
|
8 |
</Packpin_Pptrack>
|
9 |
</modules>
|
10 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Packpin_Pptrack</name>
|
4 |
-
<version>1.5.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
@@ -20,9 +20,9 @@ Packpin created shipment tracking and cross selling solution within email notifi
|
|
20 |
- Easy 10 minutes installation.</description>
|
21 |
<notes>Cross-sell item count corrected for orders with multiple products</notes>
|
22 |
<authors><author><name>Packpin Packpin</name><user>packpin</user><email>info@packpin.com</email></author></authors>
|
23 |
-
<date>2015-
|
24 |
-
<time>
|
25 |
-
<contents><target name="magecommunity"><dir name="Packpin"><dir name="Pptrack"><dir name="Block"><dir name="Adminhtml"><file name="Dashboard.php" hash="
|
26 |
<compatible/>
|
27 |
<dependencies><required><php><min>5.2.13</min><max>5.7.0</max></php></required></dependencies>
|
28 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Packpin_Pptrack</name>
|
4 |
+
<version>1.5.8</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
20 |
- Easy 10 minutes installation.</description>
|
21 |
<notes>Cross-sell item count corrected for orders with multiple products</notes>
|
22 |
<authors><author><name>Packpin Packpin</name><user>packpin</user><email>info@packpin.com</email></author></authors>
|
23 |
+
<date>2015-11-26</date>
|
24 |
+
<time>20:50:47</time>
|
25 |
+
<contents><target name="magecommunity"><dir name="Packpin"><dir name="Pptrack"><dir name="Block"><dir name="Adminhtml"><file name="Dashboard.php" hash="920d24633d790843d7262d194984a4d2"/><dir name="Sales"><dir name="Order"><dir name="Shipment"><dir name="Create"><file name="Tracking.php" hash="616b55c4a6d34e63e70df593b0db228d"/></dir><dir name="View"><file name="Tracking.php" hash="9a2caca0e7aeeef3c5e4cdd8db18a0bd"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint-owner.php" hash="3f3029efceb1d0e1c8f37f08aa21a371"/><file name="Hint.php" hash="c4dff2072bfda0f7e380fa81485d4ab3"/><file name="Scripts.php" hash="cc9b7d5c648a742d75601da4753e85a8"/></dir><dir name="Form"><dir name="Fieldset"><file name="Carrier.php" hash="39e5dbca24ca0e2a6126b8073fa554fa"/></dir></dir></dir></dir><dir name="Tracks"><dir name="Edit"><file name="Form.php" hash="bb8dec319616ac5e0bb649655f6157ba"/></dir><file name="Edit.php" hash="b1295a8eae49bcfb67f939ccb566c986"/><file name="Grid.php" hash="27a72f977e2a9c668f9dd66d29e62937"/></dir><file name="Tracks.php" hash="32ac885537dc7ce3b35671e353d25abe"/></dir><file name="Ads.php" hash="a446e608892e7d05060b32137db1f03c"/><file name="Crosssell.php" hash="254965744ef4259867383f27ab7bdb13"/><file name="Index.php" hash="64cbc12fd919d46b85c49edcd055ba2a"/><file name="Script.php" hash="d5a454b4ec9f08300e2056ef2d89da0c"/><file name="Trackings.php" hash="3ca3418bcc566ee1a00b3c2e2265114e"/></dir><dir name="Helper"><file name="Data.php" hash="4d50c54307801f4901464570679453a0"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Source"><file name="Crossviews.php" hash="351f19d3a8fb2909c617441d90a7f944"/><file name="Crossviewspage.php" hash="1e3958a9c934eb3ba27c38515cf10d5e"/></dir></dir></dir></dir><file name="Api.php" hash="9844dad347d95f010e8ad6d612fae74f"/><file name="Carrier.php" hash="fab9074fa7d932b83bd3dc7c9ae1afdb"/><file name="EnableNotifications.php" hash="5c0e3b122acc8d0216ee078fcefd9d50"/><file name="Observer.php" hash="05b01f229a161f54c0b6195ac3086c46"/><dir name="Order"><file name="Shipment.php" hash="9ee3a28f2bb41fef2434d2a556d08a1f"/></dir><dir name="Resource"><dir name="Carrier"><file name="Collection.php" hash="ca3d8884d9a1d9a1dbb4c36cffd931e1"/></dir><file name="Carrier.php" hash="6ea29fe6b81b3f150ea683316654299b"/><dir name="Setting"><file name="Collection.php" hash="30e53e9dc4973fec4f0e6bd68f29412d"/></dir><file name="Setting.php" hash="dff1ce85bebf8e48c64a7653d5c8ac4e"/><dir name="Track"><file name="Collection.php" hash="360902f340284bd6e37a79955b0265b9"/></dir><file name="Track.php" hash="043618746031d58f437d8f6864f344ba"/><dir name="Trackdetail"><file name="Collection.php" hash="34749cd437737d3fef0181e6a2d4adaf"/></dir><file name="Trackdetail.php" hash="b6ecc039ed80366e3cc969645d57a7cf"/><dir name="Trackunsubscribed"><file name="Collection.php" hash="b15d2d83f287dbabbce646f12902cc39"/></dir><file name="Trackunsubscribed.php" hash="1b3d6508bb8e93c4272224bba1106b6a"/><dir name="Visit"><file name="Collection.php" hash="5b9a70fb53daece2efd716c6193d5794"/></dir><file name="Visit.php" hash="c8474419b1298b1c9989d781a0b44fd5"/></dir><file name="Setting.php" hash="ec277f1b93dbb4f4e271d39cccd3424d"/><file name="Track.php" hash="868c23083b446cf3a0b5d49cca324aef"/><file name="Trackdetail.php" hash="b385925f9770f84ce9a98f6af2baa0b6"/><file name="Trackunsubscribed.php" hash="9fa077052e8c1e6cc9d92fbead95b5b6"/><file name="Translate.php" hash="9f1887b6969ddedb551fee93452839e8"/><file name="Visit.php" hash="73af7da05602b349f3edf1a841274c92"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="PackpintracksController.php" hash="a0535a604ed2782c9e58d4933a9f8445"/><file name="PpnotificationsController.php" hash="6e838648091201e517c1982ed13a0318"/></dir><file name="IndexController.php" hash="6f85dc709b23f5d36027562e1bddc32a"/><file name="UnsubscribeController.php" hash="df56f68d860aba0724ab2206e10e3266"/></dir><dir name="data"><dir name="pptrack_setup"><file name="data-upgrade-0.1.5-1.1.0.php" hash="fc015f14bf96711532b08ee447254e80"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="9d0afe8b7348803af05fd6cbdd8666c2"/><file name="api.xml" hash="7b3b9aca175d02617293b2833bf72e26"/><file name="config.xml" hash="60036f210e78222ba3d35f1a01a92153"/><file name="system.xml" hash="30cfce795aa23c504ea4870e8a81270d"/></dir><dir name="sql"><dir name="pptrack_setup"><file name="mysql4-install-0.1.2.php" hash="51665242241e4cf49ef1c3d0c03e9bbd"/><file name="mysql4-upgrade-0.1.2-0.1.5.php" hash="48c7400eceaaed4a7395697362289cab"/><file name="mysql4-upgrade-0.1.5-1.3.0.php" hash="82848914065e9549d21c44fd19cef3d3"/><file name="mysql4-upgrade-0.3.0-1.5.5.php" hash="efb4d41d21be9be1e44f57f6ca0e57b9"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pptrack.xml" hash="3ddb5fe17e8c826ba2ee8bad03282cb1"/></dir><dir name="template"><dir name="pptrack"><file name="ads.phtml" hash="1fdd498f350d6482e233dfd9b6dc8227"/><file name="ads_email.phtml" hash="8e513589d31ecf120155022e3d623432"/><file name="crosssell.phtml" hash="8e180d67c2df0da3437be1fbc1f96b97"/><file name="crosssell_email.phtml" hash="e7363c178d6e8d50bc2f49ba4e78a8b2"/><dir name="email"><dir name="order"><dir name="shipment"><file name="track.phtml" hash="c73ad2f9e8f9a4f788bf8e3149d2c75b"/></dir></dir></dir><file name="index.phtml" hash="256af29c5fc8840e32b72bbc85198370"/><file name="index_new.phtml" hash="bfe20974f66f072e54a2a309ccc40f56"/><file name="popup.phtml" hash="fc6d4a9cb9dccc2e5bbf716f90cab8ff"/><file name="script.phtml" hash="a90b9e61aa2550a3b4cbf7c6e57c3a05"/><file name="unsubscribe.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pptrack.xml" hash="677b2cfae47ab3c30cd6b8d2a23b8aa2"/></dir><dir name="template"><dir name="pptrack"><dir name="dashboard"><file name="index.phtml" hash="0b02b9768ba6e5743453a93903f3cf05"/><file name="packpin.phtml" hash="641727a031613c7d6486371b57580b86"/></dir><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="fb57796c9ddd69c3e5075d326957ab29"/><file name="scripts.phtml" hash="562020b1ada26a3184b852f79eb05710"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Packpin_Pptrack.xml" hash="d2d874fd647885445f219aede4b6deac"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="pptrack.css" hash="6876798be447fd20fcdd6b6b1ccbf2fa"/></dir><dir name="images"><dir name="pptrack"><file name="bulletIcon.png" hash="15f6fd65c7a62f940b7d17b9186a2b35"/><file name="checkedIcon.png" hash="cef38265bdd7675a0497a2296f5b7332"/><file name="postnlLogo.png" hash="3b4595ba4262c574c1147ed39e862092"/><file name="trackingStatus.png" hash="6dcf522f4e22b69bb25c3b3c199bb464"/><file name="truck.png" hash="3eb50f750a0fefa1903613e0bc26a2ee"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="pptrack"><dir name="css"><file name="dashboard.css" hash="4343c79f6bd24b14004f2a5c8723021d"/><file name="pptrack.css" hash="b20dfd49b1e1ba301d01ffda3812492d"/></dir><dir name="images"><file name="pp_logo1.png" hash="1a79f10d0f028271ac0b2646243e39d1"/></dir><dir name="js"><file name="dashboard.js" hash="bbc739e9b13ba6bb6f309e464b8817b8"/><file name="pptrack.js" hash="7bc0ee636b3b83484fc3b9348863bd22"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="packpin"><file name="packpin_delivered_email.html" hash="b8fbabbb6633d214752ae49d289bb2a1"/><file name="packpin_exception_email.html" hash="8cf8461838af3b8c9ce2c74b8ea4765f"/><file name="packpin_failed_attempt_email.html" hash="8cf8461838af3b8c9ce2c74b8ea4765f"/><file name="packpin_in_transit_email.html" hash="8cf8461838af3b8c9ce2c74b8ea4765f"/><file name="packpin_info_received_email.html" hash="8cf8461838af3b8c9ce2c74b8ea4765f"/><file name="packpin_out_for_delivery_email.html" hash="8cf8461838af3b8c9ce2c74b8ea4765f"/></dir></dir></dir><file name="Packpin_Pptrack.csv" hash="de614713c9a1e184f303eb38284b5ca9"/></dir><dir name="es_ES"><file name="Packpin_Pptrack.csv" hash="42b28f85af8c85568b670dc9f1e5bc65"/></dir><dir name="de_DE"><file name="Packpin_Pptrack.csv" hash="0e0f4cdf6e51bc74fcb017adebe667bd"/></dir><dir name="nl_NL"><file name="Packpin_Pptrack.csv" hash="94baa20e1a27e1856f27206bdf88f53e"/></dir><dir name="pt_PT"><file name="Packpin_Pptrack.csv" hash="f46682dd7dd5abbe788895b942985658"/></dir></target></contents>
|
26 |
<compatible/>
|
27 |
<dependencies><required><php><min>5.2.13</min><max>5.7.0</max></php></required></dependencies>
|
28 |
</package>
|