장바구니 테이블 변경 프로그램 완료 문구 추가
This commit is contained in:
@ -4,6 +4,9 @@ include_once('./_common.php');
|
||||
if($is_admin != 'super')
|
||||
alert('최고관리자로 로그인 후 실행해 주십시오.', G5_URL);
|
||||
|
||||
$g5['title'] = '장바구니 테이블 업그레이드';
|
||||
include_once(G5_PATH.'/head.sub.php');
|
||||
|
||||
// 배송비정보 필드 cart 테이블에 추가
|
||||
if(!sql_query(" select it_sc_type from {$g5['g5_shop_cart_table']} limit 1 ", false)) {
|
||||
sql_query(" ALTER TABLE `{$g5['g5_shop_cart_table']}`
|
||||
@ -29,11 +32,15 @@ if(!sql_query(" select it_sc_type from {$g5['g5_shop_cart_table']} limit 1 ", fa
|
||||
$sql = " update {$g5['g5_shop_cart_table']}
|
||||
set it_sc_type = '{$it['it_sc_type']}',
|
||||
it_sc_method = '{$it['it_sc_method']}',
|
||||
it_sc_price = '{$it['it_sc_price']},
|
||||
it_sc_price = '{$it['it_sc_price']}',
|
||||
it_sc_minimum = '{$it['it_sc_minimum']}',
|
||||
it_sc_qty = '{$it['it_sc_qty']}'
|
||||
where ct_id = '{$row['ct_id']}' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
|
||||
echo '<p>장바구니 테이블 업그레이드 완료!</p>';
|
||||
}
|
||||
|
||||
include_once(G5_PATH.'/tail.sub.php');
|
||||
?>
|
||||
Reference in New Issue
Block a user