4.0.3: How to add lastname to order email notification?

Hello,



In cs-cart 4.0.3, When customer place an order, the email notificatino just say: Dear Fristname, Now I want it displays Dear Firstname Lastname, How do I do that?



I try to edit the order_notification.tpl on server, and on backend, but nothing change. Would you please help me? Thank you a lot.



Cheers,

K.

See:-



/design/themes/your-theme/mail/templates/orders/order_notification.tpl



Clear your cache after changing the template… yourstore.com/youradmin.php?cc&ctpl

Hi StellarBytes, thank you a lot for your quick reply, I found there is some difference between email sent to customer, and send to the store owner.



[size=4]Sent to Customer:[/size]

[quote]

[size=4]Dear Firstname Lastname,[/size]

[size=4]…[/size]

[size=4][font=arial, sans-serif]Thank you for using our shopping cart.[/font][/size][/quote]



[size=4][font=arial, sans-serif]Sent to store owner:[/font][/size]

[quote]

[size=4][font=arial, sans-serif]Dear Firstname,[/font][/size]

[size=4][font=arial, sans-serif]…[/font][/size]

[size=4][font=arial, sans-serif]E-shop of Company[/font][/size][/quote]



So where do I edit the template email sent to store owner (other departments). Thank you a lot for your help.

Ah, I see. For the admin:-


/design/backend/mail/orders/order_notification.tpl


Use:-


{$order_info.lastname}


Remember to clear your cache.