statsoos - List of customer out of stock registrations (from PS)



  • Help from the PS forum.

    0_1512684559292_Screenshot-2017-12-7 Statistiken • FashionMoon.png

    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],
    add
    ’date_add’ => [‘type’ => self :: TYPE_DATE, ‘validate’ => ‘isDate’, ‘required’ => true],
    after line 59/60 public $ id_lang;
    add
    public $ date_add;
    0_1512684393401_Screenshot-2017-12-7 Datei fashionmoon de httpdocs modules mailalerts classes MailAlert php anzeigen - Plesk 12 5 30-statsoos.png

    modules / mailalerts / mailalerts.php
    after line 176 (id_lang int (10) unsigned NOT NULL,)
    add
    date_add datetime NOT NULL,

    0_1512684411852_Screenshot-2017-12-7 Datei fashionmoon de httpdocs modules mailalerts classes MailAlert php anzeigen - Plesk 12 5 30-statsoos-2.png

    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.


 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.