Ignore:
Timestamp:
2009/09/01 15:04:37 (15 years ago)
Author:
Seasoft
Message:
  • #540(LC_Page_Shopping_Confirm#process 「カート内の商品の売り切れチェック」が動作していない)を改修。
  • #544(サンプルデータで在庫制限が異常動作)を改修。
  • #534(dtb_products.sale_unlimited は不要)を改善。
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php

    r18142 r18275  
    214214 
    215215        // 購入制限数を取得 
    216         if($this->arrProduct['sale_unlimited'] == 1 || $this->arrProduct['sale_limit'] > SALE_LIMIT_MAX) { 
     216        if (!SC_Utils_Ex::sfIsInt($this->arrProduct['sale_limit']) || $this->arrProduct['sale_limit'] > SALE_LIMIT_MAX) { 
    217217          $this->tpl_sale_limit = SALE_LIMIT_MAX; 
    218218        } else { 
     
    427427 
    428428        // 購入制限数を取得 
    429         if($this->arrProduct['sale_unlimited'] == 1 || $this->arrProduct['sale_limit'] > SALE_LIMIT_MAX) { 
     429        if (!SC_Utils_Ex::sfIsInt($this->arrProduct['sale_limit']) || $this->arrProduct['sale_limit'] > SALE_LIMIT_MAX) { 
    430430            $this->tpl_sale_limit = SALE_LIMIT_MAX; 
    431431        } else { 
Note: See TracChangeset for help on using the changeset viewer.