Price only shown to registered user.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 anos atrás
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
14 anos atrás
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.
14 anos atrás
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.