Jump to content

Get user by id at backend?


covis
 Share

Recommended Posts

How can I get the customer object by user id?

 

I hooked my module to "actionOrderStatusPostUpdate" and want to send a mail after payment is done.

 

I have the customer id but not the customer mail address I want to send to.

 

Context::getContext->customer will not work bcause you need a user logged in...

 

Appreciate any help

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More