Zen Cart Logo
Forums / General Questions / Change URL in email welcome

Change URL in email welcome

Locked

Views: 3,004

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
7 Jun 2006, 8:12 PM
#1
teebee2e avatar

teebee2e

New Zenner

Join Date:
Jun 2006
Posts:
14
Plugin Contributions:
0

Change URL in email welcome

How would I change the URL at the bottom of the email welcome under store owner? I would like it to just be the url not the directory of the shop. Anyone know how to do this?

11 Jun 2006, 12:48 PM
#2
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Re: Change URL in email welcome

It's under languages/[your_language]/create_account.php : EMAIL_GV_CLOSURE

Copy the file to languages/[your language]/[your template]/create_account.php and edit to your content. (If you don't copy it can be overwritten by upgrades).

-Ng_

20 Nov 2006, 8:15 PM
#3
lawbird123 avatar

lawbird123

Zen Follower

Join Date:
Sep 2006
Location:
Jacksonville, FL
Posts:
231
Plugin Contributions:
0

Re: Change URL in email welcome

I'm having trouble modifying that code. ```
define('EMAIL_GV_CLOSURE','Sincerely,' . "\n\n" . STORE_OWNER . "\nStore Owner\n\n". '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'.HTTP_SERVER . DIR_WS_CATALOG ."</a>\n\n");


Every time I try to change out the "a href=" out to reflect the new link i get an error when creating a new account.  Im sure something is wrong with my changes to the code as im still new to this... does anyone know how to change out that code to create a different home link?
26 Dec 2006, 11:22 AM
#4
yaby avatar

yaby

New Zenner

Join Date:
Nov 2005
Posts:
60
Plugin Contributions:
0

Re: Change URL in email welcome

i'm trying to do the same thing too, getting rid of the /shop part in the url. i found the file and copied it to my_template folder under english. but i have no idea how to edit it.. or i should say i have no idea what to change it to? anyone can point me in the right direction?

26 Dec 2006, 5:15 PM
#5
notgoddess avatar

notgoddess

Zen Follower

Join Date:
Jan 2005
Location:
Waukee, Iowa
Posts:
206
Plugin Contributions:
0

Re: Change URL in email welcome

yaby:

i'm trying to do the same thing too, getting rid of the /shop part in the url. i found the file and copied it to my_template folder under english. but i have no idea how to edit it.. or i should say i have no idea what to change it to? anyone can point me in the right direction?

Yaby,

I'm taking a guess based on what I saw on your site. Your store is one level down (/shop as you said), so to have the email point to your main site you would do:

 
define('EMAIL_GV_CLOSURE','Sincerely,' . "\n\n" . STORE_OWNER . "\nStore Owner\n\n". '<a href="' . HTTP_SERVER . '/' . '">'.HTTP_SERVER . '/' ."</a>\n\n");

HTTP_SERVER is the uri to your main site (http://yourdomain.com)
DIR_WS_CATALOG is the path from there to your shop (/shop/).
In this case you would take out the catalog path and just add a trailing / (for proper syntax-you always end in a / or page name (html etc).

You can use any text editor (like notepad) to edit this.

-Ng_

26 Dec 2006, 9:39 PM
#6
yaby avatar

yaby

New Zenner

Join Date:
Nov 2005
Posts:
60
Plugin Contributions:
0

Re: Change URL in email welcome

notgoddess you goddess!! that did the trick! i don't understand the syntax at all so thanks so much for explaining it to me!! ^___________^

30 Mar 2007, 5:48 PM
#7
margecc avatar

margecc

Zen Follower

Join Date:
Feb 2007
Location:
Ontario, Canada
Posts:
234
Plugin Contributions:
0

Re: Change URL in email welcome

I would like the URL to be completely different from the HTTP_SERVER. I have tried a whole bunch of different things, but I keep getting an error. This is what I currently have:

define('EMAIL_GV_CLOSURE','Sincerely,' . "\n\n" . STORE_OWNER . "\n\n". '<a href="' http://www.actionformsinc.com '">'www.actionformsinc.com"</a>\n\n");