Shopify Emails - How do I add Customer First name to the emails?

Gee007
New Member
1 0 1

HI there,

I was looking around and I was able to add the following variables to my Notification templates. I'm not a programmer by the way, so you should be able to get this going.

{{ customer.first_name }} <--- customer first name

 {{ customer.last_name }} <--- customer's last name

{{ customer.email }}   <--- customer's email address

{{ shop.email }} <---- your  shop's email address

 

For example under my "Confirmation email" I have the following:

{% capture email_body %} <center> <h3>Hello {{ customer.first_name }} {{ customer.last_name }}, </center></h3><p></P>
Welcome to my store. We are happy to have you on board! Your subscription for email address {{ customer.email }} will be confirmed by clicking on the link below. {% endcapture %}

This is the output:

Hello John Smith,

Welcome to my store. We are happy to have you on board! Your subscription for email address john@test.com will be confirmed by clicking on the link below.

I hope this helps somebody in the future.

G

Chasethedeal
Excursionist
14 1 6

I thought it was something like, "Hey, {{ name }}, 

0 Likes
Lastormdesigns
New Member
1 0 0

You’re awesome. Thank you for taking the time to share your knowledge. Why didn’t Shopify??? 

0 Likes