製品
店舗デモ
ショーケース
機能
開発者向け
店舗オーナー向け
産業
ファッション
健康& 美容
食品&飲料
自動車
工業 & 科学
家具
B2B eコマース
国際
ダウンロード
nopCommerce ダウンロード
マーケットプレース
翻訳
著作権削除キー
モバイルアプリケーション
Web API
サポート & サービス
トレーニング
ドキュメント
コミュニティフォーラム
プレミアムサポートサービス
見積り依頼
お問い合わせ
パートナー
日本語
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
始めましょう
Shopping cart
ユーザ
ログイン
ユーザ登録
ホーム
>
フォーラム
>
General
>
Development
>
Price only shown to registered user.
Price only shown to registered user.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
benyu2000
投稿総数:
17
カルマ:
90
参加:
2009/06/17
ロケーション:
Canada
投稿完了:
14 年 前
Hi there,
Is there anyway and how to only show product price to registered user when he/she is logged in? thanks for your advice.
Ben
filjan
投稿総数:
26
カルマ:
130
参加:
2009/03/28
投稿完了:
14 年 前
You could probably use the Page.User.Identity.IsAuthenticated in the product template. Just put an If statement in and block the price if the user isn't authenticated.
benyu2000
投稿総数:
17
カルマ:
90
参加:
2009/06/17
ロケーション:
Canada
投稿完了:
14 年 前
Thanks filjan,
I figured this out too. Be reminded that we should change multiple product templates as well.
Thanks again.
Ben
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
まだ質問があるか、助けが必要ですか?
.
プレミアムサポートサービス
.
24時間以内に応答を保証するnopCommerceチームからの専任サポートを受けてください。
.
開発者向けオンラインコース
.
nopCommerceウェブサイトの実行およびカスタマイズに必要な実用スキルおよび技術スキルを習得します。