Support » Plugin: eShop » Add customer name to Default Paypal email subject

  • Resolved hijinksensue

    (@hijinksensue)


    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}”.

    Thanks!

    -Joel

    http://wordpress.org/extend/plugins/eshop/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author elfin

    (@elfin)

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

    Plugin Author elfin

    (@elfin)

    added a filter for the next release:

    add_filter('eshop_customer_email_subject','my_eshop_customer_email_subject',10,2);
    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add customer name to Default Paypal email subject’ is closed to new replies.