December 7, 20178 yr Help from the PS forum. Who uses this module and has in the list as display a date of 1970 etc goes as follows: customize the files in the MailAlert module modules / mailalerts / classes / MailAlert.php after line 51 'idlang' => ['type' => self :: TYPEINT, 'validate' => 'isUnsignedInt', 'required' => true], add 'dateadd' => ['type' => self :: TYPEDATE, 'validate' => 'isDate', 'required' => true], after line 59/60 public $ idlang; add public $ dateadd; modules / mailalerts / mailalerts.php after line 176 (id_lang int (10) unsigned NOT NULL,) add date_add datetime NOT NULL, Then reset the module Mail Alerts. On the next customer request (email notification product not available) on a product that is not in stock should appear with the current date. I personally hope that the changes will be added to the Mail Alerts module as default.
October 26, 20206 yr Did you by any chance get the dates to show? I did the edits but it shows as a date: 30-11--0001 Attached also the module in case anybody's interested. It's from: https://www.prestashop.com/forums/topic/47173-module-list-of-customer-out-of-stock-registrations/page/2/?tab=comments#comment-2008786 statsoos.zip
October 27, 20206 yr A quick warning to NOT change the Mail Alert module. At least for me it looks like it messed up order processing. Orders were being registered without product information.
February 13, 20242 yr The module is now public here and the author is glad to have it forked: https://github.com/Gitdyr/statsoos And attached a modified version (thanks to @datakick) that expands on the information available. statsoos.zip
February 14, 20242 yr This works separately from alerts? If you click on each entry there you can see dates but you can not delete them.
February 14, 20242 yr I didn't know about the list in alerts until now. But I see that they share the same database. If you delete someone in this module, they get deleted from alerts.
Create an account or sign in to comment