WooCommerce birthday coupon: how to send one automatically
A birthday discount is the one offer a customer expects to be personal: it arrives near their day, it's theirs alone, and it runs out. A WooCommerce birthday coupon has to do all three without you remembering anyone's date, and WooCommerce can't do it alone, because it has nowhere to store a birthday.
This guide covers the four parts an automatic birthday coupon needs, and what happened when we tested each one on a store with our free plugin, NeoLite Birthday Bash: where the date field appears and where it doesn't, exactly what the coupon allows, and which day the email really goes out.
Quick answer. WooCommerce has no birthday field and no birthday coupon. To send one automatically, a plugin has to ask for the day and month, check daily for upcoming birthdays, create a single-use coupon limited to that customer's email address, and email it. With NeoLite Birthday Bash, ours went out six days before the birthday.
The short version
- Four parts: a place to ask for the date, a coupon only that customer can use, a daily check, and an email.
- Ask for the day and month only. A coupon doesn't need the year, and then your store never holds anyone's age.
- The coupon should be single-use, tied to the customer's email and short-lived. On our test it was all three.
- Send it before the birthday, not on it. Ours went out six days ahead, one day later than the plugin's own description says.
- Guests can't receive one. The coupon is issued to an account, so a guest's date is kept on the order and nothing is sent.
- One per customer per year. Running the check a second time sent nothing.
How we tested
Our test store runs WordPress 7.1.5, WooCommerce 11.1.2 and PHP 8.3. We used the copy of NeoLite Birthday Bash that WordPress.org was serving in November 2026, with only it and WooCommerce active. We created six test customers with birthdays today, in 2, 6, 7 and 8 days, and yesterday, ran the plugin's daily check twice, and recorded who got a coupon, what each coupon allowed and what the email said. We also loaded each page where the date field is meant to appear and looked for it in the HTML. The test customers, coupons and log rows were deleted afterwards.
What a WooCommerce birthday coupon needs
WooCommerce gives you the coupon and the email system. It doesn't give you the other two parts.
| Part | In WooCommerce? | What has to be added |
|---|---|---|
| A birthday for each customer | No. There is no birthday field anywhere in WooCommerce | A field on the forms customers already fill in |
| A coupon one person can use once | Yes. Coupons have Allowed emails, Usage limit per coupon and Coupon expiry date | Something to create one per customer, with a unique code |
| A daily check for upcoming birthdays | No | A scheduled job |
| An email with the code | The email system, yes. A birthday email, no | The email itself |
Where to collect the birthday
A birthday coupon is only as good as the number of birthdays you hold, so ask where customers are already typing. We checked each place Birthday Bash is meant to add its day and month fields.
| Place | Field there? | How we know |
|---|---|---|
WordPress registration form (wp-login.php?action=register) | Yes | Loaded the page |
| Classic checkout | Yes, under the billing fields | Loaded the page |
| Block checkout | Yes, once the [birthday_bash_checkout_input] shortcode is on the checkout page | Loaded the page |
| My Account → Account details | Yes | Read in the plugin's code |
Any page, with the [birthday_bash_form] shortcode | Yes | Read in the plugin's code |
| WooCommerce's own sign-up form on the My Account page | No | Loaded the page with registration switched on |
Two of those rows need explaining.
The block checkout needs one step. The Checkout block doesn't run the hooks the classic checkout does, so nothing can add a field to it automatically. Edit your checkout page, add a Shortcode block and put [birthday_bash_checkout_input] in it. On our store the fields then appeared on the block checkout, and the plugin sends the date with the order through WooCommerce's Store API.
WooCommerce's sign-up form is a gap. WordPress has a registration form of its own, and WooCommerce has a separate one on the My Account page, switched on under WooCommerce → Settings → Accounts & Privacy. Birthday Bash adds its fields to the first and not the second. If your customers register on the My Account page, they're asked at checkout or in their account details instead.
The fields ask for a day and a month, never a year. And you choose whether they're optional or required, with Make Birthday Field Mandatory. Optional is the safer start: a required field at checkout is one more reason to abandon it.
Guests don't get a coupon
A guest can fill in the field at checkout, and the date is saved on their order. But the coupon is created for a customer account and limited to that account's email, so the daily check only looks at accounts. A guest gets nothing.
If most of your orders are guest orders, let customers create an account at checkout (also under Accounts & Privacy) before you count on birthday coupons for much.
The coupon: one customer, one use, an expiry
A birthday code that works for anyone ends up on a coupon site. These are the rules the coupon carried on our test store, read back from WooCommerce after the plugin created it:
| Coupon setting | Value |
|---|---|
| Code | Unique per customer, starting with your prefix (BIRTHDAY- unless you change it) |
| Usage limit per coupon | 1 |
| Usage limit per user | 1 |
| Allowed emails | The customer's account email, and no other |
| Coupon expiry date | 14 days after it was created |
| Individual use only | No |
| Minimum spend | None |
| Sale items | Included |
The first four are what stop a code being shared. WooCommerce checks Allowed emails at checkout against the billing email and the account's email, so the code is refused for anyone else, and after one order it's used up.
The last three are worth a decision. The coupon is not Individual use only, so a customer can combine it with another coupon you're running. It has no minimum spend, and it applies to products already on sale. If your margins are thin, a percentage is safer than a fixed amount here: a fixed $10 off with no minimum can cover most of a small basket. Our guide to coupon stacking in WooCommerce shows what combining discounts does to an order.
You set the discount with Coupon Type (a fixed cart discount or a percentage) and Coupon Amount, the prefix with Coupon Code Prefix, and the lifetime with Coupon Expiry (Days). The plugin's defaults are a fixed discount of 10 and 14 days. A percentage can't be saved above 100.
WooCommerce birthday discount timing: when it really sends
The plugin's description says the email goes out seven days before the birthday. On our test store the cut-off was a day later:
| Birthday is | Coupon sent on the daily check? |
|---|---|
| Today | Yes |
| In 2 days | Yes |
| In 6 days | Yes |
| In 7 days | Not yet |
| In 8 days | Not yet |
| Yesterday | No, not until next year |
So a customer with a birthday on 5 December got their coupon on 29 November, six days ahead, and a customer with a birthday on 6 December would get theirs the next day. With the default 14-day lifetime the coupon then runs until eight days after the birthday.
Four more things follow from how the check works.
- A late sign-up still gets one. The customer whose birthday was two days away was sent a coupon straight away. Anyone who adds their date inside the last week gets it on the next daily check.
- Miss the day and it waits a year. The customer whose birthday was yesterday got nothing. Collect the date early.
- One coupon per customer per calendar year. We ran the check a second time and it created no coupons and sent no emails.
- 29 February is treated as 1 March in a year without one, so those customers aren't skipped.
The check runs once a day through Action Scheduler, the job runner that comes with WooCommerce, and works through customers in batches of 100. You can see it under WooCommerce → Status → Scheduled Actions by searching for birthday_bash_daily_cron. If that job isn't running, no coupons go out.
Sending ahead of the day is deliberate. A coupon that arrives on the birthday leaves no time to choose something, and none for a parcel to arrive. Our post on why birthday emails are the easiest repeat sale has the case for it.
The email
This is what our test customer received, with the store's settings at the time (a 10% coupon):
Subject: Your Birthday Gift from Neo Plugin!
>
Happy Birthday, RVT p2! As a special birthday treat, please enjoy this 10% discount off your next purchase. Use coupon code: birthday-6b0bdafd7bb2f Expires on: December 13, 2026
Two details in that email are worth knowing. The code is in lower case although the prefix is BIRTHDAY-: the plugin builds the code in capitals and WooCommerce stores coupon codes in lower case. And the name is the account's display name, not the first name. "RVT p2" was our test customer's display name, and for a customer who never set one, WordPress uses the username.
The subject, the greeting and the message are yours to write, with {sitename} and {customer_name} filled in for you, and you can add a logo. The email uses WooCommerce's own email layout, so it matches your order emails, and the settings page has a preview. Note that the email states the expiry date. That's the deadline doing its job, so don't hide it.
It's a WooCommerce email like any other, so it can be switched off under WooCommerce → Settings → Emails. If it's off, the plugin creates no coupon at all, so a customer's coupon for the year isn't spent on an email that was never sent.
Doing it by hand, without a plugin
You can send a birthday coupon with WooCommerce alone if you only have a few customers to look after. Create a coupon under Marketing → Coupons, and set three things:
- Coupon expiry date on the General tab.
- Allowed emails on the Usage restriction tab, with the customer's email address.
- Usage limit per coupon on the Usage limits tab, set to 1.
Then email the code yourself. That gives the customer exactly the coupon the plugin makes. What it doesn't give you is the birthday: you still need somewhere to ask for it, and someone to remember to look. That's why this stops working past a handful of regulars.
Setting it up with Birthday Bash
NeoLite Birthday Bash is free and needs only WooCommerce.
- Install it from Plugins → Add New by searching for NeoLite Birthday Bash.
- Set the discount: Coupon Type, Coupon Amount and Coupon Expiry (Days).
- Write the email and look at the preview.
- If you use the block checkout, add
[birthday_bash_checkout_input]to the checkout page in a Shortcode block. - Check the fields are there by opening your checkout in a private window with something in the cart.
- Look at the Coupon Logs tab after a week or two. It lists each coupon, who got it, when it was created, and the order it was used on.
The Birthday Bash manual covers each setting.
What it doesn't do
Better to know these before you install it than after.
- No coupons for guests, as above.
- No field on WooCommerce's My Account sign-up form.
- One email, once. There's no reminder before the coupon expires.
- Email only. No SMS.
- The coupon combines with other coupons and has no minimum spend, and there's no setting for either.
- The send day isn't adjustable. It's the six days we measured.
Frequently asked questions
Does WooCommerce have a birthday coupon feature?
No, WooCommerce has no birthday coupon feature. It has coupons and an email system, but no birthday field and nothing that sends a coupon on a date. A WooCommerce birthday coupon needs a plugin to ask for the date, check for upcoming birthdays each day, create the coupon and send the email.
How do I send a WooCommerce birthday coupon automatically?
Install a birthday plugin, set the discount and its expiry, and make sure the date field shows where your customers sign up or check out. With NeoLite Birthday Bash the rest runs daily: on our test store a customer whose birthday was six days away got a single-use coupon by email on the next daily check.
How do I stop a birthday discount code being shared?
Limit the coupon to one use and to the customer's own email address. In WooCommerce those are Usage limit per coupon and Allowed emails. Birthday Bash sets both on every coupon it creates, with a unique code for each customer.
When should a birthday coupon be sent?
Send a birthday coupon a few days before the birthday, so there's time to choose and for a parcel to arrive. Birthday Bash sent ours six days ahead, and the coupon expired 14 days after it was created, which put the deadline eight days after the birthday.
Can guest customers get a birthday coupon?
Guest customers don't get a birthday coupon from Birthday Bash. The coupon is created for a customer account and limited to that account's email. A guest's date is saved on their order, but no coupon is sent. Letting customers create an account at checkout fixes that for future orders.
Does the birthday field work with the WooCommerce Checkout block?
Yes, the birthday field works with the Checkout block after one step: add the [birthday_bash_checkout_input] shortcode to the checkout page in a Shortcode block. On the classic checkout the fields appear under the billing fields with no setup.
The takeaway
A WooCommerce birthday coupon is four parts: the date, a coupon only one person can use, a daily check, and an email that arrives early enough to be useful. The coupon rules are WooCommerce's own, and you can set them by hand for a few customers. The date and the daily check are what a plugin adds. Whichever way you do it, start asking for the day and month now: every customer who checks out before you ask is one you can't write to next year.