Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2006
    Posts
    512
    Plugin Contributions
    0

    Default 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?
    Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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?
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2009
    Posts
    10
    Plugin Contributions
    0

    Default 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 :)

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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']
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jul 2006
    Posts
    112
    Plugin Contributions
    1

    Default 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?

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Display Customers email address on checkout_success page

    You lost me, ebusinessman ... contact us? umm ... perhaps you were replying to another thread?
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Jul 2006
    Posts
    112
    Plugin Contributions
    1

    Default 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

  8. #8
    Join Date
    Jul 2006
    Posts
    112
    Plugin Contributions
    1

    Default 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

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Display Customers email address on checkout_success page

    Don't feel too bad ... I tend to do that a lot too ...
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Apr 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Display Customers email address on checkout_success page

    Quote Originally Posted by Ajeh View Post
    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 :)

 

 

Similar Threads

  1. v154 PHP Code to display customers email on checkout_success
    By botanybros in forum General Questions
    Replies: 2
    Last Post: 12 Nov 2015, 03:24 PM
  2. Need email at checkout_success page
    By mikecass in forum General Questions
    Replies: 1
    Last Post: 7 Dec 2011, 04:36 AM
  3. Update Customers Email Address
    By ricangem in forum Managing Customers and Orders
    Replies: 1
    Last Post: 4 May 2011, 05:01 PM
  4. Credit cart details and shipping address on checkout_success page
    By arunkarthik in forum Addon Payment Modules
    Replies: 0
    Last Post: 20 Apr 2010, 07:10 AM
  5. Replies: 3
    Last Post: 13 Nov 2007, 08:07 AM

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