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.

Leave a comment

Comments

  • Fabbea
    June 24th, 2011 / 12:10 PM
    Reply

    Hi

    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

  • Richard Smaizys
    June 24th, 2011 / 12:27 PM
    Reply

    Hello,

    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.

  • nathan
    July 4th, 2011 / 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 12th, 2011 / 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 14th, 2011 / 8:01 PM

        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 6th, 2012 / 12:05 PM

          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!

  • JrDeline
    July 6th, 2011 / 11:32 PM
    Reply

    works perfect under version 1.4.2.5 !!!
    very cool modul

  • Gustaaf
    July 10th, 2011 / 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?

    Thanks

    • Richard Smaizys
      July 12th, 2011 / 8:28 PM
      Reply

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

  • Bat
    July 20th, 2011 / 7:49 PM
    Reply

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

    Bat

    • Richard Smaizys
      July 20th, 2011 / 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.

  • Flavio
    July 24th, 2011 / 12:50 AM
    Reply

    Hello,

    I’ve installed in my PS 1.4.1.0 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,
    Flavio

  • Richard Smaizys
    July 24th, 2011 / 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.

  • Gareth
    August 8th, 2011 / 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 8th, 2011 / 6:08 PM
      Reply

      Edit when I say email client I mean newsletter client

      • Richard Smaizys
        August 14th, 2011 / 8:04 PM

        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 30th, 2011 / 5:46 PM

          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?

  • Wouter Busnach
    August 11th, 2011 / 3:05 PM
    Reply

    I have installed the module in 1.4.2.5
    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 14th, 2011 / 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.

  • Taz
    August 17th, 2011 / 1:25 PM
    Reply

    Hi,

    Nice work, will this work with version 1.3.6?

    Thanks 🙂

    • Richard Smaizys
      August 17th, 2011 / 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 18th, 2011 / 1:35 PM

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

        Many thanks,

        Taz

  • bruno
    September 2nd, 2011 / 6:16 PM
    Reply

    Hi,
    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.

  • bruno
    September 2nd, 2011 / 6:29 PM
    Reply

    (RESOLVED)
    i was trying to send in my localhost pc, in my site, the newsletter was send 😀
    thanks

  • budi
    September 7th, 2011 / 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.

  • victor
    October 2nd, 2011 / 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

  • Tim
    October 13th, 2011 / 1:56 PM
    Reply

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

  • Robert
    November 3rd, 2011 / 12:22 PM
    Reply

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

    Robert

    • Richard Smaizys
      November 3rd, 2011 / 5:17 PM
      Reply

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

  • Rud
    November 9th, 2011 / 3:44 PM
    Reply

    Hi,

    Thnx for this module.

    I have the litle prob Text editor did not present

    Thank you for your feedback

    Presta : 1.4.0.17

  • durghe
    November 10th, 2011 / 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 10th, 2011 / 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

  • Thomas
    November 29th, 2011 / 3:58 AM
    Reply

    Thanks works fine with prestashop PrestaShop™ 1.4.6.2

  • Michael
    December 1st, 2011 / 4:33 PM
    Reply

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

    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 1st, 2011 / 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.

  • Michael
    December 1st, 2011 / 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 1st, 2011 / 7:19 PM
      Reply

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

      • Michael
        December 2nd, 2011 / 10:19 AM

        Yes, thank you.

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

  • driv3r
    December 7th, 2011 / 7:32 AM
    Reply

    Hey!

    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 ?

    Regards

  • sahirman
    January 4th, 2012 / 5:42 AM
    Reply

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

  • Daniel Watson
    January 17th, 2012 / 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.

  • Nel Hollie
    January 23rd, 2012 / 10:21 PM
    Reply

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

    • Richard Smaizys
      January 24th, 2012 / 7:23 PM
      Reply

      Hello,

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

  • Myckel
    February 12th, 2012 / 2:29 PM
    Reply

    Hello Richard,

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

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

    • Richard Smaizys
      August 24th, 2012 / 2:46 PM
      Reply

      I am happy to hear this!

  • Daniel eli
    February 18th, 2012 / 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.

  • ionutz
    July 5th, 2012 / 2:34 PM
    Reply

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

    • Richard Smaizys
      August 24th, 2012 / 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.

  • gokhan can
    August 19th, 2012 / 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 24th, 2012 / 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.

  • fxdll
    August 22nd, 2012 / 2:12 PM
    Reply

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

    • Richard Smaizys
      August 24th, 2012 / 2:45 PM
      Reply

      Have you tried using Translations?

  • manel
    September 7th, 2012 / 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?

  • Agusti
    October 29th, 2012 / 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 2nd, 2012 / 9:18 PM
      Reply

      Did not really understand what you want to do?

  • Vilvian
    November 2nd, 2012 / 7:50 AM
    Reply

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

  • Abraham Fleming
    November 20th, 2012 / 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.

  • Sach
    December 23rd, 2012 / 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?

  • maurizio
    January 23rd, 2013 / 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 23rd, 2013 / 7:39 PM
      Reply

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

  • blesok
    February 10th, 2013 / 5:12 PM
    Reply

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

  • Ali
    April 1st, 2013 / 4:24 AM
    Reply

    Hi

    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

  • Joanna
    May 3rd, 2013 / 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 🙂

  • Ehan
    August 6th, 2013 / 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?

  • Pete W
    October 12th, 2013 / 12:58 PM
    Reply

    Hi,
    Nice plugin, worked nicely up to PS 1.5.5.0 – but updating to PS 1.5.6.0 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 16th, 2013 / 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 1.5.6.0 seems to return false to this module, whilst still working for others. Happy that it’s working again now, though! 🙂

  • Ze
    November 7th, 2013 / 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/header.inc.php 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/header.inc.php 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/header.inc.php 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/header.inc.php on line 31″

    Can you please help me? Thanks

  • Dams
    April 13th, 2014 / 1:01 AM
    Reply

    Hi,

    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!

  • congratulations !
    December 2nd, 2014 / 12:40 PM
    Reply

    THank you for your module ! It works perfectly with prestashop 1.5.3.1