Coupon Counter for EDD

plugin banner

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:6.4.1
Plugin version:1.0.3
Added to WordPress repository:04-05-2020
Last updated:30-11-2023
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:2 401
Active installs:10+
plugin download
Click to start download

Coupon Counter for Easy Digital Downloads (EDD) is a simple but useful plugin that allows you to dynamically display the remaining or used coupon codes.

Display messages like:

  • Only 128 coupons remaining!
  • 34/200 discount codes used!

Shortcode

Easily display the count of remaining and used coupon codes using the shortcode below.

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

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

There is a filter available for the “count” display format that allows you to change the separator icon as desired.

For example, you can change the “/” separator to “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!


Screenshots
FAQ
ChangeLog