Posted in PHP onMarch 15, 2010
先添加显示这些信息:
1.修改lib_order.php文件的get_consignee函数(1798行)
添加如下代码在return前面:
$sql = "select region_name from ".$GLOBALS['ecs']->table('region') . " where region_id in(".$arr['country'].",".$arr['province'].",". $arr['city'].",".$arr['district'].")"; $address = $GLOBALS['db']->getAll($sql); foreach($address as $value) { $arr['address1'] .= $value['region_name']."-"; }
ecshop 订单确认中显示省市地址信息的方法
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@