mebjas Posted April 16, 2013 Share Posted April 16, 2013 I need to get logged in employee's id to make a certain feature. thankx Link to comment Share on other sites More sharing options...
vekia Posted April 16, 2013 Share Posted April 16, 2013 you want to get it in module? where exactly? Link to comment Share on other sites More sharing options...
mebjas Posted April 16, 2013 Author Share Posted April 16, 2013 I want to edit the table of the catalog shown in backoffice .So i need to know whic tpl file is theme for backoffice catalog Link to comment Share on other sites More sharing options...
mebjas Posted April 16, 2013 Author Share Posted April 16, 2013 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 More sharing options...
jeckyl Posted April 16, 2013 Share Posted April 16, 2013 Hi, you can retrieve id with this value : $this->context->employee->id for PS 1.5 only Link to comment Share on other sites More sharing options...
Szed Posted May 29, 2013 Share Posted May 29, 2013 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 ! 1 Link to comment Share on other sites More sharing options...
mebjas Posted July 21, 2013 Author Share Posted July 21, 2013 thanks jekyl Link to comment Share on other sites More sharing options...
Recommended Posts