jahyax Posted August 1, 2013 Share Posted August 1, 2013 Good day, I am having an issue regarding email sending in prestashop 1.5.4 when I set my email parameters to PHP mail() function, order confirmation for customers works fine, but sending a product link to a friend does not work, and if I set the email parameters to set my Own SMTP, sending product link to a friends works, but no order confirmation email is sent to customer. when a customer place order please anyone knows how to make order confirmation email, and sending product link to a friend , can make it work together. Link to comment Share on other sites More sharing options...
YanK1973 Posted August 1, 2013 Share Posted August 1, 2013 I'm not an expert but i remember I fixed my issue of not "sending to a friend" by doing this: In modules/sendtoafriend/sendtoafriend-extra.tpl replace line 48 data: {action: 'sendToMyFriend', secure_key: '{/literal}{$stf_secure_key}{literal}', friend: unescape(JSON.stringify(datas).replace(/u/g, '%u'))},{/literal}{literal} with data: {action: 'sendToMyFriend', secure_key: '{/literal}{$stf_secure_key}{literal}', friend: JSON.stringify(datas)},{/literal}{literal} then Disable cache and Force Compile. Link to comment Share on other sites More sharing options...
jahyax Posted August 1, 2013 Author Share Posted August 1, 2013 (edited) hey Yanc thanks for your reply.. I have already tried this solution but it does works for me.. also if I disable cache and force compile, product comparison on my shop will not work.. Edited August 1, 2013 by jahyax (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 3, 2013 Share Posted August 3, 2013 make sure that your template doesn't override this file Link to comment Share on other sites More sharing options...
Recommended Posts