View Single Post
  #1  
Old 11-23-2019, 02:55 AM
 
k1r1l k1r1l is offline
 

Newbie
  
Join Date: Nov 2019
Posts: 5
 

Post Xcart delivery method

Good day. The next question is, there is a class with ready-made module logic, at some point you need to call a method from another class, which is a child. I create a class object and call the method I need. As a result, I get the error that when creating a class object
(Too few arguments to function XLite\Logic\Order\Modifier\AModifier::__construct( ), 0 passed in )

The question is, how do I redefine the constructor?
Or it is possible to get around this somehow differently.
P.S. Already there is a ready-made logic of a working module. It is only necessary to supplement it with one method.
__________________
5.4.0.5
Modules
Reply With Quote