#211 주문시 추가배송비 처리 코드 추가
This commit is contained in:
@ -116,6 +116,7 @@ include_once(G4_MSHOP_PATH.'/_head.php');
|
||||
}
|
||||
|
||||
$send_cost = $od['od_send_cost'];
|
||||
$send_cost2 = $od['od_send_cost2'];
|
||||
$send_coupon = $od['od_send_coupon'];
|
||||
$org_send_cost = $send_cost + $send_coupon;
|
||||
?>
|
||||
@ -124,7 +125,7 @@ include_once(G4_MSHOP_PATH.'/_head.php');
|
||||
<?php
|
||||
// 총계 = 주문상품금액합계 + 배송비 - 상품할인 - 결제할인
|
||||
$od_coupon = $od['od_coupon'];
|
||||
$tot_amount = $tot_sell_amount + $send_cost - $tot_cp_amount - $od_coupon;
|
||||
$tot_amount = $tot_sell_amount + $send_cost + $send_cost2 - $tot_cp_amount - $od_coupon;
|
||||
?>
|
||||
|
||||
<dl id="sod_bsk_tot">
|
||||
@ -151,6 +152,11 @@ include_once(G4_MSHOP_PATH.'/_head.php');
|
||||
<dd class="sod_bsk_dvr"><strong><?php echo number_format($send_coupon); ?> 원</strong></dd>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($org_send_cost2 > 0) { ?>
|
||||
<dt class="sod_bsk_dvr">추가배송비</dt>
|
||||
<dd class="sod_bsk_dvr"><strong><?php echo number_format($org_send_cost2); ?> 원</strong></dd>
|
||||
<?php } ?>
|
||||
|
||||
<dt class="sod_bsk_cnt">총계</dt>
|
||||
<dd class="sod_bsk_cnt"><strong><?php echo number_format($tot_amount); ?> 원</strong></dd>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user