Start a new topic
Answered

How to auto-fill customers' names in the email notifications?

I want to insert a customer's name automatically in the emails being sent out to them. How do I do this?



Best Answer


If you want to automatically fill in the customer’s first name on the template, then you would simply copy the first name’s corresponding field from the list of mail merge fields and paste it in the editor.



 

Dear {{customer.first_name|default:Customer}}


When the email actually goes out, it would look something like:


Dear Johnny,


If the customer's first name is not present then by default 'Dear Customer' will be sent out.


I collect the first name and last name along with the 'Billing Information' or 'Shipping Information' and not with the 'Account information'. I still want to send out personalized email notifications to my customers. How do I do it?


You can change the mail merge var from "{{customer.first_name|default:Customer}}" to "{{customer_billing_address.first_name|default:Customer}}" so that it will show the 'First Name' specified in the 'Billing address'.


1 Comment

Answer


If you want to automatically fill in the customer’s first name on the template, then you would simply copy the first name’s corresponding field from the list of mail merge fields and paste it in the editor.



 

Dear {{customer.first_name|default:Customer}}


When the email actually goes out, it would look something like:


Dear Johnny,


If the customer's first name is not present then by default 'Dear Customer' will be sent out.


I collect the first name and last name along with the 'Billing Information' or 'Shipping Information' and not with the 'Account information'. I still want to send out personalized email notifications to my customers. How do I do it?


You can change the mail merge var from "{{customer.first_name|default:Customer}}" to "{{customer_billing_address.first_name|default:Customer}}" so that it will show the 'First Name' specified in the 'Billing address'.


Login or Signup to post a comment