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/SC_CartSession.php

    r18052 r18275  
    354354    } 
    355355 
    356     // カートの中の売り切れチェック 
    357     function chkSoldOut($arrCartList, $is_mobile = false){ 
    358         foreach($arrCartList as $key => $val){ 
    359             if($val['quantity'] == 0){ 
    360                 // 売り切れ商品をカートから削除する 
    361                 $this->delProduct($val['cart_no']); 
    362                 SC_Utils_Ex::sfDispSiteError(SOLD_OUT, "", true, "", $is_mobile); 
    363             } 
    364         } 
    365     } 
    366  
    367356    /** 
    368357     * カートの中のキャンペーン商品のチェック 
Note: See TracChangeset for help on using the changeset viewer.