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

How to remove 'Invoice:' from confirmation mail

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-29-2007, 05:31 AM
  Pipkin's Avatar 
Pipkin Pipkin is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 34
 

Default How to remove 'Invoice:' from confirmation mail

I want to remove the tekst 'Invoice:' just above the main header 'Invoice' in the order confirmation mail sent to customers.

Which file do I edit?
__________________
Version 4.4.3 Gold
Reply With Quote
  #2  
Old 08-29-2007, 05:35 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: How to remove 'Invoice:' from confirmation mail

Be sure to read the 'Template Editing Guide', and also use Webmaster Mode to determine which template is which. The one you are looking for is skin1/mail/html/order_invoice.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-29-2007, 06:12 AM
  Pipkin's Avatar 
Pipkin Pipkin is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 34
 

Default Re: How to remove 'Invoice:' from confirmation mail

Sorry - I can't seem to find the line of code to edit...
__________________
Version 4.4.3 Gold
Reply With Quote
  #4  
Old 08-29-2007, 10:40 AM
 
WebboT WebboT is offline
 

Member
  
Join Date: Aug 2006
Posts: 26
 

Default Re: How to remove 'Invoice:' from confirmation mail

Take a look around line 35 in skin1/mail/html/order_invoice.tpl

I have an old X-cart version, maybe yours not the same....

Code:
{config_load file="$skin_config"} {literal} <STYLE type="text/css"> BODY { MARGIN-TOP: 10px; FONT-SIZE: 12px; MARGIN-LEFT: 10px; FONT-FAMILY: arial,helvetica,sans-serif } TD { FONT-SIZE: 12px; FONT-FAMILY: arial,helvetica,sans-serif } TH { FONT-SIZE: 13px; FONT-FAMILY: arial,helvetica,sans-serif } H1 { FONT-SIZE: 20px } </STYLE> {/literal} <table cellSpacing="0" cellPadding="0" width="600" bgColor="#ffffff" border="0" color="#000000"> <tr> <td> <table cellSpacing="0" cellPadding="0" width="100%" border="0"><tr> <td vAlign="top"><br> </td> <td width="100%"> <table cellSpacing="0" cellPadding="2" width="100%" border="0"> <tr> <td width="30">&nbsp;</td> <td vAlign="top"><font style="FONT-SIZE: 28px"><b>INVOICE</b></font> <br> <br> <b>Date:</b>
__________________
X-Cart 4.2.0 | PHP 5.2.9 | MySQL 4.1.21 | Apache/1.3.41 (Unix) | Linux
Reply With Quote
  #5  
Old 08-29-2007, 03:16 PM
  Pipkin's Avatar 
Pipkin Pipkin is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 34
 

Default Re: How to remove 'Invoice:' from confirmation mail

Thanks, but I didn't want to remove the 'Invoice' heading - just the unnecessary 'Invoice:' piece of text just above.

After some light detective work, I found it in skin1/mail/html/order_customer.tpl:

Code:
{* $Id: order_customer.tpl,v 1.6 2006/03/31 05:51:43 svowl Exp $ *} {config_load file="$skin_config"} {include file="mail/html/mail_header.tpl"} <p />{$lng.eml_dear|substitute:"customer":"`$order.title` `$order.firstname` `$order.lastname`"} <p />{$lng.eml_thankyou_for_order} <p /><b>{$lng.lbl_invoice}:</b> <p />{include file="mail/html/order_invoice.tpl"} {include file="mail/html/signature.tpl"}

Cheers!
__________________
Version 4.4.3 Gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:51 PM.

   

 
X-Cart forums © 2001-2020