How to Get Notified When Someone Subscribes to Your PrestaShop Newsletter (No Coding Skills Needed!)

By default, PrestaShop doesn’t send an email alert to the webmaster when someone signs up for your newsletter. But with a simple tweak, you can get a notification every time a visitor subscribes. This guide is designed for beginners and hobbyists—no special coding skills required!

Step 1: Make a Backup

Before changing anything, always download a backup copy of the file you’ll be editing. That way, you can restore it later if needed.

Step 2: Find the Right File

Go to your PrestaShop folder and look for: modules/ps_emailsubscription/ps_emailsubscription.php. (If you have an older shop, look for blocknewsletter/blocknewsletter.php.)

Step 3: Open the File (Using FTP or Hosting Control Panel)

  • FTP (FileZilla): Download FileZilla and connect to your website. Browse to /modules/ps_emailsubscription/, download ps_emailsubscription.php for backup, then open it with Notepad or your favorite text editor.
  • Plesk or cPanel: Log in to your hosting account and open “File Manager.” Go to /modules/ps_emailsubscription/ and locate ps_emailsubscription.php. Download a backup copy, then use the built-in editor to make changes.

Tip: Always keep an untouched backup in case you need to undo your changes!

Step 4: Find Where Newsletter Signups Happen

In the file, search for a function called postProcess() or hookNewsletterRegistration(). This is where PrestaShop handles newsletter signups. Look for code that adds the email to your newsletter list, or shows a success message.

Step 5: Add the Email Notification Code

Directly after the code that registers the subscriber, paste these lines:

// Send notification to webmaster on new newsletter signup $webmaster_email = Configuration::get('PS_SHOP_EMAIL'); // Or use your email address directly Mail::Send( (int)Context::getContext()->language->id, 'contact', // Use 'contact' template for now 'New newsletter signup', [ '{email}' => Tools::getValue('email'), ], $webmaster_email, null, null, null, null, null, _PS_MAIL_DIR_, false, (int)Context::getContext()->shop->id );

Step 6: Save Your Changes

Save the file and, if needed, upload it back to your server using FTP or your file manager.

Step 7: Test It Out

Visit your store and sign up for the newsletter with a test email address. You should receive an email at your webmaster address whenever someone subscribes.

Optional: Use a Custom Email Template

If you’d like a custom email instead of the default, copy /mails/en/contact.html and rename it to something like newsletter_signup.html, then update the template name in the code above.

What If I’m Not Comfortable Editing Code?

  • This is a simple change, but always make a backup first.
  • If you need help, post in the PrestaShop forums or ask your hosting support—they can often assist with small tweaks.

Bonus: Use a Module Instead

You can also find modules (free or paid) on the PrestaShop Addons Marketplace that handle admin notifications—just search for “admin notifications.”


Summary: Add a few lines of code to your newsletter module and you’ll get an email every time someone signs up. Take a backup, go step by step, and you’re set!

Need a similar guide for getting notified about new customer accounts? Let us know—we’re happy to help!