Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    help question Order Confirmation Success Email

    Hello,

    I'm looking for the page/function/piece of code that sends the order confirmation/summary to the customer after a successful purchase. I want to send another message to another place at the same time using a custom bit of code. If I can find the spot where that email is actually sent I can add my code in the same spot. It needs to be unique so that it can only happen when a customer successfully completes a purchase.

    KN

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Order Confirmation Success Email

    see the send_order_email() function in the order class file
    .

    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.

  3. #3
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Order Confirmation Success Email

    I'm having some problems doing exactly what I need to do. Is there a way to retrieve the customer's order number, transaction total, and first and last name while on the checkout success page? There's another function I would like to execute from this page which will at least need the order number. I tried accessing the values of the object from the checkout success template file, but it seemed like it no longer existed at that point. Any thoughts? Any questions?

    Thanks again.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Order Confirmation Success Email

    In v1.3.8, if you print_r($order_summary), you'll see a fair bit of information available for you to use on the checkout_success page.
    .

    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.

  5. #5
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Order Confirmation Success Email

    Okay, what about in version 1.3.7? Is there a way to do that in that version? Thanks again.

 

 

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. welcome email problem and order confirmation email problems
    By oneelios in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2010, 11:18 AM
  3. Replies: 4
    Last Post: 9 Jun 2009, 08:17 PM
  4. How do I Edit Order of Order Totals in Order Confirmation Email?
    By toussi in forum Managing Customers and Orders
    Replies: 1
    Last Post: 20 Mar 2009, 08:05 AM
  5. 'welcome' and 'order success' email customization
    By BouncerFL in forum General Questions
    Replies: 4
    Last Post: 12 Oct 2007, 08:19 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