Add New Order Status And Consider It As Paid

Hi,

im added new order status "shipped", when i change the order status to "shipped", the total paid didnt add up the price.

https://snag.gy/niVJP5.jpg

Thank You

Hi,

im added new order status "shipped", when i change the order status to "shipped", the total paid didnt add up the price.


https://snag.gy/niVJP5.jpg

Thank You


Hi,
Only Completed & Processed statuses are considered as paid. So you can rename one of them to Shipped or you need a modification of fn_display_order_totals function.

Actually imac is not right. Changes should be made in the fn_get_orders function (app/functions/fn.cart.php)

        $paid_statuses = array('P', 'C');
        fn_set_hook('get_orders_totals', $paid_statuses, $join, $condition, $group);

As you can see, the hook can be also used here to alter list of paid statuses

I just renamed the "Completed" status to "Shipped". I did this years ago. You can change the language in the email subject and header so it reads like normal English too. Very easy fix.