X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Change the order complete email (https://forum.x-cart.com/showthread.php?t=51717)

BritSteve 01-11-2010 02:27 PM

Change the order complete email
 
In order_customer_complete.tpl there is the following line that prints out the Dear Mr John Doe line and I want to change it to just Dear John.

<p />{$lng.eml_dear|substitute:"customer":"`$customer. title` `$customer.firstname` `$customer.lastname`"},

I tried to find documentation on Smarty substitute, but couldn't find anything. Can someone please give me the code I need to put in to achieve the Dear John?

Thanks,

Steve

cflsystems 01-11-2010 05:26 PM

Re: Change the order complete email
 
Change it to {$lng.eml_dear|substitute:"customer":"`$customer.f irstname`"}

BritSteve 01-12-2010 05:40 AM

Re: Change the order complete email
 
Thanks Steve,

I appreciate it.

Steve


All times are GMT -8. The time now is 01:58 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.