- Timestamp:
- 2011/02/25 18:49:29 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php
r20344 r20408 92 92 */ 93 93 function action() { 94 // 顧客クラスs 95 $objCustomer = new SC_Customer(); 96 94 97 // パラメータ管理クラス 95 98 $this->objFormParam = new SC_FormParam(); … … 104 107 $product_id = $this->lfCheckProductId($this->objFormParam->getValue('admin'),$this->objFormParam->getValue('product_id')); 105 108 $this->mode = $this->getMode(); 106 107 $objCustomer = new SC_Customer();108 109 // ログイン判定110 if ($objCustomer->isLoginSuccess() === true) {111 //お気に入りボタン表示112 $this->tpl_login = true;113 }114 109 115 110 // 規格選択セレクトボックスの作成 … … 270 265 //関連商品情報表示 271 266 $this->arrRecommend = $this->lfPreGetRecommendProducts($product_id); 267 268 // ログイン判定 269 if ($objCustomer->isLoginSuccess() === true) { 270 //お気に入りボタン表示 271 $this->tpl_login = true; 272 $this->is_favorite = SC_Helper_DB_Ex::sfDataExists('dtb_customer_favorite_products', 'customer_id = ? AND product_id = ?', array($objCustomer->getValue('customer_id'), $product_id)); 273 } 274 272 275 } 273 276
Note: See TracChangeset
for help on using the changeset viewer.