Jump to content

Problem checking user Login


beginner1

Recommended Posts

Hi, I am working on a module and I was trying to check the user for whether he has logged in or not. I used the following statement for authentication in the tpl file.

{if $logged} ==> I think that means that the user has logged on here

{else}  ==> otherwise if user is not logged display the message here

{/if}

 

But the problem is that even after logging in I am still getting else part i.e. the user has not logged yet. Why is that? Is that because of the prestashop newer version (some bug).

 

 

 

Edited by beginner1 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...