Changeset 22856 for branches/version-2_13-dev/data/class/SC_Product.php
- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/SC_Product.php
r22833 r22856 31 31 class SC_Product 32 32 { 33 34 33 /** 規格名一覧 */ 35 34 var $arrClassName; … … 158 157 } 159 158 160 161 159 /** 162 160 * 商品IDを指定し、商品一覧を取得する … … 247 245 function setProductsClassByProductIds($arrProductId, $has_deleted = false) 248 246 { 249 250 247 foreach ($arrProductId as $productId) { 251 248 $arrProductClasses = $this->getProductsClassFullByProductId($productId, $has_deleted); … … 481 478 function setProductStatus($productId, $productStatusIds) 482 479 { 483 484 480 $val['product_id'] = $productId; 485 481 $val['creator_id'] = $_SESSION['member_id']; … … 534 530 function reduceStock($productClassId, $quantity) 535 531 { 536 537 532 if ($quantity == 0) { 538 533 return false; … … 776 771 function getProductDispConditions($tablename = null) { 777 772 $tablename = ($tablename) ? $tablename . '.' : null; 773 778 774 return $tablename . 'del_flg = 0 AND ' . $tablename . 'status = 1 '; 779 775 }
Note: See TracChangeset
for help on using the changeset viewer.