diff --git a/orderupgrade.php b/orderupgrade.php index 14a84ceca..3c5914002 100644 --- a/orderupgrade.php +++ b/orderupgrade.php @@ -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 '

장바구니 테이블 업그레이드 완료!

'; } + +include_once(G5_PATH.'/tail.sub.php'); ?> \ No newline at end of file