| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
override order list defineColumns method in my module | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I need to override defineColumns method in XLite\View\Itemlist\Model\Order\Admin\Search.php.
I added Search.php class to view folder of my module and defined defineColumns method but it does not work. Please tell me how to do this right?
__________________
X-Cart Gold Plus 4.5.4 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() What is the source code of your class?
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
![]() PHP Code:
__________________
X-Cart Gold Plus 4.5.4 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Do you want create a new class, or modify the existing one?
If these changes are for the existing class, you should add the "implements" part to the class declaration: PHP Code:
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|