Produit
Boutique de démonstration
Démonstration
Caractéristiques
Pour les développeurs
Pour les propriétaires de magasins
Industries
Mode
Santé & Beauté
Nourriture & boissons
Automobile
Industriel & Scientifique
Meubles
Commerce électronique B2B
International
Téléchargements
Télécharger nopCommerce
Marketplace
Traductions
Clé de suppression des droits d'auteur
Application Mobile
Web API
Support & Services
Formation
Documentation
Forums communautaires
Services d'assistance premium
Demander un devis
Contactez-nous
Partenaires
Français
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Commencer
Shopping cart
Mon compte
Connexion
S'enregistrer
Accueil
>
Forums
>
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
Nombre de messages:
17
Karma:
90
Inscrit:
17/06/2009
Localisation:
Canada
Posté:
Il y a 14 ans
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
Nombre de messages:
26
Karma:
130
Inscrit:
28/03/2009
Posté:
Il y a 14 ans
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
Nombre de messages:
17
Karma:
90
Inscrit:
17/06/2009
Localisation:
Canada
Posté:
Il y a 14 ans
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.
Vous avez encore des questions ou avez besoin d'aide?
.
Services d'assistance premium
.
Bénéficiez d'un support dédié de la part de l'équipe nopCommerce avec une réponse garantie dans les 24 heures.
.
Cours en ligne pour les développeurs
.
Obtenez les compétences pratiques et techniques dont vous avez besoin pour gérer et personnaliser les sites Web nopCommerce.