Re: XC5 Problem overriding class with a module
There is a possibility that another module is also decorating this class, and it may come alphabetically after yours.
In this case you need to make your module depend on the other, and you do this via module dependencies in your main.php I believe.
Check the class that you are decorating in the run directory. It should be extending your class after deployment, or it could be that it is extending another, you can chase through which class depends on which by seeing how they reference each other in the run directory.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey
XcartGuru
X-cart Tutorials | X-cart 5 Tutorials
Check out the responsive template for X-cart.
|