Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Download notification to admin for free download via squeeze form

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Download notification to admin for free download via squeeze form

  • This topic has 5 replies, 2 voices, and was last updated 13 years, 3 months ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • November 23, 2011 at 9:35 pm #4841
    rydale13
    Member

    Hi,

    Is there anyway that I can receive a notification by email once a visitor has downloaded a free file using the squeeze page? This is an important feature that I need to have.

    Thanks!

    Luke

    November 24, 2011 at 1:33 am #38812
    admin
    Keymaster

    eStore doesn’t have an option for this but it should be doable with a small customization. Let me know if you are okay to modify some PHP code.

    February 7, 2012 at 9:26 am #38813
    rydale13
    Member

    Hi,

    Thanks for getting back to me and apologies for the slow reply! I totally forgot about this topic. Yes. I’m happy to edit PHP aslong as you can tell me what to put and where.

    Thanks again!

    Regards

    Luke

    February 7, 2012 at 11:01 pm #38814
    admin
    Keymaster

    Open the “ajax_process_download.php” file and find the following line of code:

    $eStore_debug_manager->squeeze_form("Email with the download link sent to: ".$email, ESTORE_LEVEL_SUCCESS);

    Once you find it, add the following just above that line:

    wp_mail("your_email@address.com", "Notification Subject", "Some text that will go in the body of the email");

    February 8, 2012 at 3:41 pm #38815
    rydale13
    Member

    Thanks!

    As one last thing, I’d like to add the email address that was used to request the download itself. How would I add this email address to the notification email?

    Thanks for all your help so far.

    Luke

    February 9, 2012 at 1:58 am #38816
    admin
    Keymaster

    You can use the following:

    $body = "Some text that will go in the body of the email. The email was sent to: ".$email
    wp_mail("your_email@address.com", "Notification Subject", $body);

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