Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2006
    Posts
    14
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Jan 2005
    Location
    Waukee, Iowa
    Posts
    206
    Plugin Contributions
    0

    Default 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_

  3. #3
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    help question Re: Change URL in email welcome

    I'm having trouble modifying that code.
    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?
    John L.
    MultiMedia Designer

  4. #4
    Join Date
    Nov 2005
    Posts
    60
    Plugin Contributions
    0

    Default 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?

  5. #5
    Join Date
    Jan 2005
    Location
    Waukee, Iowa
    Posts
    206
    Plugin Contributions
    0

    Default Re: Change URL in email welcome

    Quote Originally Posted by yaby View Post
    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:
    Code:
     
    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_
    NotGoddess (Sara Jacobson)
    NotGoddess.com

  6. #6
    Join Date
    Nov 2005
    Posts
    60
    Plugin Contributions
    0

    Default 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!! *^####################_^*

  7. #7
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    234
    Plugin Contributions
    0

    Default 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:

    Code:
    define('EMAIL_GV_CLOSURE','Sincerely,' . "\n\n" . STORE_OWNER . "\n\n". '<a href="' http://www.actionformsinc.com '">'www.actionformsinc.com"</a>\n\n");
    Thanks, Colleen
    www.af-company.com
    To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978

  8. #8
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    234
    Plugin Contributions
    0

    Default Re: Change URL in email welcome

    Ok I found the answer in another thread, just in case anyone is looking to do the same thing, it is:

    http://www.zen-cart.com/forum/showth...ight=url+email
    Thanks, Colleen
    www.af-company.com
    To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978

 

 

Similar Threads

  1. Change Welcome New Customer Email
    By I wish I could in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 10 Apr 2011, 08:12 AM
  2. How do I change the Welcome email?
    By PGOnline in forum Customization from the Admin
    Replies: 3
    Last Post: 2 Jan 2010, 08:16 AM
  3. Change Email Welcome?
    By laurieudy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Jul 2008, 10:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR