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.
Question
zimmer-media
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,) adddate_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.
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now