포인트지급 기준금액 및 추가옵션 지급 포인트 설정 추가

This commit is contained in:
chicpro
2014-03-11 15:53:55 +09:00
parent 35318b54bf
commit d36a5a3fc1
12 changed files with 81 additions and 34 deletions

View File

@ -141,11 +141,6 @@ else // 장바구니에 담기
$lst_count++;
}
// 포인트
$point = 0;
if($config['cf_use_point'])
$point = get_item_point($it);
//--------------------------------------------------------
// 재고 검사
//--------------------------------------------------------
@ -240,6 +235,19 @@ else // 장바구니에 담기
continue;
}
// 포인트
$point = 0;
if($config['cf_use_point']) {
if($io_type == 0) {
$point = get_item_point($it, $io_id);
} else {
$point = $it['it_supply_point'];
}
if($point < 0)
$point = 0;
}
// 배송비결제
if($it['it_sc_type'] == 1)
$ct_send_cost = 2; // 무료