Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Xcart delivery method

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #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
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:30 AM.

   

 
X-Cart forums © 2001-2020