| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Changing Order Fulfilment Status (Xcart 5) | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Changing Order Fulfilment Status (Xcart 5)
Hello,
I would like your help to find out what method are calling when changing the Fulfilment status of an order in the administration zone. I want to implement it for some custom action. In addition, if it is possible, I would like some advice how I can do reverse engineering in the admin zone. For example in what I'm asking above, from which point I could start to find the method? Thank you
__________________
Xcart 4.x.x Xcart 5.x.x |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Changing Order Fulfilment Status (Xcart 5)
1. Go to an order
2. Look at the url - /admin.php?target=order&order_number=XX . The target parameter tells you which controller class it will run - in this case classes/XLite/Controller/Admin/Order.php 3. Usually changing something on the page with post to database will trigger an action - in the above file look for doAction functions 4. You will find - protected function doActionUpdate() - and this method runs number of updates - the one you are looking for is updateOrderStatus
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
Re: Changing Order Fulfilment Status (Xcart 5)
Dear Steve, thank you very much.
Your answer helped me a lot. I actually understood what I should do!!!
__________________
Xcart 4.x.x Xcart 5.x.x |
|||||||
|
|||
X-Cart forums © 2001-2020
|