Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Pippin Williamson

    (@mordauk)

    It’s not currently possible, not unless the user’s display name is set to include their first and last name.

    Thread Starter Holly

    (@skittlegirlholly)

    Hi Pippin,

    Thanks for your reply.
    If that’s the case, I want to make a change and get rid of “Last Name” from “Personal Info” on Checkout screen and change “First Name” as just “Name”, so that {name} can catch their full name.

    Can you let me know how I can do it?

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Are you comfortable with custom PHP?

    Thread Starter Holly

    (@skittlegirlholly)

    I’m not so familiar with custom PHP. If I can follow step by step to make it happen I’m willing to try it, though.

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Sorry but this will require a lot of custom code and I’m not able to give simple step by step directions.

    Thread Starter Holly

    (@skittlegirlholly)

    Okay then not in step by step, but can you let me know what basically I need to do?
    I myself am not familiar with PHP but I know some people who are familiar with PHP and I might be able to get their help for this.

    Plugin Contributor Pippin Williamson

    (@mordauk)

    1. Combine the first and last name fields in includes/checkout-template.php

    2. Update the the payment processing function in includes/process-purchase.php to look for the single field instead of two

    3. Include an update in includes/process-purchase.php to separate the two names entered into the new single field so that they are stored separately since the plugin requires it

    Thread Starter Holly

    (@skittlegirlholly)

    Hi Pippin,

    Just wanted to thank you for your recent update which included {fullname} e-mail shortcode. This was the simplest and the easiest solution for me and I’m very happy about it!

    Plugin Contributor Pippin Williamson

    (@mordauk)

    Glad to help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to show customer's last name in an e-mail’ is closed to new replies.