상품쿠폰 적용 후 주문쿠폰 적용시 금액 오류 수정
This commit is contained in:
1 parent
73c54f6333
commit
1b16512ddb
2 files changed
+2
-2
No files matched your search
@@ -908,7 +908,7 @@ $(function() {
|
||||
$("#od_coupon_btn").click(function() {
|
||||
$("#od_coupon_frm").remove();
|
||||
var $this = $(this);
|
||||
var price = parseInt($("input[name=org_od_price]").val());
|
||||
var price = parseInt($("input[name=org_od_price]").val()) - parseInt($("input[name=item_coupon]").val());
|
||||
$.post(
|
||||
"./ordercoupon.php",
|
||||
{ price: price },
|
||||
|
||||
+1
-1
@@ -1171,7 +1171,7 @@ $(function() {
|
||||
$("#od_coupon_btn").click(function() {
|
||||
$("#od_coupon_frm").remove();
|
||||
var $this = $(this);
|
||||
var price = parseInt($("input[name=org_od_price]").val());
|
||||
var price = parseInt($("input[name=org_od_price]").val()) - parseInt($("input[name=item_coupon]").val());
|
||||
$.post(
|
||||
"./ordercoupon.php",
|
||||
{ price: price },
|
||||
|
||||
Reference in new issue
Block a user