Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    38
    Plugin Contributions
    0

    Default Welcome email help

    Ive been working on the welcome email and have almost completed it but need a little advice here. At the very bottom of the email where is says "sincerely" you have the link to the store there so folks can click it.

    Id like to change that to a different address. Can someone tell me what portion of the code thats there needs to be replaced?

    Id like it to go to the actual company website.

    Right now I have
    www.all-americanairsystems.com/store

    Id like it to be
    www.all-americanairsystems.com

    Thanks in advance for the help!

  2. #2
    Join Date
    Oct 2008
    Posts
    64
    Plugin Contributions
    0

    Default Re: Welcome email help

    This tutorial will help https://www.zen-cart.com/tutorials/index.php?article=20 however you may have to hard code the link since the file is coded to read directly from the directory the store resides in.

    Around line 37 through 40 is where this is edited in /includes/languages/english/create_account.php

  3. #3
    Join Date
    Oct 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Welcome email help

    Quote Originally Posted by bluedotted View Post
    This tutorial will help https://www.zen-cart.com/tutorials/index.php?article=20 however you may have to hard code the link since the file is coded to read directly from the directory the store resides in.

    Around line 37 through 40 is where this is edited in /includes/languages/english/create_account.php
    I got that part. Im in there right now. However, it points to something that is already defined which is in the config file. wondering if I can take that define code out of the create account file and just add an <a href=> code.

  4. #4
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,026
    Plugin Contributions
    13

    Default Re: Welcome email help

    Richard,

    Yes this would be where the hard coding would come like said above.

    Change

    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");
    to

    Code:
    define('EMAIL_GV_CLOSURE','Sincerely,' . "\n\n" . STORE_OWNER . "\nStore Owner\n\n". '<a href="http://www.yourdomain.com">The Domain You Want Here</a>\n\n");
    Where you replace your domain to the actual domain and The Domain you want here to your store name
    PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

  5. #5
    Join Date
    Oct 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Welcome email help

    Quote Originally Posted by knuckle-101 View Post
    Richard,

    Yes this would be where the hard coding would come like said above.

    Change

    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");
    to

    Code:
    define('EMAIL_GV_CLOSURE','Sincerely,' . "\n\n" . STORE_OWNER . "\nStore Owner\n\n". '<a href="http://www.yourdomain.com">The Domain You Want Here</a>\n\n");
    Where you replace your domain to the actual domain and The Domain you want here to your store name

    Thanks, I thought I tried that but it didnt work. Ill try again right now and let you know.

  6. #6
    Join Date
    Oct 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Welcome email help

    Nope, I got a programming error. I changed it to this....
    PHP Code:
    define('EMAIL_GV_CLOSURE','Sincerely,' "\n\n" STORE_OWNER "\nRichard F. Kletty III, Owner\n\n"'<a href="http://www.all-americanairsystems.com">All-American Air Systems, LLC</a>\n\n"); 
    Am I missing something?

    It worked when I had the change made only to my name but once I add the URL I get the programming error.

 

 

Similar Threads

  1. Need help editing my welcome email
    By cheryl11 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Apr 2010, 01:30 AM
  2. Help...Email welcome
    By kenny724 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Feb 2010, 08:34 PM
  3. help with welcome email
    By gettingthereithink in forum General Questions
    Replies: 6
    Last Post: 10 Feb 2010, 05:04 AM
  4. Help needed - welcome email edit
    By sgallasch in forum General Questions
    Replies: 12
    Last Post: 28 Aug 2008, 02:27 AM
  5. Welcome Email HELP !
    By Manor in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 4 Jun 2008, 05:52 AM

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