Changeset 18654 for branches/comu-ver2/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php
- Timestamp:
- 2010/05/26 13:57:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/admin/order/LC_Page_Admin_Order_ProductSelect.php
r18275 r18654 169 169 for($i = 0; $i < count($this->arrProducts); $i++) { 170 170 $this->lfMakeSelect($this->arrProducts[$i]['product_id'], $arrClassName, $arrClassCatName); 171 // 購入制限数を取得172 $this->lfGetSaleLimit($this->arrProducts[$i]);173 171 } 174 172 } … … 358 356 return $arrRet; 359 357 } 360 361 // 購入制限数の設定362 function lfGetSaleLimit($arrProduct) {363 //在庫が無限または購入制限値が設定値より大きい場合364 if (!SC_Utils_Ex::sfIsInt($arrProduct['sale_limit']) || $arrProduct['sale_limit'] > SALE_LIMIT_MAX) {365 $this->tpl_sale_limit[$arrProduct['product_id']] = SALE_LIMIT_MAX;366 } else {367 $this->tpl_sale_limit[$arrProduct['product_id']] = $arrProduct['sale_limit'];368 }369 }370 358 } 371 359 ?>
Note: See TracChangeset
for help on using the changeset viewer.