Creating Custom Order Statuses

You can add different order status options for your invoices. To do so, follow these steps:

  1. Open up the /system/application/config/db_sort.php file for editing.
  2. In the config line:

    $config['dbi_order_status'] = array('order_pending', 'order_processing', 'order_completed', 'order_quote', 'order_cancelled');

  3. Add another option to the dbi_order_status array, like so:

    $config['dbi_order_status'] = array('order_pending', 'order_processing', 'order_completed', 'order_quote', 'order_cancelled', 'order_shipping');
  4. Save the file.
  5. Open up the /system/application/language/english/adm_main_lang.php file for editing:
  6. Add the line for the new order status:

    $lang['order_shipping'] = 'shipping';

  7. Save the file.
  8. Now, you can click on the invoice details itself and view the new order status option for your invoice and mark it as such.




LiveZilla Live Chat Software