Magento comes with a handy little class to read/write csv files. Using this class, we can create and manipulate csv files.It is located in Magento app/Varien/File/Csv.php Read Data To read contents of csv file, pass the csv file to the class using getData method(). $csv=new Varien_File_Csv(); $file='customers.csv'; $customers=$csv->getData($file); foreach($customers as $customer) { echo $customer[0]; } [...]The post Working With CSV files in Magento appeared first on Pixlpitch.