주문폼 접근 때 재고 체크하도록 수정
This commit is contained in:
13
js/shop.order.js
Normal file
13
js/shop.order.js
Normal file
@ -0,0 +1,13 @@
|
||||
var order_stock_check = function() {
|
||||
var result = "";
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: g5_url+"/shop/ajax.orderstock.php",
|
||||
cache: false,
|
||||
async: false,
|
||||
success: function(data) {
|
||||
result = data;
|
||||
}
|
||||
});
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user