cart 테이블의 ct_num 제거

This commit is contained in:
chicpro
2013-08-27 10:46:26 +09:00
parent 067f2dacb0
commit 476119f53a
19 changed files with 44 additions and 66 deletions

View File

@ -57,7 +57,7 @@ include_once(G4_MSHOP_PATH.'/_head.php');
$sql = " select it_id, it_name, cp_amount
from {$g4['shop_cart_table']}
where od_id = '$od_id'
and ct_num = '0'
group by it_id
order by ct_id ";
$result = sql_query($sql);
?>
@ -89,7 +89,7 @@ include_once(G4_MSHOP_PATH.'/_head.php');
from {$g4['shop_cart_table']}
where od_id = '$od_id'
and it_id = '{$row['it_id']}'
order by ct_num ";
order by it_type asc, ct_id asc ";
$res = sql_query($sql);
$ct_list = array();