if (file_exists(dirname(__FILE__).'/mails/'.$iso.'/'.$template.'.txt') AND file_exists(dirname(__FILE__).'/mails/'.$iso.'/'.$template.'.html'))
Mail::Send($id_lang, $template, $subject, NULL, $mail_ma, NULL, strval(Configuration::get('PS_SHOP_EMAIL')), strval(Configuration::get('PS_SHOP_NAME')), NULL, NULL, dirname(__FILE__).'/mails/');
end of that posted code
Tech support from Vekia in that same forum post:
Vekia: you have to modify module .php file
to the function where comment is added to cart - just add mail function to send an email.
Someone asked him to clarify and his reply was:
Files that need to be edited, which files they are and the mail call code that needs to be put in:
$grade_sum = 0;
foreach(Tools::getValue('criterion') as $id_product_comment_criterion => $grade)
$grade_sum += $grade;
$product_comment_criterion = new ProductCommentCriterion($id_product_comment_criterion);
News for users of the PS 1.7 version (if any are here) Free product reviews module for new PrestaShop 1.7.x productcomments.zip by Vekia:
This addon is a modification of old ‘productcomments’ module that we have by default in each installation of prestashop 1.6.x / 1.5.x. Now it fully supports new releases of PS 1.7.x. Module has exactly the same features as previous versions with improved design.
I updated my version of this module. I changed the version to 6.0.0, so it doesnt try to update it all the time, plus I know TB will never go up to that version number. I also modified the sql calls to the newer way of doing it. https://github.com/SLiCK-303/dashactivity/releases