Zen Cart Logo
Forums / General Questions / Welcome to my store email problem!

Welcome to my store email problem!

Locked

Views: 1,285

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
28 Nov 2006, 2:29 AM
#1
zulurose avatar

zulurose

New Zenner

Join Date:
Sep 2006
Posts:
92
Plugin Contributions:
0

Welcome to my store email problem!

Hi,

I am having some error with my Welcome to Store Email.

The EMAIL_FOOTER_COPYRIGHT and EMAIL_SPAM_DISCLAIMER don't appear to be displaying properly, or at all.

Please take a look at the attached image someone forwarded to me.

Any help would be greatly appreciated.

28 Nov 2006, 5:13 AM
#2
ripper avatar

ripper

Zen Follower

Join Date:
Jul 2005
Posts:
295
Plugin Contributions:
0

Re: Welcome to my store email problem!

When you see the define terms instead of the defined text, it usually means you didn't define that text anywhere. To be honest I'm not sure where those get defined, but you can check the language files for a start. english.php in your template folder (or the main languages folder) the index.php folder for the language folder, inside the email folder, etc..... Hopefully, someone who knows exactly where those are defined will see this before you spend hours digging through code.....
Sorry I wasn't more help.

30 Nov 2006, 6:39 PM
#3
zulurose avatar

zulurose

New Zenner

Join Date:
Sep 2006
Posts:
92
Plugin Contributions:
0

Re: Welcome to my store email problem!

Oh, I have checked the include files. They appear correct.

If I go to Admin > Welcome Email / Sample

It comes up fine....

Hmmmm.....

1 Dec 2006, 5:08 PM
#4
ripper avatar

ripper

Zen Follower

Join Date:
Jul 2005
Posts:
295
Plugin Contributions:
0

Re: Welcome to my store email problem!

The sample e-mail you see on the admin page is pulled from a different template page than the actual e-mail that is sent to your new customer. You need to find the page where that variable is supposed to be defined. Most likely, the template or include file you are using is an older version which does not have this variable defined yet. I just had the same exact problem with another defined text variable and it was in a cart that did not get the complete 1.3.6 overhaul, yet.... (I tried to do it the quick way, just changing the default templates. I've had to dig several times so far to get things to work until I can get to the complete overhaul this weekend)

They seem to have changed quite a bit of code in the two latest revisions. I am slow to catch up myself.....

6 Dec 2006, 5:33 PM
#5
zulurose avatar

zulurose

New Zenner

Join Date:
Sep 2006
Posts:
92
Plugin Contributions:
0

Re: Welcome to my store email problem!

Rippier, thanks for your reply. Actually I just installed the latest version of Zen Cart so I don't think it is a problem for the older versions.

I am still poking around to see if I can fix this problem.

-A

6 Dec 2006, 6:45 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Welcome to my store email problem!

Find /includes/languages/english/email_extras.php and in about line 27 and line 38 you should find this;

define('EMAIL_SPAM_DISCLAIMER','This e-mail is sent in accordance with the US CAN-SPAM Law in effect 01/01/2004. Removal requests can be sent to this address and will be honored and respected.'); 

I have highlighted in red the single quotes that are the general reason that the define is displayed over the actual desired text...check yours or the copy in your template folder if you have overriden this for these REQUIRED set of quotes.

You can also alter the text as is the case for other items if this kind

6 Dec 2006, 7:11 PM
#7
zulurose avatar

zulurose

New Zenner

Join Date:
Sep 2006
Posts:
92
Plugin Contributions:
0

Re: Welcome to my store email problem!

Ahh haa... Actually I am looking at my FTP client window and the email_extras.php file is 0k!

I replaced the file and it working fine.

Thanks!