Skip to content
Joy.so
Product update

Greetings no longer break when a customer has no name

A customer with no name on file no longer sees "Hi, !". Joy drops the empty name and keeps the greeting clean in the widget and popups.

Two greeting cards: the first reads "Hi, !" with a red cross, the second reads "Hi!" with a check mark
1 min read

Summarize this post with AI

Why this matters

Three reasons empty-name greetings now work: the greeting stays whole, your own wording wins, the same rule applies in three places

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.

How to access and use

  1. Leave the loyalty widget and popups alone. The fix is already live.
  2. If you added the Theme Integration snippet, open sections/header.liquid and snippets/header-drawer.liquid. Find the line Hi, {{ customer.first_name }}! in each.
  3. 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.
  4. Preview as a customer with no first name. The greeting reads "Hi!".

Keep exploring

Stop being ordinary. Start leading

10,000+

Brands run loyalty on Joy

4.9

Shopify App Store rating

1,789

Merchant reviews