#210 cart 테이블에 배송비 지불방법만 기록하도록 수정

This commit is contained in:
chicpro
2013-06-13 13:48:35 +09:00
parent 1347cb9654
commit 79adb5d9b4
11 changed files with 71 additions and 49 deletions

View File

@ -35,6 +35,7 @@ include_once(G4_MSHOP_PATH.'/_head.php');
a.ct_point,
a.ct_qty,
a.ct_status,
a.ct_send_cost,
b.ca_id
from {$g4['shop_cart_table']} a left join {$g4['shop_item_table']} b on ( a.it_id = b.it_id )
where a.uq_id = '$s_uq_id'
@ -75,7 +76,7 @@ include_once(G4_MSHOP_PATH.'/_head.php');
}
// 개별배송비 계산
if($default['de_send_cost_case'] == '개별') {
if($default['de_send_cost_case'] == '개별' && !$row['ct_send_cost']) {
$it_send_cost += get_item_sendcost($row['it_id'], $sum['price'], $sum['qty']);
}