I want to add new attributes in Customer Export CSV file. My fields are date of birth and Gender.
I have added the below code in code/core/Mage/Adminhtml/Block/Customer/Grid.php
$this->addColumn('dob', array(
'header' => Mage::helper('customer')->__('Date of Birth'),
'type' => 'datetime',
'align' => 'center',
'index' => 'dob',
'gmtoffset' => true
));
$this->addColumn('gender', array(
'header' => Mage::helper('customer')->__('Gender'),
'index' => 'gender'
));
In admin panel under manage customer it shows new files with same name but empty data and also in CSV file it added the title for both the fields but fields are empty.
How can i add new fields in customer export file in magento?