Ignore:
Timestamp:
2011/01/14 18:40:07 (15 years ago)
Author:
kotani
Message:

#754 モバイルサイト ポイント機能対応

Location:
branches/version-2_5-dev/data/class/pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/mypage/LC_Page_Mypage.php

    r19908 r19915  
    209209            $this->CustomerName1 = $objCustomer->getvalue('name01'); 
    210210            $this->CustomerName2 = $objCustomer->getvalue('name02'); 
     211            $this->CustomerPoint = $objCustomer->getvalue('point'); 
    211212        } 
    212213    } 
  • branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r19908 r19915  
    139139        if (!isset($_POST['mode'])) $_POST['mode'] = ""; 
    140140 
    141         // 戻るボタンの処理(モバイル) 
    142         if (Net_UserAgent_Mobile::isMobile() === true) { 
    143             if (!empty($_POST['return'])) { 
    144                 switch ($_POST['mode']) { 
    145                 case 'confirm': 
    146                     $_POST['mode'] = 'payment'; 
    147                     break; 
    148                 default: 
    149                     // 正常な推移であることを記録しておく 
    150                     $objSiteSess->setRegistFlag(); 
    151                     if ($this->cartdown == 2) { 
    152                         // ダウンロード商品のみの場合はカート画面へ戻る 
    153                         SC_Response_Ex::sendRedirect(CART_URL_PATH); 
    154                     } else { 
    155                         SC_Response_Ex::sendRedirect(SHOPPING_URL); 
    156                     } 
    157                     exit; 
    158                 } 
    159             } 
    160         } 
    161  
    162141        switch($_POST['mode']) { 
    163         // お届け日時指定(モバイル) 
    164         case 'deliv_date': 
    165             // 入力値の変換 
    166             $this->objFormParam->convParam(); 
    167             $this->arrErr = $this->lfCheckError($this->arrData, $this->arrPayment); 
    168             if (!isset($this->arrErr['payment_id'])) { 
    169                 // 支払い方法の入力エラーなし 
    170                 $this->tpl_mainpage = 'shopping/deliv_date.tpl'; 
    171                 $this->tpl_title = "お届け日時指定"; 
    172                 break; 
    173             } else { 
    174                 // ユーザユニークIDの取得 
    175                 $uniqid = $objSiteSess->getUniqId(); 
    176                 // 受注一時テーブルからの情報を格納 
    177                 $this->lfSetOrderTempData($uniqid); 
    178             } 
    179             break; 
    180142        case 'confirm': 
    181143            // 入力値の変換 
     
    198160                // 受注一時テーブルからの情報を格納 
    199161                $this->lfSetOrderTempData($uniqid); 
    200                 if (Net_UserAgent_Mobile::isMobile() === true && !isset($this->arrErr['payment_id'])) { 
    201                     // 支払い方法の入力エラーなし 
    202                     $this->tpl_mainpage = 'shopping/deliv_date.tpl'; 
    203                     $this->tpl_title = "お届け日時指定"; 
    204                 } 
    205162            } 
    206163            break; 
     
    244201        $this->objFormParam->addParam("お支払い方法", "payment_id", INT_LEN, "n", array("EXIST_CHECK", "MAX_LENGTH_CHECK", "NUM_CHECK")); 
    245202        $this->objFormParam->addParam("ポイント", "use_point", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK", "ZERO_START")); 
    246         $this->objFormParam->addParam("ご質問", "message", LTEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     203        $this->objFormParam->addParam("その他お問い合わせ", "message", LTEXT_LEN, "KVa", array("SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
    247204        $this->objFormParam->addParam("ポイントを使用する", "point_check", INT_LEN, "n", array("MAX_LENGTH_CHECK", "NUM_CHECK"), '2'); 
    248205 
Note: See TracChangeset for help on using the changeset viewer.