statsoos - List of customer out of stock registrations (from PS)
zimmer-media last edited by
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 ‘id_lang’ => [‘type’ => self :: TYPE_INT, ‘validate’ => ‘isUnsignedInt’, ‘required’ => true],
’date_add’ => [‘type’ => self :: TYPE_DATE, ‘validate’ => ‘isDate’, ‘required’ => true],
after line 59/60 public $ id_lang;
public $ date_add;
modules / mailalerts / mailalerts.php
after line 176 (
id_langint (10) unsigned NOT NULL,)
date_adddatetime 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.