I'm creating a new module that uses a order grid for particular product(this is not the report grid) in magento admin i successfully create new order grid for that but i want to get total price for product at the end , like in sales>report.
Please see image
Any help will be appreciated,,Thanks
Best Answer
1.Sipmle way, add these fields to your gird class, see mine:
My Result
2.Using Magento Reports: (But this one is so complicated)
You should create report grid. See
Mage_Adminhtml_Block_Report_Customer_Orders_Grid
report grid and try to impelement own. Here is great tuts about custom reports:http://codegento.com/2011/03/creating-custom-magento-reports
http://www.summasolutions.net/blogposts/custom-reports-magento