Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

4.0.3: How to add lastname to order email notification? Rate Topic   - - - - -

 
  • doanky
  • Newbie
  • Members
  • Join Date: 04-Sep 12
  • 11 posts

Posted 14 November 2013 - 07:46 PM #1

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.

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 14 November 2013 - 07:49 PM #2

See:-

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

Clear your cache after changing the template... yourstore.com/youradmin.php?cc&ctpl
Hire StellarBytes for CS-Cart Design & Development Services

 
  • doanky
  • Newbie
  • Members
  • Join Date: 04-Sep 12
  • 11 posts

Posted 14 November 2013 - 08:13 PM #3

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.

Sent to Customer:

Dear Firstname Lastname,
...
Thank you for using our shopping cart.


Sent to store owner:

Dear Firstname,
...
E-shop of Company


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

 
  • StellarBytes
  • Senior Member
  • Members
  • Join Date: 08-Aug 11
  • 1807 posts

Posted 14 November 2013 - 08:22 PM #4

Ah, I see. For the admin:-
/design/backend/mail/orders/order_notification.tpl
Use:-
{$order_info.lastname}
Remember to clear your cache.
Hire StellarBytes for CS-Cart Design & Development Services