Skip to main content
4 events
when toggle format what by license comment
May 1, 2015 at 13:55 comment added Mike You can just make a new class that inherits the old one, then only change the method(s) you need to. This link may help: inchoo.net/magento/… Or, search around for "magento overriding classes", there are other tutorials and articles out there.
Aug 3, 2014 at 13:09 comment added 076 Thanks for your comment. Yes indeed I did. How would you suggest I rewrite only that method? I don't know how to do that... Regarding the changes I made, I guess I should have just stated which lines to change. I'll remember that for next time.
Aug 1, 2014 at 21:20 comment added Anna Völkl So, first of all: You copied the whole class to app/code/local for changing two lines. That's not very update-friendly. A rewrite with only the needed functin included would me more transparent. Second, you did not make comments about the changes in the file so I looked it up: you added one parameter $showOnFront = true and added the line $historyItem->setIsVisibleOnFront($showOnFront);
Aug 1, 2014 at 21:03 history answered 076 CC BY-SA 3.0