Jihene Heni Posted April 2, 2018 Share Posted April 2, 2018 I tried this code: $context = Context::getContext(); $id_employee = $context->employee; it workes just for the superAdmin not for he other employees can ou help me ?? Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted April 3, 2018 Share Posted April 3, 2018 Hi... you need customer id then use $this->context->customer->id; or Context::getContext()->customer->id; Thanks 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now