Jump to content

Adding field to mailalert mail.


PatrikHansson

Recommended Posts

Hi

 

I'm using the checkout fields module to add a field to the checkout.

I'm also using the mailalert plugin to send an email to the admin/storeowner when a order is placed.

 

The only thing missing from this is that i can't seem to add the checkout field to the mail sent by mailalert.

 

I think i know how I could add a field if it was in the same table as the information already in the email but the value from checkout fields are stored in a different table and I'm not sure how to get that defined so i could add it to the "$template_vars" in mailalerts.php.

 

Anyone know how this could be done ?

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