Ignore:
Timestamp:
2010/03/11 10:35:11 (14 years ago)
Author:
kajiwara
Message:

正式版にナイトリービルド版をマージしてみるテスト

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tmp/version-2_5-test/data/class/pages/shopping/LC_Page_Shopping_Confirm.php

    r18432 r18609  
    5353        $this->arrMAILMAGATYPE = $masterData->getMasterData("mtb_mail_magazine_type"); 
    5454        $this->arrReminder = $masterData->getMasterData("mtb_reminder"); 
    55  
    56         $this->allowClientCache(); 
     55        $this->httpCacheControl('nocache'); 
    5756    } 
    5857 
     
    7170        $objCampaignSess = new SC_CampaignSession(); 
    7271        $objCustomer = new SC_Customer(); 
    73         $arrInfo = $objSiteInfo->data; 
    7472        $objQuery = new SC_Query(); 
    7573        $objDb = new SC_Helper_DB_Ex(); 
     
    8381 
    8482        // カート集計処理 
    85         $objDb->sfTotalCart($this, $objCartSess, $arrInfo); 
     83        $objDb->sfTotalCart($this, $objCartSess); 
    8684        if (strlen($this->tpl_message) >= 1) { 
    8785            SC_Utils_Ex::sfDispSiteError(SOLD_OUT, '', true); 
     
    9088        $arrData = $objDb->sfGetOrderTemp($uniqid); 
    9189        // カート集計を元に最終計算 
    92         $arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess, $arrInfo, $objCustomer, $objCampaignSess); 
     90        $arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess, null, $objCustomer); 
    9391        // キャンペーンからの遷移で送料が無料だった場合の処理 
    9492        if($objCampaignSess->getIsCampaign()) { 
     
    10199        } 
    102100 
    103  
    104         // カート内の商品の売り切れチェック 
    105         $objCartSess->chkSoldOut($objCartSess->getCartList()); 
    106  
    107101        // 会員ログインチェック 
    108102        if($objCustomer->isLoginSuccess()) { 
     
    164158 
    165159        $this->arrData = $arrData; 
    166         $this->arrInfo = $arrInfo; 
     160        $this->arrInfo = $objSiteInfo->data; 
    167161        $objView->assignobj($this); 
    168162        // フレームを選択(キャンペーンページから遷移なら変更) 
     
    190184        $objSiteSess = new SC_SiteSession(); 
    191185        $objCustomer = new SC_Customer(); 
    192         $arrInfo = $objSiteInfo->data; 
    193186        $objQuery = new SC_Query(); 
    194187        $objDb = new SC_Helper_DB_Ex(); 
    195188 
    196189        // 前のページで正しく登録手続きが行われた記録があるか判定 
    197         SC_Utils_Ex::sfIsPrePage($objSiteSess, true); 
     190        SC_Utils_Ex::sfIsPrePage($objSiteSess); 
    198191 
    199192        // ユーザユニークIDの取得と購入状態の正当性をチェック 
     
    202195 
    203196        // カート集計処理 
    204         $objDb->sfTotalCart($this, $objCartSess, $arrInfo); 
     197        $objDb->sfTotalCart($this, $objCartSess); 
     198        if (strlen($this->tpl_message) >= 1) { 
     199            SC_Utils_Ex::sfDispSiteError(SOLD_OUT, '', true); 
     200        } 
    205201        // 一時受注テーブルの読込 
    206202        $arrData = $objDb->sfGetOrderTemp($uniqid); 
    207203        // カート集計を元に最終計算 
    208         $arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess, $arrInfo, $objCustomer); 
    209  
    210         // カート内の商品の売り切れチェック 
    211         $objCartSess->chkSoldOut($objCartSess->getCartList()); 
     204        $arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess, null, $objCustomer); 
    212205 
    213206        // 会員ログインチェック 
     
    268261        } 
    269262        $this->arrData = $arrData; 
    270         $this->arrInfo = $arrInfo; 
     263        $this->arrInfo = $objSiteInfo->data; 
    271264        $objView->assignobj($this); 
    272265        $objView->display(SITE_FRAME); 
Note: See TracChangeset for help on using the changeset viewer.