WordPress.org

Ready to get started?Download WordPress

Plugin Directory

EDD Coming Soon

Allows Coming Soon or Custom Status text instead of normal pricing for downloads in Easy Digital Downloads.

This plugin requires Easy Digital Downloads. It allows downloads to be "Coming Soon" or have Custom Status text, and prevents them from being added to the cart. It does a few things:

  1. Adds a checkbox to the download configuration so you can set the download to Coming Soon / Custom Status.
  2. Adds a text field to the download configuration so you can set the text to show (default "Coming Soon").
  3. Adds "Coming Soon" or your custom status text underneath the price on the admin pricing column
  4. Displays "Coming Soon" or the Custom Status text instead of the price when using the [downloads] shortcode, and anywhere else where the edd_price() function has been called.
  5. 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

** Filter examples **

Example filter of how you can change the default coming soon text. Copy this function to your functions.php

function edd_coming_soon_modify_default_status_text() {

    return 'Not long now!';

}
add_filter( 'edd_cs_coming_soon_text', 'edd_coming_soon_modify_default_status_text' );

Example filter of how you can modify the markup of the coming soon text in the admin columns. Copy this function to your functions.php

function edd_coming_soon_modify_admin_column_text( $custom_text ) {

    return '<h2>' . $custom_text . '</h2>';

}
add_filter( 'edd_coming_soon_display_admin_text', 'edd_coming_soon_modify_admin_column_text' );

Example filter of how you can modify the markup of the coming soon text on the front end. Copy this function to your functions.php

function edd_coming_soon_modify_text( $custom_text ) {

    return '<h2>' . $custom_text . '</h2>';

}
add_filter( 'edd_coming_soon_display_text', 'edd_coming_soon_modify_text' );

Example filter of how you can modify the message that displays when someone tries to purchase a download that is coming soon. This message can be tested by appending ?edd_action=add_to_cart&download_id=XXX to your URL, substituting XXX with your download ID

function edd_coming_soon_modify_prevent_download_message( $download_id ) {

    return __( 'This item cannot be purchased just yet, hang tight!', 'edd-coming-soon' ); 

}
add_filter( 'edd_coming_soon_pre_add_to_cart', 'edd_coming_soon_modify_prevent_download_message' );

Looking for a free theme for Easy Digital Downloads?

http://sumobi.com/shop/shop-front/

Shop Front was designed to be simple, responsive and lightweight. It has only the bare essentials, making it the perfect starting point for your next digital e-commerce store. It’s also easily extensible with a growing collection of add-ons to enhance the functionality and styling.

Stay up to date

Become a fan on Facebook http://www.facebook.com/sumobicom

Follow me on Twitter http://twitter.com/sumobi_

Requires: 3.3 or higher
Compatible up to: 3.6.1
Last Updated: 2013-6-29
Downloads: 1,430

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1