Skip to main content

How to control what a blank name is replaced with in an email salutation?

This link says I can alter a blank name on the Salutation. But when I tried it, the HTML broke. Is the logic in this link still valid ? I just copied and pasted it to my e-mail, and it broke.

Official response from

Hi William,

There was a piece missing from the other answer that I just updated, I'll post it here as well - this liquid will change the salutation on an email blast for those in your database that don't have a first name in their profile to "Sisters and Brothers" (which you can change to however fits best for how you would like to address your recipients):

{% if recipient.first_name? %}
{{ recipient.first_name }}
{% else %}
Sisters and Brothers
{% endif %}

Share this post

Showing 1 reaction

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.