diff --git a/mobile/shop/orderform.php b/mobile/shop/orderform.php index 01bcc6b49..b78b250c6 100644 --- a/mobile/shop/orderform.php +++ b/mobile/shop/orderform.php @@ -1353,7 +1353,7 @@ function payment_check(f) if (document.getElementById("od_settle_iche")) { if (document.getElementById("od_settle_iche").checked) { - if (tot_price - temp_point < 150) { + if (tot_price < 150) { alert("계좌이체는 150원 이상 결제가 가능합니다."); return false; } @@ -1362,7 +1362,7 @@ function payment_check(f) if (document.getElementById("od_settle_card")) { if (document.getElementById("od_settle_card").checked) { - if (tot_price - temp_point < 1000) { + if (tot_price < 1000) { alert("신용카드는 1000원 이상 결제가 가능합니다."); return false; } @@ -1371,7 +1371,7 @@ function payment_check(f) if (document.getElementById("od_settle_hp")) { if (document.getElementById("od_settle_hp").checked) { - if (tot_price - temp_point < 350) { + if (tot_price < 350) { alert("휴대폰은 350원 이상 결제가 가능합니다."); return false; } diff --git a/shop/orderform.php b/shop/orderform.php index 182d81216..918c9dfd7 100644 --- a/shop/orderform.php +++ b/shop/orderform.php @@ -1275,7 +1275,7 @@ function forderform_check(f) if (document.getElementById("od_settle_iche")) { if (document.getElementById("od_settle_iche").checked) { - if (tot_price - temp_point < 150) { + if (tot_price < 150) { alert("계좌이체는 150원 이상 결제가 가능합니다."); return false; } @@ -1284,7 +1284,7 @@ function forderform_check(f) if (document.getElementById("od_settle_card")) { if (document.getElementById("od_settle_card").checked) { - if (tot_price - temp_point < 1000) { + if (tot_price < 1000) { alert("신용카드는 1000원 이상 결제가 가능합니다."); return false; } @@ -1293,7 +1293,7 @@ function forderform_check(f) if (document.getElementById("od_settle_hp")) { if (document.getElementById("od_settle_hp").checked) { - if (tot_price - temp_point < 350) { + if (tot_price < 350) { alert("휴대폰은 350원 이상 결제가 가능합니다."); return false; }