Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Display Customers email address on checkout_success page

Display Customers email address on checkout_success page

Locked

Views: 1,518

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
15 May 2009, 2:16 AM
#1
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Display Customers email address on checkout_success page

I would like the customer to double check their account email address, after placing an order.

What would be the best way to display their account address on the checkout_success page and how to add a link to change it? :lookaroun

17 May 2009, 1:43 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Display Customers email address on checkout_success page

Why would you place the check for the email address on the checkout success which is "after the fact" vs before?

Also, why would you really need that as the customer had to login with their email address so wouldn't that make sure it is correct? :unsure:

25 May 2009, 9:37 AM
#3
pajur avatar

pajur

New Zenner

Join Date:
Apr 2009
Posts:
10
Plugin Contributions:
0

Re: Display Customers email address on checkout_success page

Hi,

I would like achieve something similar - to display customer's email address as a link to "Your account". Is that possible? is there a function I could call to get and display that address?

thanks :)

25 May 2009, 9:52 AM
#4
ebusinessman avatar

ebusinessman

Zen Follower

Join Date:
Jul 2006
Posts:
132
Plugin Contributions:
0

Re: Display Customers email address on checkout_success page

quite easy...just some coding work. send me PM when I am offline

25 May 2009, 1:47 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Display Customers email address on checkout_success page

Access to the fields in the orders table are available on the tpl_checkout_success_default.php ...

The email address, for example, can be accessed with:
$orders->fields['customers_email_address']

26 May 2009, 10:31 AM
#6
ebusinessman avatar

ebusinessman

Zen Follower

Join Date:
Jul 2006
Posts:
132
Plugin Contributions:
0

Re: Display Customers email address on checkout_success page

I checked the URL, it's wrong in contact form, you should change it to index.php?main_page=contact......

it can't be contactus.php?main_page=........

see?

26 May 2009, 2:04 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Display Customers email address on checkout_success page

You lost me, ebusinessman ... contact us? umm ... perhaps you were replying to another thread? :unsure:

27 May 2009, 3:56 AM
#8
ebusinessman avatar

ebusinessman

Zen Follower

Join Date:
Jul 2006
Posts:
132
Plugin Contributions:
0

Re: Display Customers email address on checkout_success page

check his website and then you will see it...rather simple error

try to submit a message, it goes to wrong url

27 May 2009, 3:57 AM
#9
ebusinessman avatar

ebusinessman

Zen Follower

Join Date:
Jul 2006
Posts:
132
Plugin Contributions:
0

Re: Display Customers email address on checkout_success page

yeah, you are right...I opened two windows, and mistake it...I am really a bone head

27 May 2009, 1:37 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Display Customers email address on checkout_success page

Don't feel too bad ... I tend to do that a lot too ... :cool:

31 May 2009, 3:18 PM
#11
pajur avatar

pajur

New Zenner

Join Date:
Apr 2009
Posts:
10
Plugin Contributions:
0

Re: Display Customers email address on checkout_success page

Ajeh:

Access to the fields in the orders table are available on the tpl_checkout_success_default.php ...

The email address, for example, can be accessed with:
$orders->fields['customers_email_address']

Thanks :) I would like to display email address on the top of every page (replace My account link in header with users email address). So is there some function or variable accesible from tpl_header.php?

thanks :)