Hi,
In the email order confirmation, I'm trying to put name below firstname. Now they are both on a single row. I've checked catalog/view/theme/default/template/mail/order.tpl but I find only a generic name <?php echo $payment_address; ?>.
Where should I go to edit $payment_address block?
Thanks & regards
according to this, in the controller/account/order.php: (may be some place else in your Version)
and despite of the unknown version you use, you could define it in the ADMIN Section.
Or then in the code, by adding an \n between {firstname} and {lastname}, like it's done in the other places.
Good Luck!
Ernie
---
Code: Select all
if ($order_info['payment_address_format']) {
$format = $order_info['payment_address_format'];
} else {
$format = '{firstname} {lastname}' . "\n" . '{company}' . "\n" . '{address_1}' . "\n" . '{address_2}' . "\n" . '{city} {postcode}' . "\n" . '{zone}' . "\n" . '{country}';
}
Or then in the code, by adding an \n between {firstname} and {lastname}, like it's done in the other places.
Good Luck!
Ernie
---
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 85 guests