- Timestamp:
- 2009/07/20 10:36:30 (15 years ago)
- Location:
- branches/comu-ver2/data/class
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/helper/SC_Helper_DB.php
r18200 r18217 266 266 $col = "product_id, deliv_fee, name, product_code, main_list_image, main_image, price01, price02, point_rate, product_class_id, classcategory_id1, classcategory_id2, class_id1, class_id2, stock, stock_unlimited, sale_limit, sale_unlimited"; 267 267 $table = "vw_product_class AS prdcls"; 268 $where = "product_id = ? AND classcategory_id1 = ? AND classcategory_id2 = ? ";268 $where = "product_id = ? AND classcategory_id1 = ? AND classcategory_id2 = ? AND status = 1"; 269 269 $objQuery->setorder("rank1 DESC, rank2 DESC"); 270 270 $arrRet = $objQuery->select($col, $table, $where, array($product_id, $classcategory_id1, $classcategory_id2)); … … 384 384 $objPage->tpl_total_deliv_fee+= ($arrData['deliv_fee'] * $arrCart['quantity']); 385 385 $cnt++; 386 } else { 387 // DBに商品が見つからない場合はカート商品の削除 386 } else { // DBに商品が見つからない場合、 387 $objPage->tpl_message .= "※現時点で販売していない商品が含まれておりました。該当商品をカートから削除しました。\n"; 388 // カート商品の削除 388 389 $objCartSess->delProductKey('id', $arrCart['id']); 389 390 } -
branches/comu-ver2/data/class/pages/shopping/LC_Page_Shopping_Confirm.php
r18187 r18217 82 82 // カート集計処理 83 83 $objDb->sfTotalCart($this, $objCartSess); 84 if (strlen($this->tpl_message) >= 1) { 85 SC_Utils_Ex::sfDispSiteError(SOLD_OUT, '', true); 86 } 84 87 // 一時受注テーブルの読込 85 88 $arrData = $objDb->sfGetOrderTemp($uniqid);
Note: See TracChangeset
for help on using the changeset viewer.