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 |
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 |
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!!! |
All times are GMT -8. The time now is 12:04 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.