Add Name and Company to Account Invitation Template

6 0 0

Hi, I am trying to add customer first name and company to my account invitation template, but I'm obviously missing something in my code as {{shipping_address.first_name}} and {{}} are appearing as blanks. Please see below (bold is my additions to template). Any help is gratefully accepted. Thanks in advance. 


{% capture email_title %}Activate your account{% endcapture %}
{% capture email_body %}Hi <a>{{shipping_address.first_name}}</a>, a customer account has been created for <a>{{}}</a> at <a href="{{shop.url}}">{{}}</a>. All you have to do is activate it.{% endcapture %}

Replies 2 (2)
Shopify Partner
145 32 52

Hey @pflemo,

You may want to try using {{customer.default_address.first_name}} and {{}}. Or you can also just use {{customer.first_name}} for the name.

As long as the customer has these fields filled out, this should work.

Brett | Helium
Helium builds apps that thousands of merchants depend on:
- Customer Fields ✪✪✪✪✪ (330+ reviews)
- Meteor Mega Menu ✪✪✪✪✪ (250+ reviews)
6 0 0
Thanks Brett.

I'll give that a try.