주문폼 접근 때 재고 체크하도록 수정

This commit is contained in:
chicpro
2014-11-05 17:40:45 +09:00
parent 5e558626da
commit de2b734362
9 changed files with 235 additions and 44 deletions

13
js/shop.order.js Normal file
View 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;
}