- Timestamp:
- 2010/01/06 14:05:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_4-dev/data/class/pages/products/LC_Page_Products_List.php
r18418 r18465 542 542 for($i = 0; $i < count($this->arrProducts); $i++) { 543 543 $this->lfMakeSelect($this->arrProducts[$i]['product_id'], $arrClassName, $arrClassCatName); 544 // 購入制限数を取得545 $this->lfGetSaleLimit($this->arrProducts[$i]);546 544 } 547 545 } … … 716 714 } 717 715 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 716 //支払方法の取得 729 717 //payment_id 1:代金引換 2:銀行振り込み 3:現金書留
Note: See TracChangeset
for help on using the changeset viewer.