Jump to content

[SOLVED] Include a new email address when sending order confirmation


david19942

Recommended Posts

 

Hello guys,

as I comment in the title of the post, I would need to include an email address that I am already saving in the database in a new field created for it in the addresses.

The problem is that I go to the PaymentModule.php file, which is where the order confirmation email is sent to the customer.

As you can see in the image that I have attached here, take the client's email with $ this-> context-> customer-> email

I would need to take the email from the field that I created in the addresses, I leave you an image so you can see what I mean. This field is created in the ps_address table of the database.

 

I hope someone can help me, I would be very grateful!

Captura.JPG

Captura1.JPG

Link to comment
Share on other sites

  • david19942 changed the title to [SOLVED] Include a new email address when sending order confirmation

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
×
×
  • Create New...