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
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
The customer's own information? Please explain.
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
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?
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?
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 ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Bookmarks