Newsletter Tab Module for PrestaShop

I have found a great and simple Newsletter Tab on PrestaShop forum, however the author have not changed anything for couple years and adding tab like that was a pain in a neck so I have created a module to do this automatically and cleared some features of that admin tab.

Module features:

  • Send emails to your PrestaShop customers
  • Send newsletter email on their birthday
  • You can use variables for your emails to make it more personal: %FIRSTNAME% – %LASTNAME% – %MAIL%
  • Works good with your server because there is an ability to add delay on sending emails
  • You get a detailed information about the process when it is finished
  • You can check all checkboxes and the script will automatically filter duplicate emails.

Here is a screenshot:

Download: Newsletter Tab Module for PrestaShop 1.4.4 v1.1

UPDATE v1.1: 2011-06-22:

  • Added automatic translastions to the admin tab class
  • Added ability to choose parent tab for your Newsletter tab
  • fixed some mistakes

UPDATE v1.1: 2011-06-29

  • Mistakes regarding configuration and parent tab selecting form for 1.4.3 were fixed.

UPDATE v1.1: 2011-08-15

  • Deleted some unnecessary functions for better and easier installation.
  • Tested and works fine with versions 1.4.3 and 1.4.4.

Download: Newsletter Tab Module for PrestaShop 1.4.4 v1.1

Leave feedback and comments if you want more functionality or have problems.

, , , , ,

About Richard Smaizys

I am a freelance PHP developer working mostly on projects using PrestaShop for ecommerce (modules, theme integration, projects from 0 etc.) and WordPress as CMS solution.

