From 58f83ae87284841850350aa805544d0292b2a0f8 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 13 Jun 2013 14:12:36 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#228=20=EC=9E=A5?= =?UTF-8?q?=EB=B0=94=EA=B5=AC=EB=8B=88=20=EC=BF=A0=ED=8F=B0=EA=B8=88?= =?UTF-8?q?=EC=95=A1=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/cart.php | 33 ++++++++++++--------------------- shop/cart.php | 33 ++++++++++++++------------------- 2 files changed, 26 insertions(+), 40 deletions(-) diff --git a/mobile/shop/cart.php b/mobile/shop/cart.php index f0b77eb1a..ed340f86f 100644 --- a/mobile/shop/cart.php +++ b/mobile/shop/cart.php @@ -130,29 +130,20 @@ include_once(G4_MSHOP_PATH.'/_head.php'); 0) - { + $tot_amount = $tot_sell_amount + $send_cost; // 총계 = 주문상품금액합계 + 배송비 + if ($tot_amount > 0 || $send_cost > 0) { ?> +
+ 0) { // 배송비가 0 보다 크다면 (있다면) ?> +
배송비
+
+ -
- 배송비 - -
- - - - 0) { - ?> - -
- 총계 - -
- + 0) { ?> +
총계
+
+ +
diff --git a/shop/cart.php b/shop/cart.php index dac1e3c64..280eda6f4 100644 --- a/shop/cart.php +++ b/shop/cart.php @@ -176,29 +176,24 @@ include_once('./_head.php'); 0) - { + $tot_amount = $tot_sell_amount + $send_cost; // 총계 = 주문상품금액합계 + 배송비 + if ($tot_amount > 0 || $send_cost > 0) { ?> +
+ 0) { // 배송비가 0 보다 크다면 (있다면) ?> +
배송비
+
+ -
- 배송비 - -
+ 0) { + ?> - - - 0) { - ?> - -
- 총계 - -
+
총계
+
+ +