Prevent Access of Visitors to Product Details Page

Greetings,



What i am trying to implement and need help, is for a guest to be able to see the categories, list the products but to require to login to see the product page.



Any ideas? Or else i will nedd to find the login hook and drop it before every tpl that has a link for the product page.



Anything faster?

Deleted comment

[quote name='tgn' timestamp='1351198191' post='147689']

Greetings,



What i am trying to implement and need help, is for a guest to be able to see the categories, list the products but to require to login to see the product page.



Any ideas? Or else i will nedd to find the login hook and drop it before every tpl that has a link for the product page.



Anything faster?

[/quote]



Just add the $auth.user_id logic in view.tpl of views/products file.



Please get back here if any more clarifications.