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!
Shortcode
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"]
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” 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!
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



