X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   email mod (https://forum.x-cart.com/showthread.php?t=26389)

MBA 11-05-2006 08:45 AM

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

balinor 11-05-2006 01:11 PM

Re: email mod
 
All of the e-mail files are in skin1/mail/html. Try the signature template.

MBA 11-06-2006 09:56 AM

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

balinor 11-06-2006 10:03 AM

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.

MBA 11-06-2006 10:08 AM

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"

balinor 11-06-2006 10:14 AM

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.

MBA 11-06-2006 10:30 AM

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.

MBA 11-06-2006 11:00 AM

Re: email mod
 
Cheers! it's gone.


All times are GMT -8. The time now is 03:32 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.