I need to make a website that allow export to .csv with formula, so that my customer can edit that .csv file

I'm going to use PHPExcel https://github.com/PHPOffice/PHPExcel as a library to do the export. I'm familiar in using this library with plain PHP and some other PHP frameworks, but not in Magento.

What I want to know is which module that I need to override (or create new one) to implement my export function? (I know that Magento has import/export function, but it only keep the data, not the formula of .csv file).

And because Magento has some more new concepts like Block, Template, Layouts... I don't know where to start. Any suggestions?

Thank you very much!

  • Not sure what you're going to achieve - please update your questions which data you want to export and maybe a use case for that. You don't need to include a new library for that, you can use Varien_File_Csv or Varien_Io_File + streamWriteCsv() which are already included in the Magento framework. Feb 24, 2015 at 20:19
  • There are already some questions up here on how to learn Magento, for example: magento.stackexchange.com/questions/594/… Feb 24, 2015 at 20:20


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.