Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2005
    Posts
    167
    Plugin Contributions
    0

    red flag Welcome Email Questions

    Hey all! I am hoping someone can help me with this! I have copied the create_account.php over to my template folder so I can modify it there. I am able to change the text just fine but what I want to change is the actual template.

    I have a discount coupon for 1st time customers and so in the welcome email it says:
    Congratulations! To make your next visit to our online shop a more rewarding experience, listed below are details for a Discount Coupon created just for you! We are happy to extend a discount of 10% ...and so on but it puts this in a box with a border and a background color of yellow.

    How do I get rid of the border and change the background color??? There is no reference of any of this in that php.

    It also has a Sincerely, Store Owner at the bottom. I want it to just say Happy Shopping! So I put that in the place of Sincerely but I cannot get store owner to go away beneath it. What code do I remove to get that to go away?

    Last question is how do I add something in the php file so it puts a space above Happy Shopping? It goes from one paragraph and on the next line it has the Happy Shopping with no space in between.

    any help is appreciated as always!

    Thank you!
    M E

  2. #2
    Join Date
    Mar 2005
    Posts
    167
    Plugin Contributions
    0

    Default Re: Welcome Email Question!!

    Okay I got EVERYTHING figured out EXCEPT adding a space between the last paragraph and Happy Shopping. How do you add a space?

    for those that may have the same issue as me here is how I changed all the other things:
    1) Change the header.jpg logo to my logo
    - I went to email/header.jpg and deleted it. I then placed my logo in there and named it header.jpg

    2) Change the template colors and style
    - I went to email/email_template_welcome.php and was able to change the fonts, colors, background colors, etc.. all in there!!

    Now, all I have left is in includes\language\english\mytemplate\create_account.php
    How do I add a space between the paragraph above my happy shopping and the happy shopping line. It used to say Sincerely, and now says Happy Shopping

    Thank you in advance!

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Welcome Email Question!!

    At the end of the text where you want to add the blank line, add . "\n", something like this:

    Code:
    define('BLAH', 'my custom text followed by blank line' . "\n");
    .

    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.

  4. #4
    Join Date
    Mar 2005
    Posts
    167
    Plugin Contributions
    0

    Default Re: Welcome Email Questions

    Thank You!!!!

  5. #5
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Welcome Email Questions

    I used this

    Some of these features include:' . "\n\n" . '<li><strong>Wholesale Minimums</strong> - First order $100 and NO minimum on reorders!' . "\n\n" . '<li><strong>Permanent Cart</strong> - Any products added to your shopping cart remain there until...

    This is how it gets sent:
    Some of these features include: Wholesale Minimums - First order $100 and NO minimum on reorders! Permanent Cart - Any products added to your shopping cart remain there until....

    In my html welcome email the . "\n\n" . have no effect. There are no extra lines.

    I looked at the original create_account.php and can't figure out how I could enter empty lines and force a line break?
    Live and learn... the Zen way.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Welcome Email Questions

    Quote Originally Posted by mydanilo View Post
    I used this

    Some of these features include:' . "\n\n" . '<li><strong>Wholesale Minimums</strong> - First order $100 and NO minimum on reorders!' . "\n\n" . '<li><strong>Permanent Cart</strong> - Any products added to your shopping cart remain there until...

    This is how it gets sent:
    Some of these features include: Wholesale Minimums - First order $100 and NO minimum on reorders! Permanent Cart - Any products added to your shopping cart remain there until....

    In my html welcome email the . "\n\n" . have no effect. There are no extra lines.

    I looked at the original create_account.php and can't figure out how I could enter empty lines and force a line break?
    You must be using an older version that doesn't have the new-line issue working correctly.
    .

    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.

  7. #7
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Welcome Email Questions

    I am using 1.3.7.

    Would it be possible that I use a file in the override that has old code in it? What newer code / file would correct this problem?
    Live and learn... the Zen way.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Welcome Email Questions

    As a start, check that your /includes/modules/pages/create_account/header_php.php and /includes/functions/functions_email.php and /includes/modules/create_account.php files match the current version.
    .

    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.

 

 

Similar Threads

  1. v151 Preview welcome email and order confirmation email
    By tips007 in forum General Questions
    Replies: 1
    Last Post: 18 Jan 2013, 10:52 PM
  2. Replies: 2
    Last Post: 21 Feb 2010, 04:33 AM
  3. welcome email problem and order confirmation email problems
    By oneelios in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2010, 11:18 AM
  4. Various setup questions- 'Zip' to 'Postcode', Payment query & Welcome Email
    By Ben-B in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Oct 2009, 06:01 PM
  5. Displaying User Email in Welcome Email
    By itsjosh in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 29 Sep 2009, 03:03 PM

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