Changeset 18654


Ignore:
Timestamp:
2010/05/26 13:57:01 (14 years ago)
Author:
Seasoft
Message:

#628(未使用処理・定義の削除)

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  
    169169            for($i = 0; $i < count($this->arrProducts); $i++) { 
    170170                $this->lfMakeSelect($this->arrProducts[$i]['product_id'], $arrClassName, $arrClassCatName); 
    171                 // 購入制限数を取得 
    172                 $this->lfGetSaleLimit($this->arrProducts[$i]); 
    173171            } 
    174172        } 
     
    358356        return $arrRet; 
    359357    } 
    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     } 
    370358} 
    371359?> 
  • branches/comu-ver2/data/class/pages/campaign/LC_Page_Campaign.php

    r18275 r18654  
    195195        for($i = 0; $i < count($arrProducts); $i++) { 
    196196            $this->lfMakeSelect($arrProducts[$i]['product_id'], $arrClassName, $arrClassCatName); 
    197             // 購入制限数を取得 
    198             $this->lfGetSaleLimit($arrProducts); 
    199197        } 
    200198 
     
    356354    } 
    357355 
    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  
    368356    //支払方法の取得 
    369357    //payment_id    1:代金引換 2:銀行振り込み 3:現金書留 
  • branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php

    r18636 r18654  
    231231        $this->arrProduct = $arrRet[0]; 
    232232 
    233          
    234233        // サブタイトルを取得 
    235234        $this->tpl_subtitle = $this->arrProduct['name']; 
Note: See TracChangeset for help on using the changeset viewer.