Version Notes
- Modify the admin route regarding Magento patch SUPEE-6788
Download this release
Release Info
| Developer | Digital Pianism |
| Extension | DigitalPianism_CustomReports |
| Version | 0.1.5 |
| Comparing to | |
| See all releases | |
Code changes from version 0.1.4 to 0.1.5
- app/code/community/DigitalPianism/CustomReports/Block/Noupsells/Grid.php +1 -1
- app/code/community/DigitalPianism/CustomReports/controllers/{BestsellersbycategoryController.php → Adminhtml/BestsellersbycategoryController.php} +1 -1
- app/code/community/DigitalPianism/CustomReports/controllers/{LifetimesalesController.php → Adminhtml/LifetimesalesController.php} +1 -1
- app/code/community/DigitalPianism/CustomReports/controllers/{NoupsellsController.php → Adminhtml/NoupsellsController.php} +1 -1
- app/code/community/DigitalPianism/CustomReports/controllers/{ShoppedonceController.php → Adminhtml/ShoppedonceController.php} +1 -1
- app/code/community/DigitalPianism/CustomReports/controllers/{SignedupnoorderController.php → Adminhtml/SignedupnoorderController.php} +1 -1
- app/code/community/DigitalPianism/CustomReports/controllers/{WishlistController.php → Adminhtml/WishlistController.php} +1 -1
- app/code/community/DigitalPianism/CustomReports/controllers/{WorstsellersController.php → Adminhtml/WorstsellersController.php} +1 -1
- app/code/community/DigitalPianism/CustomReports/controllers/{WorstsellersbycategoryController.php → Adminhtml/WorstsellersbycategoryController.php} +1 -1
- app/code/community/DigitalPianism/CustomReports/etc/adminhtml.xml +8 -8
- app/code/community/DigitalPianism/CustomReports/etc/config.xml +6 -6
- package.xml +5 -5
app/code/community/DigitalPianism/CustomReports/Block/Noupsells/Grid.php
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<?php
|
| 2 |
* Class DigitalPianism_CustomReports_Block_Noupsells_Grid
|
| 3 |
*/
|
| 4 |
protected $filterArray = array();
|
| 5 |
/**
|
| 6 |
*
|
| 7 |
*/
|
| 8 |
public function __construct()
|
| 9 |
{
|
| 10 |
parent::__construct();
|
| 11 |
$this->setId('noupsellsReportGrid');
|
| 12 |
$this->setDefaultSort('entity_id');
|
| 13 |
$this->setDefaultDir('desc');
|
| 14 |
}
|
| 15 |
/**
|
| 16 |
* @param $args
|
| 17 |
*/
|
| 18 |
public function fillArray($args)
|
| 19 |
{
|
| 20 |
return $this->filterArray;
|
| 21 |
}
|
| 22 |
/**
|
| 23 |
* @return $this
|
| 24 |
*/
|
| 25 |
protected function _prepareCollection()
|
| 26 |
{
|
| 27 |
$collection = Mage::getResourceModel('catalog/product_collection')
|
| 28 |
$this->setCollection($collection);
|
| 29 |
parent::_prepareCollection();
|
| 30 |
return $this;
|
| 31 |
}
|
| 32 |
/**
|
| 33 |
* @return $this
|
| 34 |
* @throws Exception
|
| 35 |
*/
|
| 36 |
protected function _prepareColumns()
|
| 37 |
{
|
| 38 |
$this->addColumn('entity_id', array(
|
| 39 |
'header' =>Mage::helper('reports')->__('Product ID'),
|
| 40 |
'width' =>'50px',
|
| 41 |
'index' =>'entity_id'
|
| 42 |
));
|
| 43 |
$this->addColumn('name', array(
|
| 44 |
'header' =>Mage::helper('reports')->__('Product Name'),
|
| 45 |
'index' =>'name'
|
| 46 |
));
|
| 47 |
'header' =>Mage::helper('reports')->__('Sku'),
|
| 48 |
'index' =>'sku'
|
| 49 |
));
|
| 50 |
array(
|
| 51 |
'header'=> Mage::helper('catalog')->__('Visibility'),
|
| 52 |
'width' => '70px',
|
| 53 |
'index' => 'visibility',
|
| 54 |
'type' => 'options',
|
| 55 |
'options' => Mage::getModel('catalog/product_visibility')->getOptionArray(),
|
| 56 |
));
|
| 57 |
$this->addColumn('status',
|
| 58 |
array(
|
| 59 |
'header'=> Mage::helper('catalog')->__('Status'),
|
| 60 |
'width' => '70px',
|
| 61 |
'index' => 'status',
|
| 62 |
'type' => 'options',
|
| 63 |
'options' => Mage::getSingleton('catalog/product_status')->getOptionArray(),
|
| 64 |
));
|
| 65 |
array(
|
| 66 |
'header' => Mage::helper('reports')->__('Action'),
|
| 67 |
'width' => '100',
|
| 68 |
'type' => 'action',
|
| 69 |
'getter' => 'getId',
|
| 70 |
'actions' => array(
|
| 71 |
array(
|
| 72 |
'caption' => Mage::helper('reports')->__('Edit Product'),
|
| 73 |
'url' => array('base'=> 'adminhtml/catalog_product/edit'),
|
| 74 |
'field' => 'id'
|
| 75 |
)
|
| 76 |
),
|
| 77 |
'filter' => false,
|
| 78 |
'sortable' => false,
|
| 79 |
'index' => 'stores',
|
| 80 |
'is_system' => true,
|
| 81 |
));
|
| 82 |
$this->addExportType('*/*/exportNoupsellsCsv', Mage::helper('reports')->__('CSV'));
|
| 83 |
$this->addExportType('*/*/exportNoupsellsExcel', Mage::helper('reports')->__('Excel'));
|
| 84 |
return parent::_prepareColumns();
|
| 85 |
}
|
|
|
|
| 86 |
* Class DigitalPianism_CustomReports_Block_Noupsells_Grid
|
| 87 |
*/
|
| 88 |
protected $filterArray = array();
|
| 89 |
/**
|
| 90 |
*
|
| 91 |
*/
|
| 92 |
public function __construct()
|
| 93 |
{
|
| 94 |
parent::__construct();
|
| 95 |
$this->setId('noupsellsReportGrid');
|
| 96 |
$this->setDefaultSort('entity_id');
|
| 97 |
$this->setDefaultDir('desc');
|
| 98 |
}
|
| 99 |
/**
|
| 100 |
* @param $args
|
| 101 |
*/
|
| 102 |
public function fillArray($args)
|
| 103 |
{
|
| 104 |
return $this->filterArray;
|
| 105 |
}
|
| 106 |
/**
|
| 107 |
* @return $this
|
| 108 |
*/
|
| 109 |
protected function _prepareCollection()
|
| 110 |
{
|
| 111 |
$collection = Mage::getResourceModel('catalog/product_collection')
|
| 112 |
$this->setCollection($collection);
|
| 113 |
parent::_prepareCollection();
|
| 114 |
return $this;
|
| 115 |
}
|
| 116 |
/**
|
| 117 |
* @return $this
|
| 118 |
* @throws Exception
|
| 119 |
*/
|
| 120 |
protected function _prepareColumns()
|
| 121 |
{
|
| 122 |
$this->addColumn('entity_id', array(
|
| 123 |
'header' =>Mage::helper('reports')->__('Product ID'),
|
| 124 |
'width' =>'50px',
|
| 125 |
'index' =>'entity_id'
|
| 126 |
));
|
| 127 |
$this->addColumn('name', array(
|
| 128 |
'header' =>Mage::helper('reports')->__('Product Name'),
|
| 129 |
'index' =>'name'
|
| 130 |
));
|
| 131 |
'header' =>Mage::helper('reports')->__('Sku'),
|
| 132 |
'index' =>'sku'
|
| 133 |
));
|
| 134 |
array(
|
| 135 |
'header'=> Mage::helper('catalog')->__('Visibility'),
|
| 136 |
'width' => '70px',
|
| 137 |
'index' => 'visibility',
|
| 138 |
'type' => 'options',
|
| 139 |
'options' => Mage::getModel('catalog/product_visibility')->getOptionArray(),
|
| 140 |
));
|
| 141 |
$this->addColumn('status',
|
| 142 |
array(
|
| 143 |
'header'=> Mage::helper('catalog')->__('Status'),
|
| 144 |
'width' => '70px',
|
| 145 |
'index' => 'status',
|
| 146 |
'type' => 'options',
|
| 147 |
'options' => Mage::getSingleton('catalog/product_status')->getOptionArray(),
|
| 148 |
));
|
| 149 |
array(
|
| 150 |
'header' => Mage::helper('reports')->__('Action'),
|
| 151 |
'width' => '100',
|
| 152 |
'type' => 'action',
|
| 153 |
'getter' => 'getId',
|
| 154 |
'actions' => array(
|
| 155 |
array(
|
| 156 |
'caption' => Mage::helper('reports')->__('Edit Product'),
|
| 157 |
'url' => array('base'=> 'adminhtml/catalog_product/edit'),
|
| 158 |
'field' => 'id'
|
| 159 |
)
|
| 160 |
),
|
| 161 |
'filter' => false,
|
| 162 |
'sortable' => false,
|
| 163 |
'index' => 'stores',
|
| 164 |
'is_system' => true,
|
| 165 |
));
|
| 166 |
$this->addExportType('*/*/exportNoupsellsCsv', Mage::helper('reports')->__('CSV'));
|
| 167 |
$this->addExportType('*/*/exportNoupsellsExcel', Mage::helper('reports')->__('Excel'));
|
| 168 |
return parent::_prepareColumns();
|
| 169 |
}
|
|
|
|
| 1 |
* Class DigitalPianism_CustomReports_Block_Noupsells_Grid
|
| 2 |
*/
|
| 3 |
protected $filterArray = array();
|
| 4 |
/**
|
| 5 |
*
|
| 6 |
*/
|
| 7 |
public function __construct()
|
| 8 |
{
|
| 9 |
parent::__construct();
|
| 10 |
$this->setId('noupsellsReportGrid');
|
| 11 |
$this->setDefaultSort('entity_id');
|
| 12 |
$this->setDefaultDir('desc');
|
| 13 |
}
|
| 14 |
/**
|
| 15 |
* @param $args
|
| 16 |
*/
|
| 17 |
public function fillArray($args)
|
| 18 |
{
|
| 19 |
return $this->filterArray;
|
| 20 |
}
|
| 21 |
/**
|
| 22 |
* @return $this
|
| 23 |
*/
|
| 24 |
protected function _prepareCollection()
|
| 25 |
{
|
| 26 |
$collection = Mage::getResourceModel('catalog/product_collection')
|
| 27 |
$this->setCollection($collection);
|
| 28 |
parent::_prepareCollection();
|
| 29 |
return $this;
|
| 30 |
}
|
| 31 |
/**
|
| 32 |
* @return $this
|
| 33 |
* @throws Exception
|
| 34 |
*/
|
| 35 |
protected function _prepareColumns()
|
| 36 |
{
|
| 37 |
$this->addColumn('entity_id', array(
|
| 38 |
'header' =>Mage::helper('reports')->__('Product ID'),
|
| 39 |
'width' =>'50px',
|
| 40 |
'index' =>'entity_id'
|
| 41 |
));
|
| 42 |
$this->addColumn('name', array(
|
| 43 |
'header' =>Mage::helper('reports')->__('Product Name'),
|
| 44 |
'index' =>'name'
|
| 45 |
));
|
| 46 |
'header' =>Mage::helper('reports')->__('Sku'),
|
| 47 |
'index' =>'sku'
|
| 48 |
));
|
| 49 |
array(
|
| 50 |
'header'=> Mage::helper('catalog')->__('Visibility'),
|
| 51 |
'width' => '70px',
|
| 52 |
'index' => 'visibility',
|
| 53 |
'type' => 'options',
|
| 54 |
'options' => Mage::getModel('catalog/product_visibility')->getOptionArray(),
|
| 55 |
));
|
| 56 |
$this->addColumn('status',
|
| 57 |
array(
|
| 58 |
'header'=> Mage::helper('catalog')->__('Status'),
|
| 59 |
'width' => '70px',
|
| 60 |
'index' => 'status',
|
| 61 |
'type' => 'options',
|
| 62 |
'options' => Mage::getSingleton('catalog/product_status')->getOptionArray(),
|
| 63 |
));
|
| 64 |
array(
|
| 65 |
'header' => Mage::helper('reports')->__('Action'),
|
| 66 |
'width' => '100',
|
| 67 |
'type' => 'action',
|
| 68 |
'getter' => 'getId',
|
| 69 |
'actions' => array(
|
| 70 |
array(
|
| 71 |
'caption' => Mage::helper('reports')->__('Edit Product'),
|
| 72 |
'url' => array('base'=> 'adminhtml/catalog_product/edit'),
|
| 73 |
'field' => 'id'
|
| 74 |
)
|
| 75 |
),
|
| 76 |
'filter' => false,
|
| 77 |
'sortable' => false,
|
| 78 |
'index' => 'stores',
|
| 79 |
'is_system' => true,
|
| 80 |
));
|
| 81 |
$this->addExportType('*/*/exportNoupsellsCsv', Mage::helper('reports')->__('CSV'));
|
| 82 |
$this->addExportType('*/*/exportNoupsellsExcel', Mage::helper('reports')->__('Excel'));
|
| 83 |
return parent::_prepareColumns();
|
| 84 |
}
|
| 85 |
+
<?php
|
| 86 |
* Class DigitalPianism_CustomReports_Block_Noupsells_Grid
|
| 87 |
*/
|
| 88 |
protected $filterArray = array();
|
| 89 |
/**
|
| 90 |
*
|
| 91 |
*/
|
| 92 |
public function __construct()
|
| 93 |
{
|
| 94 |
parent::__construct();
|
| 95 |
$this->setId('noupsellsReportGrid');
|
| 96 |
$this->setDefaultSort('entity_id');
|
| 97 |
$this->setDefaultDir('desc');
|
| 98 |
}
|
| 99 |
/**
|
| 100 |
* @param $args
|
| 101 |
*/
|
| 102 |
public function fillArray($args)
|
| 103 |
{
|
| 104 |
return $this->filterArray;
|
| 105 |
}
|
| 106 |
/**
|
| 107 |
* @return $this
|
| 108 |
*/
|
| 109 |
protected function _prepareCollection()
|
| 110 |
{
|
| 111 |
$collection = Mage::getResourceModel('catalog/product_collection')
|
| 112 |
$this->setCollection($collection);
|
| 113 |
parent::_prepareCollection();
|
| 114 |
return $this;
|
| 115 |
}
|
| 116 |
/**
|
| 117 |
* @return $this
|
| 118 |
* @throws Exception
|
| 119 |
*/
|
| 120 |
protected function _prepareColumns()
|
| 121 |
{
|
| 122 |
$this->addColumn('entity_id', array(
|
| 123 |
'header' =>Mage::helper('reports')->__('Product ID'),
|
| 124 |
'width' =>'50px',
|
| 125 |
'index' =>'entity_id'
|
| 126 |
));
|
| 127 |
$this->addColumn('name', array(
|
| 128 |
'header' =>Mage::helper('reports')->__('Product Name'),
|
| 129 |
'index' =>'name'
|
| 130 |
));
|
| 131 |
'header' =>Mage::helper('reports')->__('Sku'),
|
| 132 |
'index' =>'sku'
|
| 133 |
));
|
| 134 |
array(
|
| 135 |
'header'=> Mage::helper('catalog')->__('Visibility'),
|
| 136 |
'width' => '70px',
|
| 137 |
'index' => 'visibility',
|
| 138 |
'type' => 'options',
|
| 139 |
'options' => Mage::getModel('catalog/product_visibility')->getOptionArray(),
|
| 140 |
));
|
| 141 |
$this->addColumn('status',
|
| 142 |
array(
|
| 143 |
'header'=> Mage::helper('catalog')->__('Status'),
|
| 144 |
'width' => '70px',
|
| 145 |
'index' => 'status',
|
| 146 |
'type' => 'options',
|
| 147 |
'options' => Mage::getSingleton('catalog/product_status')->getOptionArray(),
|
| 148 |
));
|
| 149 |
array(
|
| 150 |
'header' => Mage::helper('reports')->__('Action'),
|
| 151 |
'width' => '100',
|
| 152 |
'type' => 'action',
|
| 153 |
'getter' => 'getId',
|
| 154 |
'actions' => array(
|
| 155 |
array(
|
| 156 |
'caption' => Mage::helper('reports')->__('Edit Product'),
|
| 157 |
'url' => array('base'=> 'adminhtml/catalog_product/edit'),
|
| 158 |
'field' => 'id'
|
| 159 |
)
|
| 160 |
),
|
| 161 |
'filter' => false,
|
| 162 |
'sortable' => false,
|
| 163 |
'index' => 'stores',
|
| 164 |
'is_system' => true,
|
| 165 |
));
|
| 166 |
$this->addExportType('*/*/exportNoupsellsCsv', Mage::helper('reports')->__('CSV'));
|
| 167 |
$this->addExportType('*/*/exportNoupsellsExcel', Mage::helper('reports')->__('Excel'));
|
| 168 |
return parent::_prepareColumns();
|
| 169 |
}
|
app/code/community/DigitalPianism/CustomReports/controllers/{BestsellersbycategoryController.php → Adminhtml/BestsellersbycategoryController.php}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_BestsellersbycategoryController
|
| 5 |
*/
|
| 6 |
-
class
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_BestsellersbycategoryController
|
| 5 |
*/
|
| 6 |
+
class DigitalPianism_CustomReports_Adminhtml_BestsellersbycategoryController extends Mage_Adminhtml_Controller_Action
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
app/code/community/DigitalPianism/CustomReports/controllers/{LifetimesalesController.php → Adminhtml/LifetimesalesController.php}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_LifetimesalesController
|
| 5 |
*/
|
| 6 |
-
class
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_LifetimesalesController
|
| 5 |
*/
|
| 6 |
+
class DigitalPianism_CustomReports_Adminhtml_LifetimesalesController extends Mage_Adminhtml_Controller_Action
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
app/code/community/DigitalPianism/CustomReports/controllers/{NoupsellsController.php → Adminhtml/NoupsellsController.php}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_NoupsellsController
|
| 5 |
*/
|
| 6 |
-
class
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_NoupsellsController
|
| 5 |
*/
|
| 6 |
+
class DigitalPianism_CustomReports_Adminhtml_NoupsellsController extends Mage_Adminhtml_Controller_Action
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
app/code/community/DigitalPianism/CustomReports/controllers/{ShoppedonceController.php → Adminhtml/ShoppedonceController.php}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_ShoppedonceController
|
| 5 |
*/
|
| 6 |
-
class
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_ShoppedonceController
|
| 5 |
*/
|
| 6 |
+
class DigitalPianism_CustomReports_Adminhtml_ShoppedonceController extends Mage_Adminhtml_Controller_Action
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
app/code/community/DigitalPianism/CustomReports/controllers/{SignedupnoorderController.php → Adminhtml/SignedupnoorderController.php}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_SignedupnoorderController
|
| 5 |
*/
|
| 6 |
-
class
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_SignedupnoorderController
|
| 5 |
*/
|
| 6 |
+
class DigitalPianism_CustomReports_Adminhtml_SignedupnoorderController extends Mage_Adminhtml_Controller_Action
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
app/code/community/DigitalPianism/CustomReports/controllers/{WishlistController.php → Adminhtml/WishlistController.php}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_WishlistController
|
| 5 |
*/
|
| 6 |
-
class
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_WishlistController
|
| 5 |
*/
|
| 6 |
+
class DigitalPianism_CustomReports_Adminhtml_WishlistController extends Mage_Adminhtml_Controller_Action
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
app/code/community/DigitalPianism/CustomReports/controllers/{WorstsellersController.php → Adminhtml/WorstsellersController.php}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_WorstsellersController
|
| 5 |
*/
|
| 6 |
-
class
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_WorstsellersController
|
| 5 |
*/
|
| 6 |
+
class DigitalPianism_CustomReports_Adminhtml_WorstsellersController extends Mage_Adminhtml_Controller_Action
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
app/code/community/DigitalPianism/CustomReports/controllers/{WorstsellersbycategoryController.php → Adminhtml/WorstsellersbycategoryController.php}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_WorstsellersbycategoryController
|
| 5 |
*/
|
| 6 |
-
class
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
| 3 |
/**
|
| 4 |
* Class DigitalPianism_CustomReports_WorstsellersbycategoryController
|
| 5 |
*/
|
| 6 |
+
class DigitalPianism_CustomReports_Adminhtml_WorstsellersbycategoryController extends Mage_Adminhtml_Controller_Action
|
| 7 |
{
|
| 8 |
protected function _isAllowed()
|
| 9 |
{
|
app/code/community/DigitalPianism/CustomReports/etc/adminhtml.xml
CHANGED
|
@@ -11,11 +11,11 @@
|
|
| 11 |
<children>
|
| 12 |
<bestsellersbycategory translate="title" module="reports">
|
| 13 |
<title>Bestsellers</title>
|
| 14 |
-
<action>
|
| 15 |
</bestsellersbycategory>
|
| 16 |
<worstsellersbycategory translate="title" module="reports">
|
| 17 |
<title>Worstsellers</title>
|
| 18 |
-
<action>
|
| 19 |
</worstsellersbycategory>
|
| 20 |
</children>
|
| 21 |
</categories>
|
|
@@ -24,11 +24,11 @@
|
|
| 24 |
<children>
|
| 25 |
<noupsells translate="title" module="reports">
|
| 26 |
<title>No Upsells</title>
|
| 27 |
-
<action>
|
| 28 |
</noupsells>
|
| 29 |
<worstsellers translate="title" module="reports">
|
| 30 |
<title>Worstsellers</title>
|
| 31 |
-
<action>
|
| 32 |
</worstsellers>
|
| 33 |
</children>
|
| 34 |
</products>
|
|
@@ -37,21 +37,21 @@
|
|
| 37 |
<children>
|
| 38 |
<lifetimesales translate="title" module="reports">
|
| 39 |
<title>Lifetime Sales</title>
|
| 40 |
-
<action>
|
| 41 |
</lifetimesales>
|
| 42 |
<shoppedonce translate="title" module="reports">
|
| 43 |
<title>Shopped Once And Never Again</title>
|
| 44 |
-
<action>
|
| 45 |
</shoppedonce>
|
| 46 |
<signedupnoorder translate="title" module="reports">
|
| 47 |
<title>Signed Up And Never Order</title>
|
| 48 |
-
<action>
|
| 49 |
</signedupnoorder>
|
| 50 |
</children>
|
| 51 |
</customers>
|
| 52 |
<wishlist translate="title" module="reports">
|
| 53 |
<title>Wishlist</title>
|
| 54 |
-
<action>
|
| 55 |
</wishlist>
|
| 56 |
</children>
|
| 57 |
</report>
|
| 11 |
<children>
|
| 12 |
<bestsellersbycategory translate="title" module="reports">
|
| 13 |
<title>Bestsellers</title>
|
| 14 |
+
<action>adminhtml/bestsellersbycategory</action>
|
| 15 |
</bestsellersbycategory>
|
| 16 |
<worstsellersbycategory translate="title" module="reports">
|
| 17 |
<title>Worstsellers</title>
|
| 18 |
+
<action>adminhtml/worstsellersbycategory</action>
|
| 19 |
</worstsellersbycategory>
|
| 20 |
</children>
|
| 21 |
</categories>
|
| 24 |
<children>
|
| 25 |
<noupsells translate="title" module="reports">
|
| 26 |
<title>No Upsells</title>
|
| 27 |
+
<action>adminhtml/noupsells</action>
|
| 28 |
</noupsells>
|
| 29 |
<worstsellers translate="title" module="reports">
|
| 30 |
<title>Worstsellers</title>
|
| 31 |
+
<action>adminhtml/worstsellers</action>
|
| 32 |
</worstsellers>
|
| 33 |
</children>
|
| 34 |
</products>
|
| 37 |
<children>
|
| 38 |
<lifetimesales translate="title" module="reports">
|
| 39 |
<title>Lifetime Sales</title>
|
| 40 |
+
<action>adminhtml/lifetimesales</action>
|
| 41 |
</lifetimesales>
|
| 42 |
<shoppedonce translate="title" module="reports">
|
| 43 |
<title>Shopped Once And Never Again</title>
|
| 44 |
+
<action>adminhtml/shoppedonce</action>
|
| 45 |
</shoppedonce>
|
| 46 |
<signedupnoorder translate="title" module="reports">
|
| 47 |
<title>Signed Up And Never Order</title>
|
| 48 |
+
<action>adminhtml/signedupnoorder</action>
|
| 49 |
</signedupnoorder>
|
| 50 |
</children>
|
| 51 |
</customers>
|
| 52 |
<wishlist translate="title" module="reports">
|
| 53 |
<title>Wishlist</title>
|
| 54 |
+
<action>adminhtml/wishlist</action>
|
| 55 |
</wishlist>
|
| 56 |
</children>
|
| 57 |
</report>
|
app/code/community/DigitalPianism/CustomReports/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<DigitalPianism_CustomReports>
|
| 5 |
-
<version>0.1.
|
| 6 |
</DigitalPianism_CustomReports>
|
| 7 |
</modules>
|
| 8 |
|
|
@@ -51,13 +51,13 @@
|
|
| 51 |
|
| 52 |
<admin>
|
| 53 |
<routers>
|
| 54 |
-
<
|
| 55 |
-
<use>admin</use>
|
| 56 |
<args>
|
| 57 |
-
<
|
| 58 |
-
|
|
|
|
| 59 |
</args>
|
| 60 |
-
</
|
| 61 |
</routers>
|
| 62 |
</admin>
|
| 63 |
</config>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<DigitalPianism_CustomReports>
|
| 5 |
+
<version>0.1.5</version>
|
| 6 |
</DigitalPianism_CustomReports>
|
| 7 |
</modules>
|
| 8 |
|
| 51 |
|
| 52 |
<admin>
|
| 53 |
<routers>
|
| 54 |
+
<adminhtml>
|
|
|
|
| 55 |
<args>
|
| 56 |
+
<modules>
|
| 57 |
+
<DigitalPianism_CustomReports before="Mage_Adminhtml">DigitalPianism_CustomReports_Adminhtml</DigitalPianism_CustomReports>
|
| 58 |
+
</modules>
|
| 59 |
</args>
|
| 60 |
+
</adminhtml>
|
| 61 |
</routers>
|
| 62 |
</admin>
|
| 63 |
</config>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>DigitalPianism_CustomReports</name>
|
| 4 |
-
<version>0.1.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>Open GPL</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -48,11 +48,11 @@ This module includes the following reports to Magento:
|
|
| 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>-
|
| 52 |
<authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
|
| 53 |
-
<date>2015-
|
| 54 |
-
<time>
|
| 55 |
-
<contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="CustomReports"><dir name="Block"><dir name="Bestsellersbycategory"><file name="Grid.php" hash="29ced24f2347175f8ddb3976b17a3a2d"/></dir><file name="Bestsellersbycategory.php" hash="c04a80017dc23a469138915bd608fe33"/><file name="Customreport.php" hash="f3158fc88585c8924a5e6911ce7f9ee8"/><dir name="Lifetimesales"><file name="Grid.php" hash="f34c7c9aa442377b1bbd86fe234b7e5b"/></dir><file name="Lifetimesales.php" hash="a1074d45ffcadd8ceb6facda2566fa44"/><dir name="Noupsells"><file name="Grid.php" hash="
|
| 56 |
<compatible/>
|
| 57 |
<dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
|
| 58 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>DigitalPianism_CustomReports</name>
|
| 4 |
+
<version>0.1.5</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>Open GPL</license>
|
| 7 |
<channel>community</channel>
|
| 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>- Modify the admin route regarding Magento patch SUPEE-6788</notes>
|
| 52 |
<authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
|
| 53 |
+
<date>2015-10-23</date>
|
| 54 |
+
<time>16:33:40</time>
|
| 55 |
+
<contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="CustomReports"><dir name="Block"><dir name="Bestsellersbycategory"><file name="Grid.php" hash="29ced24f2347175f8ddb3976b17a3a2d"/></dir><file name="Bestsellersbycategory.php" hash="c04a80017dc23a469138915bd608fe33"/><file name="Customreport.php" hash="f3158fc88585c8924a5e6911ce7f9ee8"/><dir name="Lifetimesales"><file name="Grid.php" hash="f34c7c9aa442377b1bbd86fe234b7e5b"/></dir><file name="Lifetimesales.php" hash="a1074d45ffcadd8ceb6facda2566fa44"/><dir name="Noupsells"><file name="Grid.php" hash="4acdcc6742ad53120a3e907b09727e9e"/></dir><file name="Noupsells.php" hash="961b611b3b1a8f7b1ea57bdc4dbb27a6"/><dir name="Shoppedonce"><file name="Grid.php" hash="96e410f92fd88d5f4c21a8fd8203df6d"/></dir><file name="Shoppedonce.php" hash="e09510c61d1c0310739a361cb3e7f4e6"/><dir name="Signedupnoorder"><file name="Grid.php" hash="abb824130a4f365ce15789923c40d090"/></dir><file name="Signedupnoorder.php" hash="4f73318c21eb7f358aa4ab126d16cafe"/><dir name="Wishlist"><file name="Grid.php" hash="347ca1133e187fa791f6de6387794651"/></dir><file name="Wishlist.php" hash="376cbd949ea15e8c1c7f8d28fef66be4"/><dir name="Worstsellers"><file name="Grid.php" hash="4ebd28d28581125fa550b30543940847"/></dir><file name="Worstsellers.php" hash="311266f3a9d7ceccef74f05034205252"/><dir name="Worstsellersbycategory"><file name="Grid.php" hash="eea476f4bf7fdeb9ead5b9c90d91bb64"/></dir><file name="Worstsellersbycategory.php" hash="44f6b369080be2521eaa80797fde9740"/></dir><dir name="Model"><dir name="Reports"><dir name="Resource"><dir name="Product"><file name="Collection.php" hash="d31c0ea1728f3fe13e4efa438c653678"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BestsellersbycategoryController.php" hash="44c28d7f6987c67ccc434be7847ddc4a"/><file name="LifetimesalesController.php" hash="66d5215c45be488839aafa9be07c5f9f"/><file name="NoupsellsController.php" hash="deea247924726caa56cd04bed578d7d8"/><file name="ShoppedonceController.php" hash="d35f0c366ab7b8b087c1cda2707c9784"/><file name="SignedupnoorderController.php" hash="127bf229c6bf8ef8a3c37b375285b9de"/><file name="WishlistController.php" hash="6f54870c276f3547377a55a0911a0775"/><file name="WorstsellersController.php" hash="8f9c233d4bc0b868eebf1a2767d90288"/><file name="WorstsellersbycategoryController.php" hash="1010003544df4469f4e958541ca9b357"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="129b1e3161edd1a4f038943a94890605"/><file name="config.xml" hash="0bc7dc25da85bf5e30e5f5fa1c44abc7"/></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="0254a130e6c76bf9c8f7a9b7ce1d27ca"/><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>
|
