Coupons are often more than just discounts. They can represent affiliate partnerships, internal promotions, manual workflows, or campaigns that need tracking beyond basic WooCommerce reports. Yet, by default, WooCommerce doesn’t notify anyone when a coupon is actually redeemed in an order.
This code snippet solves that gap by sending a custom email whenever a specific coupon is used at checkout. You can notify an affiliate that their code was redeemed, alert yourself as the admin for tracking purposes, or inform a store manager that a manual action is required after purchase. The logic is simple, lightweight, and hooks directly into the “order complete” process, so it runs only when it matters.
Because it’s fully customizable, you can target one coupon or multiple coupons, change recipients dynamically, and tailor the email content to your workflow. If you rely on coupons as signals rather than just discounts, this snippet gives you immediate visibility without adding plugins or external services.
Continue reading WooCommerce: Send Email When a Coupon Is Used

