- Timestamp:
- 2010/05/08 16:42:15 (14 years ago)
- Location:
- branches/comu-ver2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2
-
Property
svn:mergeinfo
set to
/branches/version-2_4 merged eligible
-
Property
svn:mergeinfo
set to
-
branches/comu-ver2/data/class/pages/products/LC_Page_Products_List.php
r18396 r18636 478 478 foreach ($this->arrProducts as $product) { 479 479 $arrProductId[] = $product['product_id']; 480 // 購入制限数を取得481 $this->lfGetSaleLimit($product);482 480 } 483 481 … … 524 522 525 523 return $objErr->arrErr; 526 }527 528 // 購入制限数の設定529 // XXX 標準実装では「tpl_sale_limit」は利用されていないようである。カスタマイズ用?530 function lfGetSaleLimit($arrProduct) {531 //在庫が無限または購入制限値が設定値より大きい場合532 if (!SC_Utils_Ex::sfIsInt($arrProduct['sale_limit']) || $arrProduct['sale_limit'] > SALE_LIMIT_MAX) {533 $this->tpl_sale_limit[$arrProduct['product_id']] = SALE_LIMIT_MAX;534 } else {535 $this->tpl_sale_limit[$arrProduct['product_id']] = $arrProduct['sale_limit'];536 }537 524 } 538 525
Note: See TracChangeset
for help on using the changeset viewer.