先添加顯示這些信息:
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']."-";
}