diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index 1667a7904..1799eee87 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -572,6 +572,10 @@ ob_end_clean(); + + 결제할인금액 + 0원 + 0) { ?> @@ -581,6 +585,10 @@ ob_end_clean(); + + 배송비할인금액 + 0원 + 총 주문금액 @@ -924,6 +932,9 @@ $(function() { $("input[name=od_price]").val(od_price - price); $("input[name=od_cp_id]").val(cp_id); $("input[name=od_coupon]").val(price); + $("input[name=od_send_coupon]").val(0); + $("#od_cp_price").text(number_format(String(price))); + $("#sc_cp_price").text(0); calculate_order_price(); $("#od_coupon_frm").remove(); $("#od_coupon_btn").text("쿠폰변경").focus(); @@ -943,6 +954,8 @@ $(function() { $("input[name=sc_cp_id]").val(""); $("input[name=od_coupon]").val(0); $("input[name=od_send_coupon]").val(0); + $("#od_cp_price").text(0); + $("#sc_cp_price").text(0); calculate_order_price(); $("#od_coupon_frm").remove(); $("#od_coupon_btn").text("쿠폰적용").focus(); @@ -980,6 +993,7 @@ $(function() { $("input[name=sc_cp_id]").val(cp_id); $("input[name=od_send_coupon]").val(price); + $("#sc_cp_price").text(number_format(String(price))); calculate_order_price(); $("#sc_coupon_frm").remove(); $("#sc_coupon_btn").text("쿠폰변경").focus(); @@ -994,6 +1008,7 @@ $(function() { $("#sc_coupon_cancel").live("click", function() { $("input[name=od_send_coupon]").val(0); + $("#sc_cp_price").text(0); calculate_order_price(); $("#sc_coupon_frm").remove(); $("#sc_coupon_btn").text("쿠폰적용").focus(); diff --git a/shop/orderform.php b/shop/orderform.php index 441856956..17dd6e0ed 100644 --- a/shop/orderform.php +++ b/shop/orderform.php @@ -810,6 +810,10 @@ function get_intall_file() + + 결제할인금액 + 0원 + 0) { ?> @@ -819,6 +823,10 @@ function get_intall_file() + + 배송비할인금액 + 0원 + 총 주문금액 @@ -1145,6 +1153,9 @@ $(function() { $("input[name=od_price]").val(od_price - price); $("input[name=od_cp_id]").val(cp_id); $("input[name=od_coupon]").val(price); + $("input[name=od_send_coupon]").val(0); + $("#od_cp_price").text(number_format(String(price))); + $("#sc_cp_price").text(0); calculate_order_price(); $("#od_coupon_frm").remove(); $("#od_coupon_btn").text("쿠폰변경").focus(); @@ -1164,6 +1175,8 @@ $(function() { $("input[name=sc_cp_id]").val(""); $("input[name=od_coupon]").val(0); $("input[name=od_send_coupon]").val(0); + $("#od_cp_price").text(0); + $("#sc_cp_price").text(0); calculate_order_price(); $("#od_coupon_frm").remove(); $("#od_coupon_btn").text("쿠폰적용").focus(); @@ -1201,6 +1214,7 @@ $(function() { $("input[name=sc_cp_id]").val(cp_id); $("input[name=od_send_coupon]").val(price); + $("#sc_cp_price").text(number_format(String(price))); calculate_order_price(); $("#sc_coupon_frm").remove(); $("#sc_coupon_btn").text("쿠폰변경").focus(); @@ -1215,6 +1229,7 @@ $(function() { $("#sc_coupon_cancel").live("click", function() { $("input[name=od_send_coupon]").val(0); + $("#sc_cp_price").text(0); calculate_order_price(); $("#sc_coupon_frm").remove(); $("#sc_coupon_btn").text("쿠폰적용").focus();