已確認,已發貨,已付款
語言包
/*訂單狀態
*/$_lang['os
'][os_unconfirmed] = '
未確認'
;$_lang['os
'][os_confirmed] = '
已確認'
; //確認是有效訂單
$_lang['os
'][os_splited] = '
已確認'
; //確認收貨
$_lang['os
'][os_spliting_part] = '
已確認'
;$_lang['os
'][os_canceled] = '
已取消'
;$_lang['os
'][os_invalid] = '無效'
;$_lang['os
'][os_returned] = '退貨'
;$_lang['ss
'][ss_unshipped] = '
未發貨'
;$_lang['ss
'][ss_preparing] = '
配貨中'
;$_lang['ss
'][ss_shipped] = '
已發貨'
;$_lang['ss
'][ss_received] = '
收貨確認';
$_lang['ss
'][ss_shipped_part] = '
已發貨(部分商品)';
$_lang['ss
'][ss_shipped_ing] = '
配貨中'; //
已分單$_lang['ps
'][ps_unpayed] = '
未付款'
;$_lang['ps
'][ps_paying] = '
付款中'
;$_lang['ps
'][ps_payed] = '
已付款';
php輸出 l('os'),l('ss'),l('ps')
l('os') 輸出:array ( [0] => 未確認 [1] => 已確認 [5] => 已確認 [6] => 已確認 [2] => 已取消 [3] => 無效 [4] => 退貨 )
l('ss') 輸出:array ( [0] => 未發貨 [3] => 配貨中 [1] => 已發貨 [2] => 收貨確認 [4] => 已發貨(部分商品) [5] => 配貨中 )
l('ps') 輸出:array ( [0] => 未付款 [1] => 付款中 [2] => 已付款 ) ps
hmtl頁面引用
,或 $order['shipping_status_text'] = $_lang['ss'][$order['shipping_status']];
php檔案
$os = l('os');
$ss = l('ss');
$ps = l('ps');
$status_text = $ps[$orders[$k]['pay_status']];
訂單狀態
未確認取消
確認已付款
配貨中已發貨
已收貨退貨
order_status02
1115
54shipping_status00
0031
20pay_status00
0222
20完美引用
phprequire_once(root_path . 'languages/' .$_cfg['lang']. '/admin/order.php');
$smarty->assign('lang', $_lang);
html
ECSHOP 訂單狀態 記錄
記錄訂單狀態 order status 訂單狀態 define os unconfirmed 0 未確認 define os confirmed 1 已確認 define os canceled 2 已取消 define os invalid 3 無效 define os returned 4 退貨...
ecshop訂單表狀態判斷
ecshop資料庫 訂單狀態判斷 order info 表 剛下完訂單 order status 0 shipping status 0 pay status 0 取消order status 2 shipping status 0 pay status 0 確認order status 1 shi...
ecshop資料庫訂單狀態判斷
order info 表 剛下完訂單 order status 0 shipping status 0 pay status 0 取消order status 2 shipping status 0 pay status 0 確認order status 1 shipping status 0 pa...