Results 1 to 6 of 6
  1. #1
    Join Date
    May 2007
    Location
    Cincinnati, Ohio
    Posts
    244
    Plugin Contributions
    0

    Default Adding promo info to customer receipt emails?

    I wanted to modify my sales receipts to include offers from other e-tailers. For instance, one of my customers suggested that she would like to send out free samples to my customers. I thought it would be great to include a link to her site and the free offer, so that interested customers who had bought something from my site could click the link IF THEY CHOSE TO and take advantage of her offer.

    But how would I add this to my customers' e-mail receipts? You know, the ones which Say [NEW ORDER] Order Confirmation no. 1234?

    Thanks-
    Fabienne

    P.S. I searched this thread and the FAQ's for this and I got nothing (which I thought was strange but...). I don't wish to bother people unnecessarily but I do think that this question might be of interest to more than just me so I asked. Mea culpa, mea culpa, mea maxima culpa if that isn't what I should have done. If it's OK, cancel the above mea culpa's.
    The Zen of cat.

  2. #2
    Join Date
    May 2007
    Location
    Cincinnati, Ohio
    Posts
    244
    Plugin Contributions
    0

    Default Re: Things every New Zenner needs to know

    ...or would it be easier and better to alter the checkout success page in admin? This is where it is: /kunden/homepages/38/d164002731/htdocs/includes/languages/english/html_includes/define_checkout_success.php
    The Zen of cat.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Adding promo info to customer receipt emails?

    You might get away with manually adding a static message to the emails by editing the content of your checkout_process.php language file.
    Maybe change this, as shown:
    Code:
    define('EMAIL_THANKS_FOR_SHOPPING','Thanks for shopping with us today!  Also check out this offer at Susies Shoes website: www.her_site.com ');
    If you want to do something more elaborate to add something to the the emails your customer receive when an order is placed, you currently need to edit a core file: /includes/classes/order.php
    At the end of the file is the code which assembles and sends the emails.
    You'll have to roll up your sleeves and do some custom programming.
    .

    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
    May 2007
    Location
    Cincinnati, Ohio
    Posts
    244
    Plugin Contributions
    0

    Default Re: Adding promo info to customer receipt emails?

    Hmmmm, I am such a sucker for anything I can royally screw up. So... if I have to edit the core file, order. php, I suppose I would have to change it in (what else) php, right? I have friends who could do that (I am pretty good with XHTML and CSS but php is not my thing). Would I have to do one of those copy the file you want to change and make that into the default things?

    Thank you for helping me with this. It is great fun for me to learn about the cart from the inside out.
    The Zen of cat.

  5. #5
    Join Date
    May 2007
    Location
    Cincinnati, Ohio
    Posts
    244
    Plugin Contributions
    0

    Default Re: Adding promo info to customer receipt emails?

    Didn't act fast enough and now I have to repost. Sorry. If I could edit the above, this is what it would turn into:

    The second choice is a bit much for me. I really have no understanding of PHP. But I am pretty good at XHTML and the first choice you gave me, the checkout_process.php changes could do well for me. Can I put a link in there? Like this:

    define('EMAIL_THANKS_FOR_SHOPPING','Thanks for shopping with us today! Also check out this offer at Susies Shoes website: <a href="http://www.her_site.com"> Susies Shoes </a> ');

    Or would that cause the nuclear warheads to fire?
    The Zen of cat.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Adding promo info to customer receipt emails?

    Quote Originally Posted by fabienne View Post
    Can I put a link in there? Like this:
    PHP Code:
    define('EMAIL_THANKS_FOR_SHOPPING','Thanks for shopping with us today!  Also check out this offer at Susies Shoes website: <a href="http://www.her_site.com"> Susies Shoes </a> '); 
    Or would that cause the nuclear warheads to fire?
    Yes, that's safe, for HTML emails. Just don't add any single-quotes inside the existing single-quotes.
    .

    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 Problem & solution to additional customer status emails without customer info
    By delia in forum Managing Customers and Orders
    Replies: 8
    Last Post: 11 Jul 2013, 02:12 AM
  2. Change Owner Name on all receipt emails
    By ktrainyo in forum Basic Configuration
    Replies: 7
    Last Post: 6 May 2012, 12:54 AM
  3. Read Receipt for Emails
    By recentcoin in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Dec 2009, 11:38 PM
  4. Adding Info To Confirmation Emails
    By msilva in forum General Questions
    Replies: 0
    Last Post: 24 Sep 2007, 09:15 PM
  5. Adding a promo product/attribute discounts
    By Kamino84 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 3 Dec 2006, 04:24 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