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)
-   -   Changing header in Emails (https://forum.x-cart.com/showthread.php?t=17920)

Mic 11-11-2005 11:21 PM

Changing header in Emails
 
I am very definately a newby. I here talk of language variables ?
What I want to do is change the header in the emails from

You have received this notification from Custom Engravers because you are a registered user or you or some other registered user requested some information for you from our store.

to just a plain "Thank you for shopping with us"

I went to mail/html/mail_header.tpl and changed it. It looks like this:
{* $Id: mail_header.tpl,v 1.2 2004/05/28 12:21:02 max Exp $ *}


<FONT size="2">
{* Thank you for visiting our store *}
{$lng.eml_mail_header_part1}
{$config.Company.company_name}
{* Please com again.*}
{$lng.eml_mail_header_part2}
</FONT>

but it didn't make a difference. What did I do wrong. Thanks for any words of wisdom.
Version 4.0.16

TelaFirma 11-12-2005 03:34 AM

You are not using the tags correctly. the {* and *} are tags to comment out sections. So that means that you commented out the words that you wanted to insert.

Change from this:

Code:

{* $Id: mail_header.tpl,v 1.2 2004/05/28 12:21:02 max Exp $ *}


<FONT size="2">
{* Thank you for visiting our store *}
{$lng.eml_mail_header_part1}
{$config.Company.company_name}
{* Please com again.*}
{$lng.eml_mail_header_part2}
</FONT>


to this:

Code:

{* $Id: mail_header.tpl,v 1.2 2004/05/28 12:21:02 max Exp $ *}


<FONT size="2">
 Thank you for visiting our store
{*{$lng.eml_mail_header_part1}*}
{$config.Company.company_name}
Please com again.
{*{$lng.eml_mail_header_part2}*}
</FONT>


That comments out the two language variables {$lng.eml_mail_header_part1} and {$lng.eml_mail_header_part2}.

Alternatively, you could have also commented them out like this:
{*$lng.eml_mail_header_part2*}

Mic 11-12-2005 12:18 PM

Thank you!
 
I didn't know about the * . I don't know how much trouble you just saved me now and in all my future editing.


All times are GMT -8. The time now is 02:46 PM.

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