Ok, I think I'm on the right track. I found function_send_order_email at line 863. so starting at line 865 I've added:
PHP Code:
if (in_array("Post 1 New Membership",$this->products)) {
} else {
}
Where Post 1 New Membership is 'name' of product, and it's looking in the $this->products (line 188) array for this info.
Now, I'm a little confused by all the email functions below all of this. I'm not sure if there is something preexisting I can call or if I need to write a new function. I'm kind of thinking I can basically call zen_mail $html_msg I guess to a new variable I create that holds the Post 1 Commander's email address. He's the guy that needs to get an email when his new membership is purchased.
I could use a little help figuring out if I can use a pre-existing email function or what exactly to do next. What do you think?
Thanks a bunch,
Michael
Bookmarks