Version Notes
- Bug Fixes
Download this release
Release Info
Developer | Digital Pianism |
Extension | DigitalPianism_CustomReports |
Version | 0.0.14 |
Comparing to | |
See all releases |
Code changes from version 0.0.13 to 0.0.14
- app/code/community/DigitalPianism/CustomReports/Block/Bestsellersbycategory/Grid.php +1 -1
- app/code/community/DigitalPianism/CustomReports/Block/Worstsellersbycategory/Grid.php +1 -1
- app/code/community/DigitalPianism/CustomReports/Model/Reports/Resource/Product/Collection.php +1 -1
- app/code/community/DigitalPianism/CustomReports/etc/config.xml +12 -12
- package.xml +17 -26
app/code/community/DigitalPianism/CustomReports/Block/Bestsellersbycategory/Grid.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
class DigitalPianism_CustomReports_Block_Bestsellersbycategory_Grid extends
|
3 |
{
|
4 |
|
5 |
public function __construct()
|
1 |
<?php
|
2 |
+
class DigitalPianism_CustomReports_Block_Bestsellersbycategory_Grid extends Mage_Adminhtml_Block_Widget_Grid
|
3 |
{
|
4 |
|
5 |
public function __construct()
|
app/code/community/DigitalPianism/CustomReports/Block/Worstsellersbycategory/Grid.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
class DigitalPianism_CustomReports_Block_Worstsellersbycategory_Grid extends
|
3 |
{
|
4 |
|
5 |
public function __construct()
|
1 |
<?php
|
2 |
+
class DigitalPianism_CustomReports_Block_Worstsellersbycategory_Grid extends Mage_Adminhtml_Block_Widget_Grid
|
3 |
{
|
4 |
|
5 |
public function __construct()
|
app/code/community/DigitalPianism/CustomReports/Model/Reports/Resource/Product/Collection.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
* Add a method to retrieve the bestsellers correctly
|
4 |
*/
|
5 |
-
class
|
6 |
{
|
7 |
/**
|
8 |
* Add ordered qty's
|
2 |
/*
|
3 |
* Add a method to retrieve the bestsellers correctly
|
4 |
*/
|
5 |
+
class DigitalPianism_CustomReports_Model_Reports_Resource_Product_Collection extends Mage_Reports_Model_Resource_Product_Collection
|
6 |
{
|
7 |
/**
|
8 |
* Add ordered qty's
|
app/code/community/DigitalPianism/CustomReports/etc/config.xml
CHANGED
@@ -1,20 +1,20 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
<modules>
|
4 |
-
<
|
5 |
-
<version>0.0.
|
6 |
-
</
|
7 |
</modules>
|
8 |
|
9 |
<frontend>
|
10 |
<!-- Translation file -->
|
11 |
<translate>
|
12 |
<modules>
|
13 |
-
<
|
14 |
<files>
|
15 |
-
<default>
|
16 |
</files>
|
17 |
-
</
|
18 |
</modules>
|
19 |
</translate>
|
20 |
</frontend>
|
@@ -23,11 +23,11 @@
|
|
23 |
<!-- Backend translation file -->
|
24 |
<translate>
|
25 |
<modules>
|
26 |
-
<
|
27 |
<files>
|
28 |
-
<default>
|
29 |
</files>
|
30 |
-
</
|
31 |
</modules>
|
32 |
</translate>
|
33 |
</adminhtml>
|
@@ -37,14 +37,14 @@
|
|
37 |
<reports_resource>
|
38 |
<rewrite>
|
39 |
<!-- Mage_Reports_Model_Resource_Product_Collection -->
|
40 |
-
<product_collection>
|
41 |
</rewrite>
|
42 |
</reports_resource>
|
43 |
</models>
|
44 |
|
45 |
<blocks>
|
46 |
<customreports>
|
47 |
-
<class>
|
48 |
</customreports>
|
49 |
</blocks>
|
50 |
</global>
|
@@ -54,7 +54,7 @@
|
|
54 |
<customreports>
|
55 |
<use>admin</use>
|
56 |
<args>
|
57 |
-
<module>
|
58 |
<frontName>customreports</frontName>
|
59 |
</args>
|
60 |
</customreports>
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
<modules>
|
4 |
+
<DigitalPianism_CustomReports>
|
5 |
+
<version>0.0.14</version>
|
6 |
+
</DigitalPianism_CustomReports>
|
7 |
</modules>
|
8 |
|
9 |
<frontend>
|
10 |
<!-- Translation file -->
|
11 |
<translate>
|
12 |
<modules>
|
13 |
+
<DigitalPianism_CustomReports>
|
14 |
<files>
|
15 |
+
<default>DigitalPianism_CustomReports.csv</default>
|
16 |
</files>
|
17 |
+
</DigitalPianism_CustomReports>
|
18 |
</modules>
|
19 |
</translate>
|
20 |
</frontend>
|
23 |
<!-- Backend translation file -->
|
24 |
<translate>
|
25 |
<modules>
|
26 |
+
<DigitalPianism_CustomReports>
|
27 |
<files>
|
28 |
+
<default>DigitalPianism_CustomReports.csv</default>
|
29 |
</files>
|
30 |
+
</DigitalPianism_CustomReports>
|
31 |
</modules>
|
32 |
</translate>
|
33 |
</adminhtml>
|
37 |
<reports_resource>
|
38 |
<rewrite>
|
39 |
<!-- Mage_Reports_Model_Resource_Product_Collection -->
|
40 |
+
<product_collection>DigitalPianism_CustomReports_Model_Reports_Resource_Product_Collection</product_collection>
|
41 |
</rewrite>
|
42 |
</reports_resource>
|
43 |
</models>
|
44 |
|
45 |
<blocks>
|
46 |
<customreports>
|
47 |
+
<class>DigitalPianism_CustomReports_Block</class>
|
48 |
</customreports>
|
49 |
</blocks>
|
50 |
</global>
|
54 |
<customreports>
|
55 |
<use>admin</use>
|
56 |
<args>
|
57 |
+
<module>DigitalPianism_CustomReports</module>
|
58 |
<frontName>customreports</frontName>
|
59 |
</args>
|
60 |
</customreports>
|
package.xml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>DigitalPianism_CustomReports</name>
|
4 |
-
<version>0.0.
|
5 |
<stability>stable</stability>
|
6 |
-
<license
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Adds several custom reports to Magento.</summary>
|
@@ -23,17 +23,19 @@ This module includes the following reports to Magento:
|
|
23 |

|
24 |
<p>With this extension, you can improve your marketing and your shop management by looking at data which are not provided with the default Magento installation.</p>
|
25 |

|
|
|
|
|
26 |
<h2>Access the reports</h2>
|
27 |

|
28 |
<ul>
|
29 |
-
<li>Worstsellers: under Reports > Products > Worstsellers</li>
|
30 |
-
<li>Bestsellers categories: under Reports > Categories > Bestsellers</li>
|
31 |
-
<li>Worstsellers categories: under Reports > Categories > Worstsellers</li>
|
32 |
-
<li>Lifetime sales: under Reports > Customers > Lifetime Sales</li>
|
33 |
-
<li>No Upsells: under Reports > Products > No Upsells</li>
|
34 |
-
<li>Shopped Once: under Reports > Customers > Shopped Once And Never Again</li>
|
35 |
-
<li>Signed Up No Order: under Reports > Customers > Signed Up And Never Order</li>
|
36 |
-
<li>Wishlist: under Reports > Wishlist</li>
|
37 |
</ul>
|
38 |

|
39 |
<h2>Nota Bene regarding the category reports</h2>
|
@@ -45,23 +47,12 @@ This module includes the following reports to Magento:
|
|
45 |
<li>A product can be in more than one category.</li>
|
46 |
</ul>
|
47 |

|
48 |
-
<p>Thus, if a product is in several categories, it will be counted as a sale for all of these categories.</p>
|
49 |
-
|
50 |
-
<notes>Includes the following reports: 
|
51 |
-

|
52 |
-
- Worstsellers
|
53 |
-
- Bestsellers Categories
|
54 |
-
- Worstsellers Categories
|
55 |
-
- Signed Up Never Order
|
56 |
-
- Shopped Once And Never Again
|
57 |
-
- Lifetime Sales
|
58 |
-
- Wishlist
|
59 |
-
- Products With No Upsells
|
60 |
-
</notes>
|
61 |
<authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
|
62 |
-
<date>2014-
|
63 |
-
<time>
|
64 |
-
<contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="CustomReports"><dir name="Block"><dir name="Bestsellersbycategory"><file name="Grid.php" hash="
|
65 |
<compatible/>
|
66 |
<dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
|
67 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>DigitalPianism_CustomReports</name>
|
4 |
+
<version>0.0.14</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license>Open GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Adds several custom reports to Magento.</summary>
|
23 |

|
24 |
<p>With this extension, you can improve your marketing and your shop management by looking at data which are not provided with the default Magento installation.</p>
|
25 |

|
26 |
+
<p>Each report includes an Export to CSV/Excel feature.</p>
|
27 |
+

|
28 |
<h2>Access the reports</h2>
|
29 |

|
30 |
<ul>
|
31 |
+
<li>Worstsellers: under Reports &gt; Products &gt; Worstsellers</li>
|
32 |
+
<li>Bestsellers categories: under Reports &gt; Categories &gt; Bestsellers</li>
|
33 |
+
<li>Worstsellers categories: under Reports &gt; Categories &gt; Worstsellers</li>
|
34 |
+
<li>Lifetime sales: under Reports &gt; Customers &gt; Lifetime Sales</li>
|
35 |
+
<li>No Upsells: under Reports &gt; Products &gt; No Upsells</li>
|
36 |
+
<li>Shopped Once: under Reports &gt; Customers &gt; Shopped Once And Never Again</li>
|
37 |
+
<li>Signed Up No Order: under Reports &gt; Customers &gt; Signed Up And Never Order</li>
|
38 |
+
<li>Wishlist: under Reports &gt; Wishlist</li>
|
39 |
</ul>
|
40 |

|
41 |
<h2>Nota Bene regarding the category reports</h2>
|
47 |
<li>A product can be in more than one category.</li>
|
48 |
</ul>
|
49 |

|
50 |
+
<p>Thus, if a product is in several categories, it will be counted as a sale for all of these categories.</p></description>
|
51 |
+
<notes>- Bug Fixes</notes>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
<authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
|
53 |
+
<date>2014-09-17</date>
|
54 |
+
<time>15:03:04</time>
|
55 |
+
<contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="CustomReports"><dir name="Block"><dir name="Bestsellersbycategory"><file name="Grid.php" hash="6f4c37753db0005e899e2a989d752f15"/></dir><file name="Bestsellersbycategory.php" hash="60483ad3e57dc461f5943c805d149c01"/><file name="Customreport.php" hash="e6bbb8a7baf7acc47f39b02e64ccbc94"/><dir name="Lifetimesales"><file name="Grid.php" hash="b36706d8594b934d1d13b236537b39cd"/></dir><file name="Lifetimesales.php" hash="94d685421ecb611a871d99c1c593ac46"/><dir name="Noupsells"><file name="Grid.php" hash="4dd16b05ccd8b703486fa0064759c91e"/></dir><file name="Noupsells.php" hash="bbc28aa60bd78b8c3ccf2fb94f470751"/><dir name="Shoppedonce"><file name="Grid.php" hash="28401d7c968100aec911545a8074dd70"/></dir><file name="Shoppedonce.php" hash="bc3b20a05d2859a710850cde353599d5"/><dir name="Signedupnoorder"><file name="Grid.php" hash="100be20b5957142f6983bd05fa8453cc"/></dir><file name="Signedupnoorder.php" hash="30d952fcc1fa6e913c98134f195342eb"/><dir name="Wishlist"><file name="Grid.php" hash="94cd0ac0dd2b46e759510ba6f120c93e"/></dir><file name="Wishlist.php" hash="ee711134bdecd35b26fd9ae0f933195a"/><dir name="Worstsellers"><file name="Grid.php" hash="90f13fa28b33da82da46c3bb3b63f300"/></dir><file name="Worstsellers.php" hash="f31350020ae1d4207a49270a226a6df4"/><dir name="Worstsellersbycategory"><file name="Grid.php" hash="0005af367353a778690b9629674ab2ae"/></dir><file name="Worstsellersbycategory.php" hash="4b94e31f8297c38904a073240b7af85e"/></dir><dir name="Model"><dir name="Reports"><dir name="Resource"><dir name="Product"><file name="Collection.php" hash="5e544f160b1916ce3e6c0ace949a8dc9"/></dir></dir></dir></dir><dir name="controllers"><file name="BestsellersbycategoryController.php" hash="bcb8ba02dbfbb37880830c24c88c4791"/><file name="LifetimesalesController.php" hash="36c23ba7464e5b23d7803babdc092097"/><file name="NoupsellsController.php" hash="ccdf273757694494daec860361c0ec52"/><file name="ShoppedonceController.php" hash="0c599676dbb5722feb9bc437cfb985f1"/><file name="SignedupnoorderController.php" hash="0d996537ef4affe736b1aa3437152bc6"/><file name="WishlistController.php" hash="1ee8c24d7ce1ffc28493aedba17505a5"/><file name="WorstsellersController.php" hash="20e935b7f822abd346f76e6a934234da"/><file name="WorstsellersbycategoryController.php" hash="bc37e6b7a41c4ed918018ecdf2042259"/></dir><dir name="etc"><file name="adminhtml.xml" hash="2233874893d9dcc82540d61aa0668328"/><file name="config.xml" hash="abe58bc049a5c5790ee139101c55df68"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DigitalPianism_CustomReports.xml" hash="2244af82c076ed3abf5064672036ef0b"/></dir></target><target name="magelocale"><dir name="en_US"><file name="DigitalPianism_CustomReports.csv" hash="0fcee0228d1044be8c0b76f02079bf55"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="digitalpianism"><dir name="customreports"><file name="advancedgrid.phtml" hash="21e1ea8ed294994613c8db99cda35515"/><file name="grid.phtml" hash="a8d2cbad8327390e2b9cd3b7717c384d"/></dir></dir></dir></dir></dir></dir></target></contents>
|
56 |
<compatible/>
|
57 |
<dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
|
58 |
</package>
|