---
title: "Greetings no longer break when a customer has no name"
slug: "greetings-no-longer-break-when-a-customer-has-no-name"
url: "https://joy.so/updates/greetings-no-longer-break-when-a-customer-has-no-name/"
kind: "update"
author: "Thomas Nguyen"
author_url: "https://joy.so/author/thomas/"
published_at: "2026-11-19T06:46:01.000+00:00"
updated_at: "2026-11-19T06:46:01.000+00:00"
description: "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."
category: "Product Updates"
tags: ["Product Updates"]
reading_time: 1
feature_image: "https://cdn-web.joy.so/cdn/image/2026/11/feature-490ddf.png"
---

# Greetings no longer break when a customer has no name

## 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](https://cdn-web.joy.so/cdn/image/2026/11/cards-d2c3f8.png)

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!".

## Setup guides

[Theme Integration](https://help.joy.so/integrations/theme-integration)

## 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.
