조건부 무료 상품의 경우 배송비가 0일 때 무료로 표시되도록 수정
This commit is contained in:
@ -57,6 +57,7 @@ ob_start();
|
||||
a.ct_qty,
|
||||
a.ct_status,
|
||||
a.ct_send_cost,
|
||||
a.it_sc_type,
|
||||
b.ca_id,
|
||||
b.ca_id2,
|
||||
b.ca_id3,
|
||||
@ -180,6 +181,14 @@ ob_start();
|
||||
$ct_send_cost = '선불';
|
||||
break;
|
||||
}
|
||||
|
||||
// 조건부무료
|
||||
if($row['it_sc_type'] == 2) {
|
||||
$sendcost = get_item_sendcost($row['it_id'], $sum['price'], $sum['qty'], $s_cart_id);
|
||||
|
||||
if($sendcost == 0)
|
||||
$ct_send_cost = '무료';
|
||||
}
|
||||
?>
|
||||
|
||||
<li class="sod_li">
|
||||
|
||||
Reference in New Issue
Block a user