I'm reasonably new to Magento and i'm trying to edit my Magento code/script (what ever you call it) and all the forums keep telling me to

"Copy /app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php to /app/code/local/Mage/Adminhtml/Block/Sales/Order/Grid.php." to be able to access it

My question is where the hell is this and where do I enter it?

Probably a very silly question but I'm having a blonde day.

  • 1
    By default magento has only core and community inside app/code. You need to create local folder. Then place the file inside that. Commented Jun 26, 2014 at 1:13
  • Never, ever, copy a class file to the local code pool to override it. This is an antipattern.
    – philwinkle
    Commented Jul 26, 2014 at 19:37

1 Answer 1


As per your question for:


Copy to :


Which means that you have to create the same folder structure in your local, we do it in order to avoid over riding the core files. This is done while upgrade som of the core file are modified so that your customization is not updated.

For more info on how to over ride core files in Magento refer to this LINK

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.