무통장이 아닐 때 결제등록 체크 실행하도록 수정
This commit is contained in:
@ -10,8 +10,10 @@ $_GET = array_map("mysql_real_escape_string", $_GET);
|
|||||||
$_POST = array_map("mysql_real_escape_string", $_POST);
|
$_POST = array_map("mysql_real_escape_string", $_POST);
|
||||||
|
|
||||||
// 결제등록 완료 체크
|
// 결제등록 완료 체크
|
||||||
if($_POST['tran_cd'] == '' || $_POST['enc_info'] == '' || $_POST['enc_data'] == '')
|
if($od_settle_case != '무통장') {
|
||||||
alert('결제등록 요청 후 주문해 주십시오.');
|
if($_POST['tran_cd'] == '' || $_POST['enc_info'] == '' || $_POST['enc_data'] == '')
|
||||||
|
alert('결제등록 요청 후 주문해 주십시오.');
|
||||||
|
}
|
||||||
|
|
||||||
// 장바구니가 비어있는가?
|
// 장바구니가 비어있는가?
|
||||||
if (get_session("ss_direct"))
|
if (get_session("ss_direct"))
|
||||||
@ -243,6 +245,7 @@ $sql = " insert {$g4['shop_order_table']}
|
|||||||
od_shop_memo = '',
|
od_shop_memo = '',
|
||||||
od_hope_date = '$od_hope_date',
|
od_hope_date = '$od_hope_date',
|
||||||
od_time = '".G4_TIME_YMDHIS."',
|
od_time = '".G4_TIME_YMDHIS."',
|
||||||
|
od_mobile = '1',
|
||||||
od_ip = '$REMOTE_ADDR',
|
od_ip = '$REMOTE_ADDR',
|
||||||
od_settle_case = '$od_settle_case'
|
od_settle_case = '$od_settle_case'
|
||||||
";
|
";
|
||||||
|
|||||||
Reference in New Issue
Block a user