We want to show extra fields in products ordered report. Extra fields are sku, cost_price(new attribute) and sold price(price)
I have found following class which handle this.
Mage_Adminhtml_Block_Report_Product_Sold_Grid
And also I found following controller class which handle this.
Mage_Adminhtml_Report_ProductController
I was failed to full fill this requirement. Can anyone help me on this?
Thanks.
Best Answer
Open app\code\core\Mage\Adminhtml\Block\Report\Product\Sold\Grid.php and put the below code in
_prepareColumns()
functionYou can move
Grid.php
in your local folder as well.Code Taken From: http://chandreshrana.blogspot.in/2016/08/add-sku-column-in-products-ordered.html