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

Removing Phone Number Field from Emails

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-27-2007, 06:30 PM
 
MMANOR MMANOR is offline
 

Member
  
Join Date: Feb 2007
Posts: 28
 

Default Removing Phone Number Field from Emails

Okay, Last question of the night, I promise.

Currently my company does not have a phone number and so I want to delete this field from coming up in emails back to the customer (i.e. invoices and so on). I have deleted the phone number field from the signature.tpl file but it still appears. I do not have a phone number entered in the general settings areas, so right now the invoices show a phone number field but with nothing next to it. How do I get rid of the field all together?
__________________
x-cart-4.1.8gold
Reply With Quote
  #2  
Old 03-27-2007, 06:32 PM
 
balinor balinor is offline
 

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

Default Re: Removing Phone Number Field from Emails

You need to delete it from each template it appears in. You sure you got the right signature file? skin1/mail/html/signature.tpl? The invoice template is skin1/mail/html/order_invoice.tpl.

Moving to Template Editing.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-27-2007, 06:39 PM
 
MMANOR MMANOR is offline
 

Member
  
Join Date: Feb 2007
Posts: 28
 

Default Re: Removing Phone Number Field from Emails

Wow.. that was quick. Thank you Balinor for the quick response.

I did a search through invoice.tpl and could not find a reference to Company Phone as it did in the signature.tpl. Did you happen to know where within the invoice file I could find the reference?
__________________
x-cart-4.1.8gold
Reply With Quote
  #4  
Old 05-24-2007, 07:05 PM
 
MMANOR MMANOR is offline
 

Member
  
Join Date: Feb 2007
Posts: 28
 

Default Re: Removing Phone Number Field from Emails

Hello All,

I was hoping to see if someone could still help me with this. Unfortunately the phone number field is still showing up in the emailed order invoices and all other emails send automatically by the site. Here is what the signature.ppl looks like

Quote:
{* $Id: signature.tpl,v 1.9 2004/03/30 06:45:40 max Exp $ *}
--
{$lng.eml_signature}
{$config.Company.company_name}
{$lng.lbl_fax|truncate:$max_truncate:"...":true|ca t:":"|string_format:$max_space}{$config.Company.co mpany_fax}
{$lng.lbl_url|truncate:$max_truncate:"...":true|ca t:":"|string_format:$max_space}{$config.Company.co mpany_website}

In each email file, it just references the signature file, so I am not sure how to alter it to get rid of it.

Please help!
__________________
x-cart-4.1.8gold
Reply With Quote
  #5  
Old 05-25-2007, 03:02 AM
 
balinor balinor is offline
 

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

Default Re: Removing Phone Number Field from Emails

As I mentioned above, make sure you have the right signature file. That looks like mail/signature.tpl, not mail/html/signature.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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:53 PM.

   

 
X-Cart forums © 2001-2020