c64girl Posted June 27, 2017 Share Posted June 27, 2017 (edited) I have a problem with paid module https://addons.prestashop.com/pl/lojalnosc-rekomendowanie/2376-coupons-discount-vouchers.html It's working but when the module try to send email to a user it fails to send it dont know why. How i can check what is wrong ? I have the email templates and it seems everything is ok instead of sending email. E-mails work with no problems sending the orders and status to clients. Edited June 27, 2017 by c64girl (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 27, 2017 Share Posted June 27, 2017 turn on error reporting and try to send the coupon codes, if there is something wrong with email delivery - you should see an error details then Link to comment Share on other sites More sharing options...
c64girl Posted June 27, 2017 Author Share Posted June 27, 2017 (edited) Problem with this module is when i install the module this is missing: themes/template.name/modules/prestagiftvouchers < - folder not created at all /modules/prestagiftvouchers/mails/pl < - missing polish translations thats why the emails not sent to users (english emails not sent) No way to change the Topic of email 'You\'ve got a gift!' from translations in backoffice because there is no field responsible for this... To change it i had to enter the db and change 'MOD_PRESTAGIFTVOUCHERS_OBJ_en' public function install() { if (Shop::isFeatureActive()) { Shop::setContext(Shop::CONTEXT_ALL); } if (!parent::install() || !Configuration::updateValue('PRESTAGIFTVOUCHERS_ORDER_STATE_TRIGGER', _PS_OS_PAYMENT_) || !Configuration::updateValue('PRESTAGIFTVOUCHER_IS_CUMULABLE', 0) || !Configuration::updateValue('PRESTAGIFTVOUCHERS_GROUP_RESTRICTION', Tools::jsonEncode(array())) || !Configuration::updateValue('MOD_PRESTAGIFTVOUCHERS_OBJ_en', 'You\'ve got a gift!') || !Configuration::updateValue('MOD_PRESTAGIFTVOUCHERS_OBJ_pl', 'Podarunek!') || !Configuration::updateValue('MOD_PRESTAGIFTVOUCHERS_OBJ_fr', 'Vous avez reçu un cadeau!') || !Configuration::updateValue('MOD_PRESTAGIFTVOUCHERS_OBJ_de', 'Ein Geschenk wartet auf Sie!') || !Configuration::updateValue('MOD_PRESTAGIFTVOUCHERS_OBJ_it', 'Ti aspetta un regalo!') || !Configuration::updateValue('MOD_PRESTAGIFTVOUCHERS_OBJ_es', '¡Tenemos un regalo para ti!') || !$this->registerHook('updateOrderStatus') || !$this->installDB() || !$this->installTab() ) { return (false); } return (true); } Support for this plugin is catastrophe. No respond from seller at all i am trying second day... Dont forget the plugin maker is PRESTASHOP ! Edited June 27, 2017 by c64girl (see edit history) Link to comment Share on other sites More sharing options...
HOSchT_ERROR Posted January 13, 2020 Share Posted January 13, 2020 Do you know where i can change this E-Mail Topic in PS 1.7? I did't find it in my DB. I also searched in different *.tpl-Files of Prestashop 😞 Thank you very much Link to comment Share on other sites More sharing options...
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