[resolved] Add customer name to Default Paypal email subject (3 posts)

  1. hijinksensue
    Posted 3 years ago #

    Is is possible to add something like {NAME} to the subject of the default paypal email so that when the customer gets an email the subject can read: "Here's your order, John Smith" for example?

    The reason this matter is because I am using the eShop Magic plugin to copy my fulfillment company on every customer order email and it would be helpful if they were able to see the name in the subject in order to tell the incoming orders apart.

    I tried just pasting {NAME} into the subject field and it went through as "{NAME}".




  2. elfin

    Plugin Author

    Posted 3 years ago #

    I'll see what I can do in a future release.

  3. elfin

    Plugin Author

    Posted 3 years ago #

    added a filter for the next release:

    function my_eshop_customer_email_subject($this_email,$array){
      global $eshopoptions;
      $this_email = str_replace('{NAME}', stripslashes($array['ename']), $this_email);
      return $this_email;

    kept it similar to the eshop_email_parse function to make it easier for additions.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic