- Timestamp:
- 2008/08/08 00:00:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/shopping/LC_Page_Shopping_Complete.php
r17444 r17509 639 639 // 在庫を減らす処理 640 640 function lfReduceStock(&$objQuery, $arrID, $quantity) { 641 $objDb = new SC_Helper_DB_Ex(); 642 641 643 $where = "product_id = ? AND classcategory_id1 = ? AND classcategory_id2 = ?"; 642 644 $arrRet = $objQuery->select("stock, stock_unlimited", "dtb_products_class", $where, $arrID); … … 658 660 $objQuery->update("dtb_products_class", $sqlval, $where, $arrID); 659 661 } 662 663 // 在庫無し商品の非表示対応 664 if (NOSTOCK_HIDDEN === true) { 665 // 件数カウントバッチ実行 666 $objDb->sfCategory_Count($objQuery); 667 } 668 660 669 } 661 670
Note: See TracChangeset
for help on using the changeset viewer.