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

email mod

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-05-2006, 08:45 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default email mod

Hi all,

I need to know where or which file contains "Thank you for using X-Cart shopping system" in the automated email system. In every email that goes out you see that just above the shop name and phone, fax, and url. So far I have had no luck tracing the file that is being called to remove it this text.

Thanks
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
  #2  
Old 11-05-2006, 01:11 PM
 
balinor balinor is offline
 

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

Default Re: email mod

All of the e-mail files are in skin1/mail/html. Try the signature template.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-06-2006, 09:56 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default Re: email mod

No love from that path, but still looking... The Company Info is defo in that signature.tpl, thanks for that, but I can't locate the line I'm wanting to mod/remove. See below:

(light gray bar here)
Thank you for using X-Cart shopping system <- this line

Company_Name
Company_Phone
Company_Fax
Company_website
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
  #4  
Old 11-06-2006, 10:03 AM
 
balinor balinor is offline
 

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

Default Re: email mod

It is there...it is this line:

{$lng.eml_signature}

You can either delete the line all together, or edit it in the Languages area. If you aren't familiar with language variables yet, have a read through the manual or just go into the Languages area, select English and then email. You'll see all the variables below. Same for labels, text, error messages, etc. Basically any text in your store can be edited in this area.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 11-06-2006, 10:08 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default Re: email mod

Yes, I tried to edit the {lng.eml_signature} line and then set up a mock customer signup. Once clicking the submit button, it returned a database error. I didn't write down the exact error. Give me 15 minutes to recreate the error and I'll post back. Cheers for the fast replies.

*EDIT*

Here is the error:

"Fatal error: Smarty error: [in mail/html/signature.tpl line 3]: syntax error: unrecognized tag: $lng.eml_test (Smarty_Compiler.class.php, line 436) in /home/changedtoprotecttheinnocent/public_html/Smarty-2.6.9/Smarty.class.php on line 1088"
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
  #6  
Old 11-06-2006, 10:14 AM
 
balinor balinor is offline
 

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

Default Re: email mod

The only place you can edit it is via the Languages area. If you want to edit it in the tempalte, you need to delete the whole variable and type what text you want.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 11-06-2006, 10:30 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default Re: email mod

Quote:
Originally Posted by balinor
The only place you can edit it is via the Languages area. If you want to edit it in the tempalte, you need to delete the whole variable and type what text you want.

ah! ok, trying.
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
  #8  
Old 11-06-2006, 11:00 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default Re: email mod

Cheers! it's gone.
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
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 03:53 PM.

   

 
X-Cart forums © 2001-2020