View Single Post
  #2  
Old 10-29-2018, 05:13 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default 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
Reply With Quote