select * from ecs_payment; select * from ecs_shipping; |
$order = flow_order_info(); $smarty->assign('order', $order); |
/* 代码修改 By www.ecshop120.com */ $order = flow_order_info(); $order['shipping_id'] = 5; //默认配送方式ID $order['pay_id'] = 4; //默认支付方式ID $smarty->assign('order', $order); |
到此就OK了,看看是不是已经有“默认配送方式和默认支付方式”了。您也可以只设置一种默认,那么只要将
$order['pay_id'] = 4; 删掉 或者 将 $order['shipping_id'] = 5; 删掉即可