70 Responses to “Newsletter Tab Module for PrestaShop”

  1. Fabbea June 24, 2011 at 12:10 pm # Reply


    Ok it seems very interesting, but what about the installation ?
    I can’t install this one on my website (I can’t choose the tab, it doesnt’ register).
    Thank you for your explain

  2. Richard Smaizys June 24, 2011 at 12:27 pm # Reply


    It was only tested with the newest version PS 1.4.3 and I do not have problems installing it on this version.

    You can choose the parent tab on its configuration after the install.

  3. nathan July 4, 2011 at 6:06 pm # Reply

    I cant get this to work on 1.4 when i try and configure it it just goes blank and the tab does not show up. Am i missing something? It shows up under modules after installed but nothing else happens

    • Elund August 12, 2011 at 11:14 pm # Reply

      I have the same problem with version 1.4.4.
      The blank page is caused by this line
      {foreach $tabsInfo as $tab}
      in adminform.tpl.
      Did you find a solution?

      • Richard Smaizys August 14, 2011 at 8:01 pm # Reply

        I have tried to reproduce this problem on PrestaShop 1.4.4 and everything works just fine. I am using Smarty3 and not Smarty2. Maybe you have problems because of that. Please share more details on your problem by email if you do want to write it here.

        • David Scanlan August 6, 2012 at 12:05 pm # Reply

          I think its just the syntax, I changed that line to: {foreach from=$tabsInfo item=tab} and it worked for me. Thanks for the plugin!

  4. JrDeline July 6, 2011 at 11:32 pm # Reply

    works perfect under version !!!
    very cool modul

  5. Gustaaf July 10, 2011 at 5:32 pm # Reply

    Can you help me with this installation? I have Prestashop 1.4.3. To which directory do I need to copy the files to?


    • Richard Smaizys July 12, 2011 at 8:28 pm # Reply

      You need to add files to /yourprestashophome/modules and install the module. After that configure the position of tab.

  6. Bat July 20, 2011 at 7:49 pm # Reply

    Does not work for me either
    PS 1.4.3 does not accept auto installation or manual installation.


    • Richard Smaizys July 20, 2011 at 7:51 pm # Reply

      Can you tell me more about problems you face because there were confirmation from others that this module works on PS 1.4.3.

  7. Flavio July 24, 2011 at 12:50 am # Reply


    I’ve installed in my PS and works fine.
    I got one interesting error message, in the first time that I accessed the Newsletter tab I got the message “Invalid security token” and there were two buttons “I understand the risks and I want to display the page” and “Take me out of here!”.
    Could you please let us know the reason of this message?

    Thank you,

  8. Richard Smaizys July 24, 2011 at 12:53 pm # Reply

    Hard to say why this was shown because the tab is created automatically to PrestaShop by its default capabilities. Maybe you have not refreshed the page if you added the tab on your Modules sections.

  9. Gareth August 8, 2011 at 6:07 pm # Reply

    Can this be adapted to work as a regular email client?

    I’m looking for something like this for my shop

    • Gareth August 8, 2011 at 6:08 pm # Reply

      Edit when I say email client I mean newsletter client

      • Richard Smaizys August 14, 2011 at 8:04 pm # Reply

        This is a normal newsletter client. It was a class made by other person, however for simplicity I added it as module and now it is a fully functional normal newsletters module that you can use on every day basis.

        • Gareth August 30, 2011 at 5:46 pm # Reply

          Hi Richard,

          Thank you very much for your answer.

          I’ve installed it and am trying to put together an HTML newsletter but it keeps on stripping out the head code.

          That and the page looks a little funny in Google (the email client I’m using for testing purposes)

          Any suggestions on how to couch attributes or what to add to the code so that the page won’t break up too much vertically and the top of the page will actually stick to the top of the browser?

  10. Wouter Busnach August 11, 2011 at 3:05 pm # Reply

    I have installed the module in
    When I send a newsletter it only maisl to the first client and then stops telling me “no customers in criteria” when I markt the first customer as “no newsletter” it mails to the next customer and stops there. What can be wrong????
    Urgent becaus I have to mail my clients

    • Richard Smaizys August 14, 2011 at 8:03 pm # Reply

      I can not say where is the problem, because there are not enough information. Please tell me which mode of this Newsletter class you use when sending emails and other options you choose.

      Do not forget that this script sends emails with delay – only two emails per minute by default if I do remember good.

  11. Taz August 17, 2011 at 1:25 pm # Reply


    Nice work, will this work with version 1.3.6?

    Thanks :)

    • Richard Smaizys August 17, 2011 at 1:28 pm # Reply

      PS 1.3.6 does not support Smarty2, so it will not work with it. I will add another download for Smarty2 users later this week.

      • Taz August 18, 2011 at 1:35 pm # Reply

        Thanks for letting me know. Any ideas of which newsletter modules I can use for v 1.3.6?

        Many thanks,


  12. bruno September 2, 2011 at 6:16 pm # Reply

    i install the module, but when i send a mail, return “status Failed”, and dont sent, did i must configure some email? where?
    who is the email that the module sent the newsletter?
    thaks for your work, will be helpful to many people, including me.

  13. bruno September 2, 2011 at 6:29 pm # Reply

    i was trying to send in my localhost pc, in my site, the newsletter was send :D

  14. budi September 7, 2011 at 7:01 am # Reply

    Wow Excellent. It works , i upload the module and then i click “install” after i found the module under “administration” section on module tab.

    After that you just need to configure the parent tab, I test on my email and it really nice.

    Thanks for the module i appreciate that.

  15. victor October 2, 2011 at 3:16 am # Reply

    It seems to work fine have no idea of what i am doing but i tested it and i received so it looks like someone that is going blinded as I did was able to do it.
    thanks a lot oh and using 1.4.3

  16. Tim October 13, 2011 at 1:56 pm # Reply

    Thanks, Great job!
    Simple installation and great function.
    Works on PS

  17. Robert November 3, 2011 at 12:22 pm # Reply

    Hi, I installed the module in but it does not show up on a tab, I see more people had this problem, anyone found the solution?


    • Richard Smaizys November 3, 2011 at 5:17 pm # Reply

      You are using Smarty 2 which is not compatible with this module – it users Smarty3 syntax.

  18. Rud November 9, 2011 at 3:44 pm # Reply


    Thnx for this module.

    I have the litle prob Text editor did not present

    Thank you for your feedback

    Presta :

  19. durghe November 10, 2011 at 2:37 pm # Reply

    hi, i have some problem with your module. i don’t find how to config the newsletter but i can write them. when i try to send to all customers continue to show “failure” i don’t know why. thx for your attention

    • durghe November 10, 2011 at 4:26 pm # Reply

      PS: i have a website on altervista, maybe i can’t send email because altervista haven’t got SMTP protocol? sorry for the double post

  20. Thomas November 29, 2011 at 3:58 am # Reply

    Thanks works fine with prestashop PrestaShop™

  21. Michael December 1, 2011 at 4:33 pm # Reply

    Hi, thank you for this. It seems to work on

    Although I have some other problem,
    When someone tries to sign up for the newsletter in the newsletter block on home page, it consistently gives back an error: Error during subscription

    • Richard Smaizys December 1, 2011 at 5:32 pm # Reply

      This module does not have anything to do with your newsletter block, so the problem should be in your theme or other place.

  22. Michael December 1, 2011 at 7:01 pm # Reply

    Hi Richard, thank you for your reply.

    Yess that is true !
    But your module uses those addresses signed up as-well, or not?

    Kind regards M

    • Richard Smaizys December 1, 2011 at 7:19 pm # Reply

      Yes, but it takes only information from the databse and does not have influence on block itself.

      • Michael December 2, 2011 at 10:19 am # Reply

        Yes, thank you.

        The problem seems to be solved when I upgraded the module to

  23. driv3r December 7, 2011 at 7:32 am # Reply


    Good job there ;-) Why don’t you set up repository on github? It would be easier for someone (me i.e.) to contribute for this module, and develop it further. For example maybe some translation specific emails ?


  24. sahirman January 4, 2012 at 5:42 am # Reply

    I just installed your newsletter module and what i can say…..IT IS GREAT!!!.

  25. Daniel Watson January 17, 2012 at 7:41 am # Reply

    Really great blog. As i installed this module it works good. But this module is not compatible with Smarty 2.
    Thanks for share.

  26. Nel Hollie January 23, 2012 at 10:21 pm # Reply

    where can we download newsletter module for prstashop v. 1.462?

    • Richard Smaizys January 24, 2012 at 7:23 pm # Reply


      You should use the current newest version. It should work just fine if you are using Smarty3.

  27. Myckel February 12, 2012 at 2:29 pm # Reply

    Hello Richard,

    Just want to let you know that the module also works fine with the latest

    I had the old original one installed till prestashop and wanted to update to your edited version but due the tab bug of prestashop it didn’t work but as i said after updating prestashop to it works fine and even better as the original one! Thnx for your work!

    • Richard Smaizys August 24, 2012 at 2:46 pm # Reply

      I am happy to hear this!

  28. Daniel eli February 18, 2012 at 11:59 am # Reply

    Hi thanks i do appreciate your link it worked for me
    i upload the module and then i click “install” after i found the module under “administration” section on module tab.

    After that you just need to configure the parent tab, I test on my email and it really nice.

    Thanks for the module i appreciate that.

  29. ionutz July 5, 2012 at 2:34 pm # Reply

    Hello. Can insert %UNSUB% variable, or something for UNSUBSRIBE?

    • Richard Smaizys August 24, 2012 at 2:46 pm # Reply

      This is in my to-do list, but I just do not have enough time to go and work on this module yet.

  30. gokhan can August 19, 2012 at 1:33 am # Reply

    it was working when i have 500 customer, now i have over 10000 customer but it is not working anybody have any idea why

    • Richard Smaizys August 24, 2012 at 2:45 pm # Reply

      This module is not that good for high quantity of customers, however you might adjust your server configuration, for example, max_execution_time etc.

  31. fxdll August 22, 2012 at 2:12 pm # Reply

    is there a way we can translate the language in AdminTab?

    • Richard Smaizys August 24, 2012 at 2:45 pm # Reply

      Have you tried using Translations?

  32. manel September 7, 2012 at 12:27 pm # Reply

    hi, sorry if my english is not very good, i want to know haw to install this module, because i tried to send it to the folder modules/ by ftp , and i find it in my BO , i click to configurate, i don’t find what in the picture of your screenshot , i just find list of emails and to import email, that’s all, can you help me please?

  33. Agusti October 29, 2012 at 11:40 pm # Reply

    Is there any way to change the variable in the newsletter? Instead of %firstname%, %lastname% and %mail%? Thanks and congrat for tha job!

    • Richard Smaizys November 2, 2012 at 9:18 pm # Reply

      Did not really understand what you want to do?

  34. Vilvian November 2, 2012 at 7:50 am # Reply

    Is there a way to send emails through another email address rather than my primary email account?

  35. Abraham Fleming November 20, 2012 at 3:06 pm # Reply

    It’s also fantastic the component growth qualifications is about to get some up-dates. Hopefully it will help the team to create more modules in the future.

  36. Sach December 23, 2012 at 7:49 am # Reply

    Thanks for these fixes. Is there a way to change the “from” and “reply to” e-mail to something other than PS_SHOP_EMAIL?

  37. maurizio January 23, 2013 at 7:33 pm # Reply

    Dont work on 1.5.3 – when i make a test and push “send mail” button i’m redirected on a new invalid page :(

    • Richard Smaizys January 23, 2013 at 7:39 pm # Reply

      Hello, thanks for letting me know. I am planning to update it for PS1.5 in near future.

  38. blesok February 10, 2013 at 5:12 pm # Reply

    i just added (Newsletter Tab Module for PrestaShop 1.4.4 v1.1) on my shop (on presta and two test e-mails were sent just fine.
    thanks, richard!

  39. Ali April 1, 2013 at 4:24 am # Reply


    I just tried this on PrestaShop 1.5.4 and worked straight away.

    The only problem is that in the newsletter tabs it makes the Stock tab visible even when the Advanced Stock Management is turned off. I don’t mind it though as long as it works :)

    Anyway the module works fine as it should. It is just amazing. Thanks a lot

  40. Joanna May 3, 2013 at 1:19 pm # Reply

    Hi, I have a problem with adding photos, when I’m clicking on the ‘imagine url’ my www side appears. Earlier I added imagines… How I can fix it? Thanks for Your help :-)

  41. Ehan August 6, 2013 at 9:06 pm # Reply

    Say the e-mail process gets interrupted (accidental window close, power failure, etc…), how does one go about restarting the module where it left off?

  42. Pete W October 12, 2013 at 12:58 pm # Reply

    Nice plugin, worked nicely up to PS – but updating to PS now gives a blank page where the tab should be. Any ‘obvious’ reason for this? Or can anyone confirm that it does/doesn’t work on 1.5.6,0, please?

    • Pete W October 16, 2013 at 6:02 am # Reply

      Just to follow-up, found that commenting out the include_once for AdminTab.php on line 15 fixed this, as that was trying to redeclare the class. Also had to switch the store from using the standard PHP mail() function – this worked for the module previously, but as of PS seems to return false to this module, whilst still working for others. Happy that it’s working again now, though! :-)

  43. Ze November 7, 2013 at 1:33 pm # Reply

    I Get this hover the admin bar:

    Warning: include_once(PS_ADMIN_DIR/../classes/AdminTab.php) [function.include-once]: failed to open stream: No such file or directory in /home/electrob/public_html/modules/newslettertabmodule/AdminNewsletter.php on line 16

    Warning: include_once() [function.include]: Failed opening ‘PS_ADMIN_DIR/../classes/AdminTab.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/electrob/public_html/modules/newslettertabmodule/AdminNewsletter.php on line 16

    Warning: Cannot modify header information – headers already sent by (output started at /home/electrob/public_html/modules/newslettertabmodule/AdminNewsletter.php:16) in /home/electrob/public_html/onbztbpjmgfea1rc/ on line 28

    Warning: Cannot modify header information – headers already sent by (output started at /home/electrob/public_html/modules/newslettertabmodule/AdminNewsletter.php:16) in /home/electrob/public_html/onbztbpjmgfea1rc/ on line 29

    Warning: Cannot modify header information – headers already sent by (output started at /home/electrob/public_html/modules/newslettertabmodule/AdminNewsletter.php:16) in /home/electrob/public_html/onbztbpjmgfea1rc/ on line 30

    Warning: Cannot modify header information – headers already sent by (output started at /home/electrob/public_html/modules/newslettertabmodule/AdminNewsletter.php:16) in /home/electrob/public_html/onbztbpjmgfea1rc/ on line 31″

    Can you please help me? Thanks

  44. Dams April 13, 2014 at 1:01 am # Reply


    I tested your module on my PS1.6 website and unfortunately once I click on the tab it just displays a white page without anything. Would you happen to know how to eventually fix this? Thanks!

  45. congratulations ! December 2, 2014 at 12:40 pm # Reply

    THank you for your module ! It works perfectly with prestashop

Leave a Reply

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.