I need to overwrite protected function _calcItemsPrice() for oxbasket which is already overwritten in another class. Now module is installed like this
oxbasket => mybasket/basketbsk&promotion/my_basket
In this way my module calcItemsPrice() is not working but if i reverse the install order then my module code is working and mybasket module code stops working and throws delivery cost error . what is the reason? Any help is appreciated.
Same problem is occurring for oxbasketitem also. When myclass is the first one in module install list then its returing myclass object and vice versa. Myclass has added three more property to each item which are inaccessible when myclass is 2nd on hierarchy list.What I think is only first class instance is created and that’s why functions of next class is not executed or inaccessible. How to solve it?