Changeset 18654
- Timestamp:
- 2010/05/26 13:57:01 (14 years ago)
- Location:
- branches/comu-ver2/data/class/pages
- Files:
-
- 3 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 ?> -
branches/comu-ver2/data/class/pages/campaign/LC_Page_Campaign.php
r18275 r18654 195 195 for($i = 0; $i < count($arrProducts); $i++) { 196 196 $this->lfMakeSelect($arrProducts[$i]['product_id'], $arrClassName, $arrClassCatName); 197 // 購入制限数を取得198 $this->lfGetSaleLimit($arrProducts);199 197 } 200 198 … … 356 354 } 357 355 358 // 購入制限数の設定359 function lfGetSaleLimit($arrProduct) {360 //在庫が無限または購入制限値が設定値より大きい場合361 if (!SC_Utils_Ex::sfIsInt($arrProduct['sale_limit']) || $arrProduct['sale_limit'] > SALE_LIMIT_MAX) {362 $this->tpl_sale_limit[$arrProduct['product_id']] = SALE_LIMIT_MAX;363 } else {364 $this->tpl_sale_limit[$arrProduct['product_id']] = $arrProduct['sale_limit'];365 }366 }367 368 356 //支払方法の取得 369 357 //payment_id 1:代金引換 2:銀行振り込み 3:現金書留 -
branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php
r18636 r18654 231 231 $this->arrProduct = $arrRet[0]; 232 232 233 234 233 // サブタイトルを取得 235 234 $this->tpl_subtitle = $this->arrProduct['name'];
Note: See TracChangeset
for help on using the changeset viewer.