Easy Digital Download is a popular WordPress plugin that lets you to sell digital downloads through your WordPress based website with its complete digital downloads management features. This tutorial explains how you can extend this plugin to show Coming Soon message on selected downloads. EDD Coming Soon is an addon plugin for Easy Digital Downloads, it simply adds a checkbox to the download configuration where you can set download to “coming soon” easily.
In-case if you want to filer coming soon text with something else then paste the following code in your theme’s functions.php file and modify the text below:
function themename_coming_soon_text() {
return 'Available Soon';
}
add_filter( 'edd_cs_coming_soon_text', 'themename_coming_soon_text' );
Mains Features:
- Automatically adds a checkbox to the download configuration so you can set the download to “coming soon”.
- Replaces the download’s price in the pricing admin column with “coming soon”.
- Displays “Coming soon” instead of the price when using the [downloads] shortcode, and anywhere else where the edd_price() function has been called.
- Prevents the coming soon download from being purchased. The plugin will remove the purchase button and stop the download from being added to cart via the edd_action. Eg ?edd_action=add_to_cart&download_id=XXX