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

@ -195,11 +195,10 @@ if ($default['de_send_cost_case'] == '없음') {
}
} else { // 개별배송비
$send_cost = 0;
$sql = " select it_id
$sql = " select distinct it_id
from {$g4['shop_cart_table']}
where od_id = '$tmp_cart_id'
and ct_select = '1'
and ct_num = '0'
and ct_send_cost = '0' ";
$result = sql_query($sql);
for($i=0; $sc=sql_fetch_array($result); $i++) {
@ -514,7 +513,8 @@ if($is_member) {
where od_id = '$od_id'
and it_id = '$cp_it_id'
and ct_select = '1'
and ct_num = '0' ";
order by ct_id asc
limit 1 ";
sql_query($sql);
}