Jump to content

isLogged in class PS 1.6


Rissinko

Recommended Posts

Hello,

Can anybody explain me how can i check in class PaymentModul.php if the user is logged or not ? 

 

i tried 

if ($this->context->customer->isLogged()) 
if ($this->context->cookie->isLogged())

and

if (Context::getContext()->customer->isLogged()) {
if (Context::getContext()->cookie->isLogged()) {

Bad no luck

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...