- Timestamp:
- 2007/10/19 23:07:18 (16 years ago)
- Location:
- branches/feature-module-update/data/class
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/SC_Customer.php
r16380 r16527 171 171 function setLogin($email) { 172 172 // 本登録された会員のみ 173 $sql = "SELECT * FROM dtb_customer WHERE email = ?AND del_flg = 0 AND status = 2";174 $result = $this->conn->getAll($sql, array($email ));173 $sql = "SELECT * FROM dtb_customer WHERE (email = ? OR email_mobile = ?) AND del_flg = 0 AND status = 2"; 174 $result = $this->conn->getAll($sql, array($email, $email)); 175 175 $data = isset($result[0]) ? $result[0] : ""; 176 176 $this->customer_data = $data; -
branches/feature-module-update/data/class/helper/SC_Helper_DB.php
r16382 r16527 411 411 $objCustomer = new SC_Customer(); 412 412 // 会員情報登録処理 413 if ($objCustomer->isLoginSuccess( )) {413 if ($objCustomer->isLoginSuccess(true)) { 414 414 // 登録データの作成 415 415 $sqlval['order_temp_id'] = $uniqid; … … 430 430 $sqlval['order_tel03'] = $objCustomer->getValue('tel03'); 431 431 if (defined('MOBILE_SITE')) { 432 $sqlval['order_email'] = $objCustomer->getValue('email_mobile'); 432 $email_mobile = $objCustomer->getValue('email_mobile'); 433 if (empty($email_mobile)) { 434 $sqlval['order_email'] = $objCustomer->getValue('email'); 435 } else { 436 $sqlval['order_email'] = $email_mobile; 437 } 433 438 } else { 434 439 $sqlval['order_email'] = $objCustomer->getValue('email'); -
branches/feature-module-update/data/class/pages/shopping/LC_Page_Shopping_Deliv.php
r16497 r16527 258 258 // 仮登録の判定 259 259 $objQuery = new SC_Query; 260 $where = " email = ?AND status = 1 AND del_flg = 0";261 $ret = $objQuery->count("dtb_customer", $where, array($arrForm['login_email'] ));260 $where = "(email = ? OR email_mobile = ?) AND status = 1 AND del_flg = 0"; 261 $ret = $objQuery->count("dtb_customer", $where, array($arrForm['login_email'], $arrForm['login_email'])); 262 262 263 263 if($ret > 0) { … … 277 277 278 278 /* 279 * email がモバイルドメインでは無く, 280 * 携帯メールアドレスが登録されていない場合 281 * 282 * XXX 携帯メールアドレスの登録が無いと, 283 * 配送先が空欄になってしまう場合がある 279 * 携帯メールアドレスが登録されていない場合は, 280 * 携帯メールアドレス登録画面へ遷移 284 281 */ 285 282 $objMobile = new SC_Helper_Mobile_Ex(); -
branches/feature-module-update/data/class/pages/shopping/LC_Page_Shopping_Payment.php
r16497 r16527 199 199 $this->arrData = $objDb->sfTotalConfirm($arrData, $this, $objCartSess, $arrInfo); 200 200 201 // カー 都内の商品の売り切れチェック201 // カート内の商品の売り切れチェック 202 202 $objCartSess->chkSoldOut($objCartSess->getCartList(), true); 203 203
Note: See TracChangeset
for help on using the changeset viewer.