Originally Posted by juancho
It did work as you suggested. Thanks!
I have a general question. What is the best way to "decorate" a class? What I am doing is using the methods removeClassFromList to remove the class that I want to decorate, and addClassToList to add my version of the class. Is this the correct approach? Seems a little bit awkward.
Well, you should just decorate the class as described here: http://kb.x-cart.com/display/XDD/Step+3+-+applying+logic+changes
If we are talking about changing viewer classes, then you just need to decorate the class in your module and the changes will be applied after store re-deployment without having to call removeClassFromList() and addClassToList() methods.