Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Changing header in Emails

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-11-2005, 11:21 PM
 
Mic Mic is offline
 

Member
  
Join Date: Nov 2005
Posts: 19
 

Default 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
__________________
Mic
Version 4.0.16
Running Window XP Pro
Reply With Quote
  #2  
Old 11-12-2005, 03:34 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

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*}
Reply With Quote
  #3  
Old 11-12-2005, 12:18 PM
 
Mic Mic is offline
 

Member
  
Join Date: Nov 2005
Posts: 19
 

Default 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.
__________________
Mic
Version 4.0.16
Running Window XP Pro
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020