質問 > 管理機能 > ログインすれば価格を表示できる設定について? |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
irony |
投稿日時: 2009/8/5 11:59
対応状況: −−−
|
半人前 ![]() ![]() 登録日: 2008/5/2 居住地: 投稿: 30 |
ログインすれば価格を表示できる設定について? ログインすれば価格を表示できる設定について
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=thread&topic_id=4104&forum=2&post_id=17765#forumpost17765 上記の過去ログを参考に設定しておりますが、実現出来ず困っております。 そこで質問させていただくのですが、 list.tpl のどのあたりに下記を追加すれば宜しいのでしょうか? <!--{if $tpl_login}--> <!--{else}--> <!--{/if}--> LC_Page_Products_List.phpの方は、下記のように編集しております。 184行目付近 $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); $objCartSess->addProduct(array($_POST['product_id'], $classcategory_id1, $classcategory_id2), $_POST[$quantity]); $this->sendRedirect($this->getLocation(URL_CART_TOP)); exit; } // ログイン判定 $objCustomer = new SC_Customer(); if($objCustomer->isLoginSuccess()) { //お気に入りボタン表示 $this->tpl_login = true; } サイトデータ EC-CUBEバージョン 2.3.3-comu PHPバージョン PHP 5.2.5 DBバージョン PostgreSQL 8.3.1 宜しくお願い致します。 |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
» ![]() |
irony | 2009/8/5 11:59 |
![]() |
kishik | 2009/8/5 14:34 |
![]() |
irony | 2009/8/5 15:31 |
![]() |
ecbg | 2009/8/5 15:39 |
![]() |
irony | 2009/8/5 15:53 |
![]() |
ecbg | 2009/8/5 16:00 |
![]() |
irony | 2009/8/5 16:26 |
![]() |
ecbg | 2009/8/5 16:31 |
![]() |
kishik | 2009/8/5 17:48 |
![]() |
irony | 2009/8/6 11:55 |
![]() |
ecbg | 2009/8/6 12:07 |
![]() |
seasoft | 2009/8/6 12:47 |
![]() |
seasoft | 2009/8/6 0:22 |
![]() |
seasoft | 2009/8/6 12:52 |
![]() |
irony | 2009/8/6 14:12 |
![]() |
kishik | 2009/8/6 14:17 |
![]() |
irony | 2009/8/6 14:58 |
![]() |
ecbg | 2009/8/6 14:53 |
![](images/pixel.gif)