I am trying to modify a WebTools system that any visitor can browse the products but ordering can only be carried out by logged in users. Is there some existing piece of code I can wrap around the "add to basket" icon, for example, that will only display it when a user is logged in?
I appreciate I may have to write some custom code which I have no problem in doing. What variables to I need to check for to find out if a user is logged in?
Thanks for any help.
Regards
C