neller Posted July 3, 2014 Share Posted July 3, 2014 Hi Guys, I am having some problems with this and I can't figure out how to call a variable. I have an offline card payment module - ccpayment which has this variable; 'cardHoldername' => $paymentCarddetails['cardholdername'], I need to get the name of the card holder to be sent in a new order email sent from the mailAlerts module. In mailalerts.php I have added the variable in the $template_vars array and included that in the new_order.html file, but I don't know how to actually get the name from the card payment into the email template. in mailalerts.php from line 378 ... '{currency}' => $currency->sign, '{message}' => $message, '{cardHoldername}' => $paymentCarddetails['cardholdername'] ... Can anyone point what i need to put in the mailalerts.php file to the the entered card holders name? Link to comment Share on other sites More sharing options...
Recommended Posts