- Timestamp:
- 2009/09/01 15:04:37 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/shopping/LC_Page_Shopping_Payment.php
r18235 r18275 95 95 } 96 96 97 // 金額の取得 (購入途中で売り切れた場合にはこの関数内にてその商品の数量が0になる)97 // カート内商品の集計処理を行う 98 98 $objDb->sfTotalCart($this, $objCartSess); 99 100 if (empty($arrData)) $arrData = array(); 101 $this->arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess); 102 103 // カート内の商品の売り切れチェック 104 $objCartSess->chkSoldOut($objCartSess->getCartList()); 99 if (strlen($this->tpl_message) >= 1) { 100 SC_Utils_Ex::sfDispSiteError(SOLD_OUT, '', true); 101 } 102 103 $this->arrData = $objDb->sfTotalConfirm(array(), $this, $objCartSess); 105 104 106 105 if (!isset($_POST['mode'])) $_POST['mode'] = ""; … … 110 109 // 入力値の変換 111 110 $this->objFormParam->convParam(); 112 $this->arrErr = $this->lfCheckError($this->arrData 111 $this->arrErr = $this->lfCheckError($this->arrData); 113 112 // 入力エラーなし 114 113 if(count($this->arrErr) == 0) { … … 204 203 // 金額の取得 (購入途中で売り切れた場合にはこの関数内にてその商品の数量が0になる) 205 204 $objDb->sfTotalCart($this, $objCartSess); 206 if ( empty($arrData)) $arrData = array();207 $this->arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess);208 209 // カート内の商品の売り切れチェック210 $ objCartSess->chkSoldOut($objCartSess->getCartList(), true);205 if (strlen($this->tpl_message) >= 1) { 206 SC_Utils_Ex::sfDispSiteError(SOLD_OUT, '', true); 207 } 208 209 $this->arrData = $objDb->sfTotalConfirm(array(), $this, $objCartSess); 211 210 212 211 if (!isset($_POST['mode'])) $_POST['mode'] = ""; … … 247 246 // 入力値の変換 248 247 $this->objFormParam->convParam(); 249 $this->arrErr = $this->lfCheckError($this->arrData 248 $this->arrErr = $this->lfCheckError($this->arrData); 250 249 // 入力エラーなし 251 250 if(count($this->arrErr) == 0) {
Note: See TracChangeset
for help on using the changeset viewer.