READ CSV — getData() To read a csv file the file has to be in Magento root….
I was given a task to bulk update tier prices for our wholesale site and for wholesale…
//get all order statuses and save the array $orderStatus[status][label] //in $status associative array $orderStatusCollection = Mage::getModel(‘sales/order_status’)->getResourceCollection()->getData(); $status…
In Magento, suppose we wanted to override/rewrite the core adminhtml controller class which is originally based in app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php…
In Magento, suppose we wanted to override/rewrite the core adminhtml block grid class which is originally based…
Always check your magento log The error shown in /var/log/exception.log was the following: exception ‘PDOException’ with message…
This will remove the user named username from the group sudo. Be careful not to remove the…
This method will work no matter which version of Ubuntu or desktop environment you are running. Open…
Server /Command line upgrade If you don’t have ‘aptitude’ installed type in terminal sudo apt-get install aptitude…