
Display the amount of Discount Codes that are left/used with Easy Digital Downloads (EDD).
| Author: | David Vongries (profile at wordpress.org) |
| WordPress version required: | 4.6 |
| WordPress version tested: | 7.1.4 |
| Plugin version: | 1.1 |
| Added to WordPress repository: | 04-05-2020 |
| Last updated: | 08-11-2026 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://wordpress.org/plugins/edd-coupon-coun... |
| Total downloads: | 4 394 |
| Active installs: | 10+ |
![]() Click to start download |
|
Coupon Counter for EDD displays the remaining or used coupon codes of an Easy Digital Downloads discount anywhere on your site. Add a simple shortcode to your sales page and let the numbers create urgency.
Display messages like:
- Only 128 coupons remaining!
- 34/200 discount codes used!
Features
⏳ Countdown
Show how many coupons are left. The counter updates automatically with every purchase and never drops below 0.
???? Count
Show how many coupons have been used out of the total, e.g. 34/200.
???? Works anywhere
Use the shortcode in posts, pages, the block editor or any page builder. The counter is plain text, so it adapts to your theme’s styling.
???? Lightweight
No settings page, no scripts, no styles. Just one shortcode.
✅ EDD 3 ready
Works with Easy Digital Downloads 3.x as well as older versions.
How to use it
- Go to Downloads Discounts and make sure your discount has a Max Uses limit.
- Copy the discount ID (see the FAQ below).
-
Add the shortcode to any post or page:
[cc-edd id=”293″ format=”countdown”]
Use format="countdown" for the remaining coupons or format="count" for used/total.
Examples
Only [cc-edd id="293" format="countdown"] coupons left!
Will result in: Only xxx coupons left!
[cc-edd id="293" format="count"] discount codes used!
Will result in: xx/xxx discount codes used!
Advanced
To change the “/” separator of the “count” format, for example to “of”, use the filter below:
function prefix_custom_cc_edd_divider() {
return ' of ';
}
add_filter( 'cc_edd_divider', 'prefix_custom_cc_edd_divider' );
Following the example above, this would result in: xx of xxx discount codes used!
The counter is wrapped in the edd-coupon-counter CSS class, so you can style it as you like.
What’s next?
If you like Coupon Counter for EDD, make sure to check out our other products:
- Page Builder Framework – A fast & minimalistic WordPress theme designed for the new WordPress era.
- Ultimate Dashboard – The #1 WordPress plugin to customize your WordPress dashboard and admin area.
- Better Admin Bar – The plugin to make your clients enjoy WordPress. It replaces the default admin bar to provide the best possible user experience when editing & navigating a website.
- WP Video Popup – Add a YouTube, Vimeo or Rumble video popup to WordPress. Lightweight, privacy-friendly lightbox that works with any page builder.
Screenshots
FAQ
ChangeLog

