Changeset 21441 for branches/version-2_12-dev/data/class/pages/shopping
- Timestamp:
- 2012/02/06 11:05:15 (12 years ago)
- Location:
- branches/version-2_12-dev/data/class/pages/shopping
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping.php
r21437 r21441 126 126 127 127 // モバイルサイトで携帯アドレスの登録が無い場合、携帯アドレス登録ページへ遷移 128 if (SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) {129 if ($this->hasEmailMobile($objCustomer) == false) {128 if (SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) { 129 if ($this->hasEmailMobile($objCustomer) == false) { 130 130 SC_Response_Ex::sendRedirectFromUrlPath('entry/email_mobile.php'); 131 131 exit; … … 150 150 else { 151 151 // 仮登録の場合 152 if ($this->checkTempCustomer($objFormParam->getValue('login_email'))) {152 if ($this->checkTempCustomer($objFormParam->getValue('login_email'))) { 153 153 if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_SMARTPHONE) { 154 154 echo $this->lfGetErrorMessage(TEMP_LOGIN_ERROR); … … 510 510 case DEVICE_TYPE_PC: 511 511 default: 512 if (!$objCustomer->getCustomerDataFromEmailPass($login_pass, $login_email)) {512 if (!$objCustomer->getCustomerDataFromEmailPass($login_pass, $login_email)) { 513 513 return false; 514 514 } else { -
branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Confirm.php
r21420 r21441 121 121 122 122 // 会員ログインチェック 123 if ($objCustomer->isLoginSuccess(true)) {123 if ($objCustomer->isLoginSuccess(true)) { 124 124 $this->tpl_login = '1'; 125 125 $this->tpl_user_point = $objCustomer->getValue('point'); … … 129 129 $this->use_module = $this->useModule($this->arrForm['payment_id']); 130 130 131 switch ($this->getMode()) {131 switch ($this->getMode()) { 132 132 // 前のページに戻る 133 133 case 'return': -
branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Deliv.php
r21437 r21441 105 105 $arrForm = $objFormParam->getHashArray(); 106 106 107 switch ($this->getMode()) {107 switch ($this->getMode()) { 108 108 // 削除 109 109 case 'delete': -
branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php
r21420 r21441 129 129 $this->arrDelivDate = $objPurchase->getDelivDate($objCartSess, $cart_key); 130 130 131 switch ($this->getMode()) {131 switch ($this->getMode()) { 132 132 /* 133 133 * 配送業者選択時のアクション … … 292 292 } 293 293 294 if ($arrForm['point_check'] == '1') {294 if ($arrForm['point_check'] == '1') { 295 295 $objErr->doFunc(array("ポイントを使用する", "point_check"), array("EXIST_CHECK")); 296 296 $objErr->doFunc(array("ポイント", "use_point"), array("EXIST_CHECK")); 297 if ($max_point == "") {297 if ($max_point == "") { 298 298 $max_point = 0; 299 299 } 300 300 // FIXME mobile 互換のため br は閉じない... 301 if ($arrForm['use_point'] > $max_point) {301 if ($arrForm['use_point'] > $max_point) { 302 302 $objErr->arrErr['use_point'] = "※ ご利用ポイントが所持ポイントを超えています。<br>"; 303 303 } 304 if (($arrForm['use_point'] * POINT_VALUE) > $subtotal) {304 if (($arrForm['use_point'] * POINT_VALUE) > $subtotal) { 305 305 $objErr->arrErr['use_point'] = "※ ご利用ポイントがご購入金額を超えています。<br>"; 306 306 } … … 346 346 $arrForm['update_date'] = 'CURRENT_TIMESTAMP'; 347 347 348 if ($arrForm['point_check'] != '1') {348 if ($arrForm['point_check'] != '1') { 349 349 $arrForm['use_point'] = 0; 350 350 } … … 444 444 */ 445 445 function getMobileMainpage($is_single_deliv = true, $mode) { 446 switch ($mode) {446 switch ($mode) { 447 447 case 'select_deliv': 448 448 return 'shopping/payment.tpl';
Note: See TracChangeset
for help on using the changeset viewer.