Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  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.

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

    Default Re: Welcome email help

    Try this file attached replace the one you have, only replace it if you are running 1.3.8a, it where this file came from.

    See what happens
    Last edited by knuckle-101; 20 Oct 2008 at 08:39 PM.
    PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

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

    Default Re: Welcome email help

    Quote Originally Posted by knuckle-101 View Post
    Try this file attached replace the one you have, only replace it if you are running 1.3.8a, it where this file came from.

    See what happens
    Same thing. I can copy the old one back and its fine. Has all my changes except the url change I want. It was worth a try though.

    Yours looked just like mine. There is something else going on for sure.
    Last edited by RichardKletty; 15 Oct 2008 at 09:52 PM.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Welcome email help

    Quote Originally Posted by RichardKletty View Post
    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.
    When you added the URL, you started adding mismatched quotes without escaping them. Hence the programming error.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: Welcome email help

    Quote Originally Posted by DrByte View Post
    When you added the URL, you started adding mismatched quotes without escaping them. Hence the programming error.
    So, how shall I go about escaping the quotes kind sir?

    I'd sure like to get it sorted. I think I have everything else in order, just need this simple change completed.

    I am assuming I need to do something with the quotes in the <h ref> section where the quotes are?

    \n after the first quote and then \n\n after the second quotes? Please advise...
    Last edited by RichardKletty; 16 Oct 2008 at 07:46 PM.

 

 
Page 1 of 2 12 LastLast

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