
Coupon Counter for EDD
v1.1David Vongries · 2020年5月4日 上架
Show how many coupon codes are left (or used) with Easy Digital Downloads (EDD). Create urgency with a live coupon counter.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 4,383
- 最近更新
- 2026年11月9日
贡献者
截图
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.
