Tổng Bài đăng:
48
Karma:
290
Đã tham gia:
04/10/2009
Vị trí:
India
hii i want to display label with Caption "Register or Login to see Prices" when a user is not logged in currently i have set acl on product pricing but like this user will never know that pricing are only visible if user are logged in Please help as its very urgent. Hope some one will reply asap. Thanks alot
Tổng Bài đăng:
48
Karma:
290
Đã tham gia:
04/10/2009
Vị trí:
India
hii thanks for ur prompt reply but i am still confused. if the prices are hidden that means the customer is not logged in so inplace of price i want to show label "Register or Login to see price" please guide me how can i acheive this ?
Tổng Bài đăng:
43
Karma:
515
Đã tham gia:
03/06/2010
Vị trí:
United States
No, if the customer not logged in show whatever you want, if logged in show price. Check the customer role in the view. Then modify if statement. or if model.hide price { "Show the text" }
Tổng Bài đăng:
48
Karma:
290
Đã tham gia:
04/10/2009
Vị trí:
India
Hii I tried to paste this but it gave internal error As i am not a mvc coder i only know asp.Net can you please provide me exact code which i can replace there? Thanks once again
Tổng Bài đăng:
48
Karma:
290
Đã tham gia:
04/10/2009
Vị trí:
India
Thanks alot it worked perfectly www.ezi-pos.com How to do this same on even homepage as well as category page where products are listed in thumbnail
Tổng Bài đăng:
43
Karma:
515
Đã tham gia:
03/06/2010
Vị trí:
United States
you have to find the prices in other views. then you can put same (or similar) code. make sure Model has option of HidePrices Thanks, Karay
Tổng Bài đăng:
48
Karma:
290
Đã tham gia:
04/10/2009
Vị trí:
India
Hii I need this label on featured products on homepage.