Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2006
    Location
    Rosebud, Victoria, Australia
    Posts
    310
    Plugin Contributions
    2

    Default Personalised Checkout Success Page

    G'day,

    With the help of lat9, I've recently done a makeover of my dive shop Checkout Success page. See the attached screen example for the results.

    It was easy to add in the extra text and links, plus the social media section, by using the Define Pages Editor to modify the define_checkout_success.php file.

    But then I wanted to personalise the page by adding the customer's name and email address. That had me stumped.

    Thankfully, lat9 came up with the code for me to add via the Define Pages Editor.

    To insert the customer's first name...

    Code:
    <?php echo $_SESSION['customer_first_name']; ?>
    To insert the customer's email address...

    Code:
    <?php echo $orders->fields['customers_email_address']; ?>
    It's easy when you know how!

    Best regards, Lloyd Borrett.
    Attached Images Attached Images  
    Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

  2. #2
    Join Date
    Sep 2008
    Location
    WA
    Posts
    555
    Plugin Contributions
    0

    Default Re: Personalised Checkout Success Page

    Thanks.

  3. #3
    Join Date
    Aug 2015
    Location
    USA
    Posts
    4
    Plugin Contributions
    0

    Default Re: Personalised Checkout Success Page

    Thanks so much for this.

 

 

Similar Threads

  1. Checkout Success Page?
    By Coffinwear in forum General Questions
    Replies: 4
    Last Post: 21 Dec 2009, 04:00 PM
  2. checkout success page
    By scorpio4646 in forum General Questions
    Replies: 2
    Last Post: 20 Jan 2009, 02:31 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR