• Resolved rubberdragon

    (@rubberdragon)


    I have a free sample download and I want to collect email addresses in return. However, users can enter a made up email address and get the download from the Confirmation Page. I wonder if it’s possible to remove the download link from the confirmation page? So that users get the download link via email?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Mihai Joldis

    (@misulicus)

    Hey @rubberdragon

    The best option would be to use the Free Downloads extension for EDD which is available in all of the available EDD plans from https://easydigitaldownloads.com/. This extension has an option to require email confirmation before the download links are sent in the email.

    The other option which would require you to write some custom code is to use the filter below:

    return apply_filters( 'edd_order_receipt_show_download_files', $ret, $item_id, $receipt_args, $order_item );

    You can hook in that filter, compare the $item_id against your Free Download product (it’s ID) and if it matches, return false in the filter.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.