| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Invoice modification | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Can anybody tell me how I can add/modify the invoice so that the last line (Thank you for your puchase) is changed to:
Thank you for your purchase Bob! "Bob", of course, is the customer's first name and would change with every invoice. Thanks in advance for your help! Mario
__________________
X-Cart version 4.1.8 (given up, for now, on 4.1.9 upgrade) |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
Quote:
skin1/mail/html/order_data.tpl - central part (with order data); skin1/mail/html/order_invoice.tpl - header and footer invoice page. So just add to the end file skin1/mail/html/order_invoice.tpl "Thank you for your purchase {$login}!" If Bob is the user name. |
|||||||||
|
#3
|
|||||||
|
|||||||
|
Thank you for this Yuri. I took a look at the templates and it was very helpful.
What I want is the person's first name not his username so I'm wondering if I should use {$order.firstname} instead of {$login}. What do you think?
__________________
X-Cart version 4.1.8 (given up, for now, on 4.1.9 upgrade) |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||