Easy Digital Downloads - Conditional Success Redirects
meteorgpl-plugin/edd-conditional-success-redirects
Allows per-product confirmation pages on successful purchases.
Allows Coming Soon or Custom Status text instead of normal pricing for downloads in Easy Digital Downloads.
New: Added a eddcomingsoonvotebtnclasses filter hook Release notes
Releases named in the vendor’s changelog or on WordPress.org that the repository does not have yet.
Fix: Various PHP notices
New: eddcomingsoonvotingenabled() function to check whether a download has voting enabled
Fix: Moved the plugin's options to the "download settings" metabox
Fix: Coming soon text not displaying on front-end
Added the ability to set custom text per download, default remains "Coming Soon". Thanks to @sc0ttkclark
Initial release
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:
** 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' );
[edd_cs_vote]wp-content/plugins/ folder locallywp-admin/plugins.php on your site (your WP Admin plugin page)OR you can just install it with WordPress by going to Plugins >> Add New >> and type this plugin's name
Mark downloads as "Coming Soon" from the download configuration metabox. Optionally you can enter in custom text
Some themes may have coded their own custom solution for displaying the downloads. Try switching to the default WordPress theme to see if you can see the text.
It depends on how your theme displays the price on your single download page. If your theme uses the default EDD purchase form then this will be removed fine. However some themes might have their own function for displaying the price so you'll need to edit your theme to remove it. You can use the following condition to wrap blocks of code that shouldn't be displayed such as the price:
<?php if ( ! edd_coming_soon_is_active() ) : ?>
// the code you don't want to show when a download is set to coming soon
<?php endif; ?>
Easy Digital Download's download configuration metabox with the new coming soon option
The coming soon text is displayed underneath the price on the admin pricing columns
The download's price is removed from the standard download grid, and the coming soon text is shown
The download's coming soon text is shown after the content on the single download page. This can be removed
composer require meteorgpl-plugin/edd-coming-soon
The vendor’s license checks are intact: activate the plugin in WordPress with a license key bought from the vendor.
Declared license: GPL-2.0-or-later. The code is redistributed under the license the vendor declared in the plugin’s own headers. License profile: gpl-full.
Artwork, fonts, media and documents that may be licensed separately are not redistributed; the licensing page explains what is replaced or removed, and the security tab lists it per version. Support and update entitlement come with the license you buy from the vendor.
meteorgpl-plugin/edd-conditional-success-redirects
Allows per-product confirmation pages on successful purchases.
meteorgpl-plugin/edd-all-access
Sell "All Access" memberships to your customers so they can download any product.
meteorgpl-plugin/edd-stripe
Adds support for pre-authorized credit card payments and removes additional transaction fees.
meteorgpl-plugin/edd-simple-shipping
Provides the ability to charge simple shipping fees for physical products in EDD.
meteorgpl-plugin/edd-wallet
Add a store credit system to Easy Digital Downloads.
meteorgpl-plugin/edd-download-email-attachments
Send download files as email attachments when purchased.
meteorgpl-plugin/edd-per-product-notifications
edd-per-product-notifications =============================
meteorgpl-plugin/edd-per-product-emails
Custom purchase confirmation emails for your products.