View Single Post
  #1  
Old 05-25-2004, 09:12 PM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default Simple Email Signature Fix

I wanted to post this in bugs & fixes but couldn't. Anyway, it bugged me and I fixed it. The default email signature templates will send emails with a signature that can look like this:

Thanks For Shopping at
My Store
Phone:
Fax:
Url: www.mywebsite.com

If you are not using a phone number or fax number it will still show the empty fields. The templates should have been like this by default I think:

signature.tpl

Code:
{* $Id: signature.tpl,v 1.8 2003/06/23 11:23:08 svowl Exp $ *} -- {$lng.eml_signature} {if $config.Company.company_phone}{$config.Company.company_name} {$lng.lbl_phone}: {$config.Company.company_phone}{/if} {$lng.lbl_email}: {$config.Company.orders_department} {$lng.lbl_url}: {$config.Company.company_website}

AND

html/signature.tpl

Code:
{* $Id: signature.tpl,v 1.1 2003/09/16 12:22:03 svowl Exp $ *} <hr size=1 noshade> {$lng.eml_signature} <font size=2> {$config.Company.company_name} {if $config.Company.company_phone}{$lng.lbl_phone}: {$config.Company.company_phone}{/if} {if $config.Company.company_fax}{$lng.lbl_fax}: {$config.Company.company_fax}{/if} {$lng.lbl_email}: {$config.Company.orders_department} {$lng.lbl_url}: {$config.Company.company_website} </font></p>

I changed mine and now when I put in a phone number or fax number it will show it... if not, it won't. It should be standard issue with the cart.

Small things can make a big difference.
__________________
v. 4.0.14 (GM Style)
O.S. Linux
Build Your Own Diamond Ring
Reply With Quote