Jump to content

how can i retrieve id of admin signed in


Recommended Posts

sorry, wrong reply

Actually I need to edit a feature of prestashop so I need employees id so that I can use its value to feed in certain new tables, that I have created.

So suppose an employee with permission only to add products is logged in .how can I access his id (as in db) in the backoffice files

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

how to get the employe ID on the front office ?

$this->context->employee->id only work in back-office :/

 

I want to display a div, only for admin or employee, on the front-office.

 

Thanks !

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...