- Timestamp:
- 2010/02/12 18:46:50 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/class/pages/products/LC_Page_Products_List.php
r18432 r18562 478 478 if (is_array($arrProduct_id) && !empty($arrProduct_id)) { 479 479 $where .= ' AND product_id IN (' . implode(',', $arrProduct_id) . ')'; 480 } else { 481 // 一致させない 482 $where .= ' AND 0<>0'; 480 483 } 481 484 … … 542 545 for($i = 0; $i < count($this->arrProducts); $i++) { 543 546 $this->lfMakeSelect($this->arrProducts[$i]['product_id'], $arrClassName, $arrClassCatName); 544 // 購入制限数を取得545 $this->lfGetSaleLimit($this->arrProducts[$i]);546 547 } 547 548 } … … 716 717 } 717 718 718 // 購入制限数の設定719 function lfGetSaleLimit($product) {720 //在庫が無限または購入制限値が設定値より大きい場合721 if($product['sale_unlimited'] == 1 || $product['sale_limit'] > SALE_LIMIT_MAX) {722 $this->tpl_sale_limit[$product['product_id']] = SALE_LIMIT_MAX;723 } else {724 $this->tpl_sale_limit[$product['product_id']] = $product['sale_limit'];725 }726 }727 728 719 //支払方法の取得 729 720 //payment_id 1:代金引換 2:銀行振り込み 3:現金書留
Note: See TracChangeset
for help on using the changeset viewer.