Hi I basically have a code/local/ of a core file I edited.


This was to add a "Company" column to the order grid.

Since updating to and updating a few plugins around the site this has stopped working.

I am guessing another plugin is over riding my function or extending the class elsewhere?

I have had a look in the folders in my code/local/ but can't seem to find anything.

Is there a debug tool I can use in the backend of magento or a way of finding out what it going over my codes head?

1 Answer 1


I suggest you to use the great magerun tool.

You can get the list of rewrites with this command:


  • Thank you for sharing this tool! I can see two plugins are extending the class "Ext4mage_Orders2csv_Block_Sales_Order_Grid, AuIt_Pdf_Block_Adminhtml_Sales_Order_Grid" however as I have my copy of Grid.php in "local" how are they over-riding it when they are in community? Also both these grid files only have one function in "_prepareMassaction" which isnt the function I am editing in my Grid.php :S Commented Jan 22, 2016 at 10:12
  • My suggestion is to disable those two rewrites and move the changes they implement into a module of yours where you can also add the modification you've implemented in your local folder. Magento does not support multiple rewrites for the same class. Commented Jan 22, 2016 at 10:17
  • So what am I to do if a plugin overwrites a class only for one particular function and I need to overwrite the same class to edit a different function? Commented Jan 22, 2016 at 11:13

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.