This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Coupon Counter for EDD


Coupon Counter for Easy Digital Downloads (EDD) is a very simple but useful plugin that allows you to dynamically display the number of discount codes used/left.

Display messages like:

  • Only 128 Coupons left!
  • 34/200 Discount Codes used!


Using Coupon Counter for EDD is easy. Use the following shortcode to display the number of coupon codes left/used:

[cc-edd id="discount-id" format="countdown/count"]


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!


There is a filter available for the “count” format that allows you to change the separator icon and replace it with your own.

In the example below we replace the “/” divider with the word “of”.

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!


  • Coupon Counter for EDD in action


  1. Download the file to your computer.
  2. Unzip the file.
  3. Upload the edd-coupon-counter folder to your /wp-content/plugins/ directory.
  4. Activate the plugin through the Plugins menu in WordPress.


Where do I get the Discount ID from?

You will find a list of all your discounts under Downloads > Discount Codes. When hovering over the “Edit” link for one of your discounts, a URL will appear in the bottom left corner of your browser window.

The URL will look something like this:

You can find the Discount ID at the end of the URL.
The ID in that particular example would be 293.


There are no reviews for this plugin.

Contributors & Developers

“Coupon Counter for EDD” is open source software. The following people have contributed to this plugin.



1.0 | May 2, 2020

  • Initial Release