주문금액
diff --git a/shop/cart.php b/shop/cart.php
index 21027e165..aee20e0dc 100644
--- a/shop/cart.php
+++ b/shop/cart.php
@@ -36,6 +36,7 @@ include_once('./_head.php');
판매가 |
소계 |
포인트 |
+
배송비 |
@@ -97,6 +98,11 @@ include_once('./_head.php');
$it_name .= ' '.$it_options.' ';
}
+ // 배송비
+ $ct_send_cost = '선불';
+ if($row['ct_send_cost'])
+ $ct_send_cost = '착불';
+
$point = $sum['point'];
$sell_price = $sum['price'];
?>
@@ -112,6 +118,7 @@ include_once('./_head.php');
| |
|
|
+
|
@@ -124,7 +131,7 @@ include_once('./_head.php');
} // for 끝
if ($i == 0) {
- echo ' | | 장바구니에 담긴 상품이 없습니다. |
';
+ echo '
| 장바구니에 담긴 상품이 없습니다. |
';
} else {
// 배송비 계산
$send_cost = get_sendcost($s_cart_id, 0);
diff --git a/shop/orderform.php b/shop/orderform.php
index 11183be26..0764751bb 100644
--- a/shop/orderform.php
+++ b/shop/orderform.php
@@ -178,6 +178,7 @@ function get_intall_file()
쿠폰 |
소계 |
포인트 |
+
배송비 |
@@ -302,6 +303,11 @@ function get_intall_file()
$it_cp_count++;
}
}
+
+ // 배송비
+ $ct_send_cost = '선불';
+ if($row['ct_send_cost'])
+ $ct_send_cost = '착불';
?>
@@ -322,6 +328,7 @@ function get_intall_file()
|
|
|
+ |
| 이미지 |
- 상품명 |
+ 상품명 |
| 옵션명 |
@@ -67,6 +67,7 @@ if(openwin != null) {
판매가 |
소계 |
포인트 |
+ 배송비 |
상태 |
@@ -75,7 +76,7 @@ if(openwin != null) {
for($i=0; $row=sql_fetch_array($result); $i++) {
$image = get_it_image($row['it_id'], 70, 70);
- $sql = " select ct_id, it_name, ct_option, ct_qty, ct_price, ct_point, ct_status, io_type, io_price
+ $sql = " select ct_id, it_name, ct_option, ct_qty, ct_price, ct_point, ct_status, io_type, io_price, ct_send_cost
from {$g5['g5_shop_cart_table']}
where od_id = '$od_id'
and it_id = '{$row['it_id']}'
@@ -83,6 +84,11 @@ if(openwin != null) {
$res = sql_query($sql);
$rowspan = mysql_num_rows($res) + 1;
+ // 배송비
+ $ct_send_cost = '선불';
+ if($row['ct_send_cost'])
+ $ct_send_cost = '착불';
+
for($k=0; $opt=sql_fetch_array($res); $k++) {
if($opt['io_type'])
$opt_price = $opt['io_price'];
@@ -96,7 +102,7 @@ if(openwin != null) {
?>
|
- |
+ |
@@ -105,6 +111,7 @@ if(openwin != null) {
|
|
|
+ |
|