diff --git a/mobile/shop/cart.php b/mobile/shop/cart.php index 44702b385..844d1b713 100644 --- a/mobile/shop/cart.php +++ b/mobile/shop/cart.php @@ -74,6 +74,11 @@ $cart_count = mysql_num_rows($result); $it_name .= '
'.$it_options.'
'; } + // 배송비 + $ct_send_cost = '선불'; + if($row['ct_send_cost']) + $ct_send_cost = '착불'; + $point = $sum['point']; $sell_price = $sum['price']; ?> @@ -91,6 +96,7 @@ $cart_count = mysql_num_rows($result);
판매가 수량 + 배송비
diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index 9b087207d..19c12ecd0 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -166,6 +166,11 @@ ob_start(); $it_cp_count++; } } + + // 배송비 + $ct_send_cost = '선불'; + if($ct_send_cost) + $ct_send_cost = '착불'; ?>
  • @@ -181,6 +186,7 @@ ob_start();
    판매가 수량 + 배송비
    diff --git a/mobile/shop/orderinquiryview.php b/mobile/shop/orderinquiryview.php index b7977dccb..5af9bcd2b 100644 --- a/mobile/shop/orderinquiryview.php +++ b/mobile/shop/orderinquiryview.php @@ -34,7 +34,7 @@ include_once(G5_MSHOP_PATH.'/_head.php'); $st_count1 = $st_count2 = 0; $custom_cancel = false; - $sql = " select it_id, it_name, cp_price + $sql = " select it_id, it_name, cp_price, ct_send_cost from {$g5['g5_shop_cart_table']} where od_id = '$od_id' group by it_id @@ -55,6 +55,11 @@ include_once(G5_MSHOP_PATH.'/_head.php'); and it_id = '{$row['it_id']}' order by io_type asc, ct_id asc "; $res = sql_query($sql); + + // 배송비 + $ct_send_cost = '선불'; + if($row['ct_send_cost']) + $ct_send_cost = '착불'; ?>
  • @@ -74,8 +79,9 @@ include_once(G5_MSHOP_PATH.'/_head.php');
    판매가 수량 + 배송비 + 상태
    -
    주문금액 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) { +