Ignore:
Timestamp:
2010/02/12 18:46:50 (14 years ago)
Author:
kajiwara
Message:

EC-CUBE Ver2.4.3 分コミット。詳細はこちら( http://www.ec-cube.net/release/detail.php?release_id=210

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/class/pages/products/LC_Page_Products_List.php

    r18432 r18562  
    478478        if (is_array($arrProduct_id) && !empty($arrProduct_id)) { 
    479479            $where .= ' AND product_id IN (' . implode(',', $arrProduct_id) . ')'; 
     480        } else { 
     481            // 一致させない 
     482            $where .= ' AND 0<>0'; 
    480483        } 
    481484 
     
    542545            for($i = 0; $i < count($this->arrProducts); $i++) { 
    543546                $this->lfMakeSelect($this->arrProducts[$i]['product_id'], $arrClassName, $arrClassCatName); 
    544                 // 購入制限数を取得 
    545                 $this->lfGetSaleLimit($this->arrProducts[$i]); 
    546547            } 
    547548        } 
     
    716717    } 
    717718 
    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  
    728719    //支払方法の取得 
    729720    //payment_id    1:代金引換 2:銀行振り込み 3:現金書留 
Note: See TracChangeset for help on using the changeset viewer.