gaetano78 Posted June 8, 2017 Share Posted June 8, 2017 Hai How i can show a message (es. in header) when user (customer) is logged? Thanks Link to comment Share on other sites More sharing options...
BalzoT Posted June 8, 2017 Share Posted June 8, 2017 Of course you can! there is a smarty variable available for stuff like that but it changes from prestashop 1.6 to 1.7. On prestashop 1.6 for example it is $is_logged Link to comment Share on other sites More sharing options...
gaetano78 Posted June 9, 2017 Author Share Posted June 9, 2017 oh thanks, but do I have to put it in the file modules/blockuserinfo/blockuserinfo.php? Link to comment Share on other sites More sharing options...
BalzoT Posted June 9, 2017 Share Posted June 9, 2017 You should put that in a tpl file not in php files. for example if you want it in the same space as the blockuserinfo module shows its content, then you should put it in the blockuserinfo.tpl Link to comment Share on other sites More sharing options...
gaetano78 Posted June 9, 2017 Author Share Posted June 9, 2017 ok thanks very mutch! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now