Why this matters
Some customers sign up with no name on file. Until now, a greeting that expected one read "Hi, !".
The greeting stays whole
Joy removes the empty name and the comma next to it. The closing mark stays, so "Hi, !" becomes "Hi!".
Your own wording wins
Joy shows the greeting you wrote for customers without a name. Leave it blank and Joy drops the name for you.
The same rule in three places
The widget, popups and Theme Integration snippet all follow it.
Illustrative question
A customer signed up with only an email address. What does my widget say to them? It says "Welcome back" with no stray comma, because the default greeting drops the empty name. If you wrote a greeting for customers without a name, Joy shows that instead.
A customer signed up with only an email address. What does my widget say to them? It says "Welcome back" with no stray comma, because the default greeting drops the empty name. If you wrote a greeting for customers without a name, Joy shows that instead.
How to access and use
- Leave the loyalty widget and popups alone. The fix is already live.
- If you added the Theme Integration snippet, open
sections/header.liquidandsnippets/header-drawer.liquid. Find the lineHi, {{ customer.first_name }}!in each. - Replace it with
Hi{% if customer.first_name != blank %}, {{ customer.first_name }}{% endif %}!and save the theme. The new line adds the name only when the customer has one. - Preview as a customer with no first name. The greeting reads "Hi!".
Setup guides
Good to know
Joy cannot edit your theme files, so a snippet already in your theme keeps the old greeting until you replace that line. The Theme Integration guide has the updated snippet.


