Information on Adding A New Order Status
Posted by Michael G.K on 30 August 2008 05:56 AM

How to add new payment status in admin area.

Database changes

ALTER TABLE ` orders` CHANGE `status` `status` ENUM('New','Abandon','Process','Backorder','Canceled','Completed','Failed','newStatus') DEFAULT 'New' NOT NULL 

Edit admin_order.php

search for ‘<option value="Process">Process</option>’

add ‘<option value="newStatus"> New Status </option>’ below ‘Process’ option

Edit admin_orders.php

search for ‘<option value="Process" <?=$status=="Process"?"selected":""?>>Process</option>’

add ‘<option value="newStatus" <?=$status=="newStatus"?"selected":""?>> New Status </option>’ below ‘Process’ option

search for ‘<option value="Process">Process</option>’

add ‘<option value="newStatus"> New Status </option>’ below ‘Process’ option

(135 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).