- Timestamp:
- 2009/06/06 03:19:45 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/shopping/LC_Page_Shopping_Payment.php
r18049 r18052 74 74 $objDb = new SC_Helper_DB_Ex(); 75 75 $this->objCustomer = new SC_Customer(); 76 $objSiteInfo = $objView->objSiteInfo;77 $arrInfo = $objSiteInfo->data;78 76 79 77 // パラメータ管理クラス … … 100 98 101 99 // 金額の取得 (購入途中で売り切れた場合にはこの関数内にてその商品の数量が0になる) 102 $objDb->sfTotalCart($this, $objCartSess , $arrInfo);100 $objDb->sfTotalCart($this, $objCartSess); 103 101 104 102 if (empty($arrData)) $arrData = array(); 105 $this->arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess , $arrInfo);103 $this->arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess); 106 104 107 105 // カート内の商品の売り切れチェック … … 149 147 } 150 148 151 // 店舗情報の取得152 $arrInfo = $objSiteInfo->data;153 149 // 購入金額の取得得 154 $total_pretax = $objCartSess->getAllProductsTotal( $arrInfo);150 $total_pretax = $objCartSess->getAllProductsTotal(); 155 151 // 支払い方法の取得 156 152 $this->arrPayment = $this->lfGetPayment($total_pretax); … … 189 185 $this->objCustomer = new SC_Customer(); 190 186 $objDb = new SC_Helper_DB_Ex(); 191 $objSiteInfo = $objView->objSiteInfo;192 $arrInfo = $objSiteInfo->data;193 187 194 188 // パラメータ管理クラス … … 211 205 212 206 // 金額の取得 (購入途中で売り切れた場合にはこの関数内にてその商品の数量が0になる) 213 $objDb->sfTotalCart($this, $objCartSess , $arrInfo);207 $objDb->sfTotalCart($this, $objCartSess); 214 208 if (empty($arrData)) $arrData = array(); 215 $this->arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess , $arrInfo);209 $this->arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess); 216 210 217 211 // カート内の商品の売り切れチェック … … 295 289 } 296 290 297 // 店舗情報の取得298 $arrInfo = $objSiteInfo->data;299 291 // 購入金額の取得得 300 $total_pretax = $objCartSess->getAllProductsTotal( $arrInfo);292 $total_pretax = $objCartSess->getAllProductsTotal(); 301 293 // 支払い方法の取得 302 294 $this->arrPayment = $this->lfGetPayment($total_pretax); … … 398 390 } 399 391 400 $objView = new SC_MobileView();401 $objSiteInfo = $objView->objSiteInfo;402 $arrInfo = $objSiteInfo->data;403 392 $objCartSess = new SC_CartSession(); 404 $arrInfo = $objSiteInfo->data;405 393 // 購入金額の取得得 406 $total_pretax = $objCartSess->getAllProductsTotal( $arrInfo);394 $total_pretax = $objCartSess->getAllProductsTotal(); 407 395 // 支払い方法の取得 408 396 $arrPayment = $this->lfGetPayment($total_pretax);
Note: See TracChangeset
for help on using the changeset viewer.