포인트지급 기준금액 및 추가옵션 지급 포인트 설정 추가
This commit is contained in:
@ -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; // 무료
|
||||
|
||||
Reference in New Issue
Block a user