Jump to content
c64girl

Send mail problem Coupons / Discount vouchers

Recommended Posts

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 by c64girl (see edit history)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 by c64girl (see edit history)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More