How to implement a check after the authorization polzovatelya in the online shop on bitrix?

Hi all. I know that question probably requires a lot of response. But at least in thesis or conceptual.

There is an online shop on bitrix. Need to ordinary users saw a standard greeting Bitrix, if any. If not, how best to implement yourself ?
March 19th 20 at 08:40
1 answer
March 19th 20 at 08:42
global $USER;
if ($USER->IsAuthorized()) echo "You logged in! Hello!";
Thank you. The question is, in what script this Directive is necessary to register? - bartholome_Wal commented on March 19th 20 at 08:45
@bartholome_Wal, I think, where you want to use it and to register.
In the template list will be on all pages.
In the template component list will be on the pages where the component is.
In other words, mount it where the user is placed after logging in. - kasandra_Abbo commented on March 19th 20 at 08:48
@kasandra_Abbo, Thank you! - bartholome_Wal commented on March 19th 20 at 08:51

Find more questions by tags 1C-Bitrix