質問 > 管理機能 > ログインすれば価格を表示できる設定について? |
管理機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
irony |
投稿日時: 2009/8/6 11:55
対応状況: −−−
|
半人前 ![]() ![]() 登録日: 2008/5/2 居住地: 投稿: 30 |
Re: ログインすれば価格を表示できる設定について? 返信が遅くなり申し訳ありません。
ブラウザで確認するページは、商品一覧のページで 宜しかったでしょうか? list.tplに、「<!--{$tpl_login}-->」 を追記し、 http://****/products/list.php をブラウザで開いて、 ソースの表示を行いましたが、 「<!--{$tpl_login}-->」 の辺りを調べても 1や0といった記述は見つかりません。 また、試しにlist.tpl から、下記のソースコードをごっそり削除してみましたが、ログイン/ログアウト状態に関わらず、商品一覧のページで価格が表示されています。 「<!--{$tpl_login}-->」 <!--{if $tpl_login}--> <span class="pricebox sale_price"> <!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>: <span class="price"> <!--{if $arrProducts[cnt].price02_min == $arrProducts[cnt].price02_max}--> <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{else}--> <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{/if}-->円</span> </span> <!--{else}--> <!--{/if}--> 私が行いたいのは、ログイン状態でないと詳細ページや 商品一覧で価格が表示出来ないようにしたいということ なのですが、何か根本的に間違っていますでしょうか? |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
![]() |
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)