Have you notice, that event in the latest stable version of prestashop (v 1.3.1), there still a bug that related to mail alert module.
I noticed this when i try to input my email address at our latest client online store for the product that is out of stock. The Notify me when available text link, when you try to click it, it won’t bring you anywhere, because there is a bug in the product.tpl file inside the mail alert module.
How to fix this bug at the prestashop mail alert module? Its easy, all you need to do is follow the steps bellow: (don’t forget to backup your mail alert module folder).
1. Go to mail alert folder in your modules section.
2. Open the following product.tpl and go look line 36.
3. Change the following code
url: '{$base_dir}modules/mailalerts/mailalerts-ajax_add.php',
to
url: '{/literal}{$base_dir}{literal}modules/mailalerts/mailalerts-ajax_add.php',
4. After changing the code in line 36, go to line 42 and change the following code :
$('#oosHook').html("{l s='Request notification registered' mod='mailalerts'}");
with this code :
$('#oosHook').html("{/literal}{l s='Request notification registered' mod='mailalerts'}{literal}");
Dont forget to save after your finish change the codes, and you`re done fixing the bug that arise with mail alert module in prestashop 1.3.1.
Thanks buddy.
———-
Obrigado amigo.
Thanks for posting the solution!
I have made the changes and it seems as it works. But
the customer doesn’t get an E-mail neither I as admin.
Have you maybe a idea where I can looking for?
Cheers Frank
Do you have activated the Sends e-mails notifications to customers and merchants modules ?
If you already haved, please check our blog incase you missing something.
Buenas tardes, no funciona.
You are the man!
Thanks so much as you fixed my problem!
Thank you, really nice work here.
thanks from spain!!
Halo Arrie,
Boleh nanya ga,
di situs prestashop saya (masih ngetes), kalo ada order, saya dapat email (di email yang saya masukkan di mail alert module), tapi isi emailnya kosong cuma ada attachment logo website prestashop saya.
Ada ide ga kira2 kenapa?
Trims Bro,
ps. pakenya prestashop 1.3.2
You are the man!
Thanks so much as you fixed my problem
From Spain also
sorry but your changes do not work.
I have V 1.3.1.1 to
Thank you so much, it fixed the problem like a charm! I can say for sure because the e-mail appears in the phpMyadmin tables. Perfect.
Sorry but your change do not work.
Worked for me too. Thanks!
code not same at step 4, in line 42. doesn’t work in Version 1.3.2.3
yes, because i try it in lower version then 1.3.2.3
and mail alerts for manufactureds?
is possible manufactured receive automatic mails when costumer buy products?