주문내역 배송업체 선택부분 수정
This commit is contained in:
@ -2068,6 +2068,22 @@ function save_order_point($ct_status="완료")
|
||||
}
|
||||
|
||||
|
||||
// 배송업체 리스트 얻기
|
||||
function get_delivery_company($company)
|
||||
{
|
||||
$option = '<option value="">없음</option>'.PHP_EOL;
|
||||
$option .= '<option value="자체배송" '.get_selected($company, '자체배송').'>자체배송</option>'.PHP_EOL;
|
||||
|
||||
$dlcomp = explode(")", str_replace("(", "", G5_DELIVERY_COMPANY));
|
||||
for ($i=0; $i<count($dlcomp); $i++) {
|
||||
if (trim($dlcomp[$i])=="") continue;
|
||||
list($value, $url, $tel) = explode("^", $dlcomp[$i]);
|
||||
$option .= '<option value="'.$value.'" '.get_selected($company, $value).'>'.$value.'</option>'.PHP_EOL;
|
||||
}
|
||||
|
||||
return $option;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
// 쇼핑몰 라이브러리 모음 끝
|
||||
//==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user