The parsing of placeholders is done in the file root\administrator\components\com_instantpaypal\framework\emails.php
in the section:
Code: |
// PARSE THE EMAIL CONTENT
$content = "<!DOCTYPE HTML><html><head><meta http-equiv='content-type' content='text/html' />{$css}</head><body>" . $content . "</body></html>";
$content = str_ireplace ( '{user_name}', $sale->user->name, $content );
$content = str_ireplace ( '{user_email}', $sale->user->email, $content );
$content = str_ireplace ( '{user_address}', $sale->user->bill_address . ' ' . $sale->user->bill_address2 . ' ' ....
|
To add new placeholder in the right side of the backend the file to edit is the view template file: root\administrator\components\com_instantpaypal\views\emails\tmpl\default_edit.php