Hi guys, I need to edit the pending and pament complete emails and am wondering where to start. I know I can edit these two files: /amember/templates/admin/mail_payment.txt /amember/templates/admin/pending_mail.txt for text content but how would I go about adding database fields to the emails? Looks like I need to edit common.inc.php, but I'm not too sure where to start. My client wants to be emailed the full member details (full address and a custom field I've added called "cars") everytime someone signs up. Reason they want this is so they can print off each email separately and then enter each member record into an offline database. Any ideas? I'm using 2.1.7 aMember Pro
Just insert to templates: {$u.street} {$u.city} {$u.state} {$u.country} {$u.zip} [$u.data.your_new_field} or may be {$u.your_new_field}
thanks Alex, worked perfectly! How about adding the Order ID number that's generated by the merchant system? We're using Verisign PayFlow Link. Looks like it's inserted into the amember database as the field "receipt_id", but in a different table. Would I use {$user.reciept_id} ? Sorry, I could test this out myself but we're now live and just want to make sure.