Magento read CSV using Varien_File_Csv library

2015-04-19 22:51:04Damodar Bashyal


Read CSV into PHP array

$file = 'csv_file_to_parse_into_php_array.csv'; // full path to your csv file.





Imacros to automate magento checkout using paypal express

2015-01-07 21:16:26Damodar Bashyal


I had heard about imacros but never tried. This time I wanted to give it a go as I need to proceed to through checkout process few times and watch the log. So, to do this repetitive task, I installed imacros extension on google chrome and recorded checkout process from beginning to end.





Magento re-index via command line

2014-12-29 14:56:51Damodar Bashyal


Magento re-indexing through command line

If you are hosting your Magento store on shared hosting, this is almost required that you have to run re-index through command line. Even if you are on powerful server, you may find from time to time reindex times out if you have big data.

To over come this issue, you can use your command line to run reindex on required indexes.

I use PuTTY to connect to server and then go to your magento install and then to shell folder. e.g.


Here you can check status of current indexes with this command: