Zen Cart Logo
Forums / Managing Customers and Orders / Call customer information on Checkout Success

Call customer information on Checkout Success

Views: 1,118

Results 1 to 5 of 5
28 Jan 2012, 1:05 AM
#1
gomlers avatar

gomlers

Zen Follower

Join Date:
Aug 2008
Posts:
139
Plugin Contributions:
0

Call customer information on Checkout Success

Is there a way to call some relevant customer information on the checkout_success page?

I need to show the customers:

  • First name
  • Last name
  • E-mail address
  • Telephone number
  • Send to address
28 Jan 2012, 1:37 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,611
Plugin Contributions:
0

Re: Call customer information on Checkout Success

The customer's own information? Please explain.

28 Jan 2012, 1:57 AM
#3
gomlers avatar

gomlers

Zen Follower

Join Date:
Aug 2008
Posts:
139
Plugin Contributions:
0

Re: Call customer information on Checkout Success

Sorry.

Yes, the customer's own information.

I would like to write something like this on the checkout_success page:
*

Thank you for your order [firstname] [lastname].
Please make sure that this e-mail address is valid: [email address], so that you will recieve your order confirmation!

We will ship your order to:
[shpping address]

You will recieve a text message to: [phonenumber] when your order is sent.*

Is it even possible?

28 Jan 2012, 10:49 PM
#4
gomlers avatar

gomlers

Zen Follower

Join Date:
Aug 2008
Posts:
139
Plugin Contributions:
0

Re: Call customer information on Checkout Success

Update: I have the ordernumber - now, how can I make a query to the DB to get the information I'm looking for, by using the customer's ordernumber?

29 Jan 2012, 4:47 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Call customer information on Checkout Success

If you look at the file:
/includes/modules/checkout_process.php

you can see how information is saved to:
$_SESSION['order_summary']

see if that helps you get/add the information that you need ...