Forums / Templates, Stylesheets, Page Layout / Order Confirmation Success Email

Order Confirmation Success Email

Locked

Views: 1,087

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
11 Dec 2007, 00:07
#1
kaworunagisa avatar

kaworunagisa

New Zenner

Join Date:
Oct 2007
Posts:
10
Plugin Contributions:
0

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

11 Dec 2007, 01:24
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
174

Re: Order Confirmation Success Email

see the send_order_email() function in the order class file

14 Dec 2007, 18:19
#3
kaworunagisa avatar

kaworunagisa

New Zenner

Join Date:
Oct 2007
Posts:
10
Plugin Contributions:
0

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.

14 Dec 2007, 18:29
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
174

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.

14 Dec 2007, 19:50
#5
kaworunagisa avatar

kaworunagisa

New Zenner

Join Date:
Oct 2007
Posts:
10
Plugin Contributions:
0

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.