I have been work on a module with Opencart and I was wondering how I can get current user information.
I was thinking something like this: $this->getuserid();
opencart
I have been work on a module with Opencart and I was wondering how I can get current user information.
I was thinking something like this: $this->getuserid();
Best Answer
I just found it out:
and so on.
The source code (including the other methods available) is located in the
system/library/customer.php
file.You can use the methods just anywhere.
Hope this helps.