Changeset 21441 for branches/version-2_12-dev/data/class/pages/cart
- Timestamp:
- 2012/02/06 11:05:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/cart/LC_Page_Cart.php
r21420 r21441 85 85 foreach ($this->cartKeys as $key) { 86 86 // 商品購入中にカート内容が変更された。 87 if ($objCartSess->getCancelPurchase($key)) {87 if ($objCartSess->getCancelPurchase($key)) { 88 88 $this->tpl_message = "商品購入中にカート内容が変更されましたので、お手数ですが購入手続きをやり直して下さい。"; 89 89 } … … 93 93 $cartKey = $objFormParam->getValue('cartKey'); 94 94 95 switch ($this->mode) {95 switch ($this->mode) { 96 96 case 'confirm': 97 97 // カート内情報の取得 98 98 $cartList = $objCartSess->getCartList($cartKey); 99 99 // カート商品が1件以上存在する場合 100 if (count($cartList) > 0) {100 if (count($cartList) > 0) { 101 101 // カートを購入モードに設定 102 102 $this->lfSetCurrentCart($objSiteSess, $objCartSess, $cartKey); … … 159 159 160 160 // ログイン判定 161 if ($objCustomer->isLoginSuccess(true)) {161 if ($objCustomer->isLoginSuccess(true)) { 162 162 $this->tpl_login = true; 163 163 $this->tpl_user_point = $objCustomer->getValue('point'); … … 213 213 $objQuery =& SC_Query_Ex::getSingletonInstance(); 214 214 $res = $objQuery->update("dtb_order_temp", $sqlval, $where, array($pre_uniqid)); 215 if ($res != 1){215 if ($res != 1) { 216 216 return false; 217 217 } … … 256 256 $uniqid = $objSiteSess->getUniqId(); 257 257 // エラーリトライなどで既にuniqidが存在する場合は、設定を引き継ぐ 258 if ($pre_uniqid != "") {258 if ($pre_uniqid != "") { 259 259 $this->lfUpdateOrderTempid($pre_uniqid,$uniqid); 260 260 }
Note: See TracChangeset
for help on using the changeset viewer.