EXCORP Posted December 17, 2015 Share Posted December 17, 2015 So when a customer does the Forgot password, an email is sent to them. However the link inside the email is not working. I am not sure why. Im sure im overlooking it.. but I cant figure it out. So the email reads as: Please note that this will change your current password.To confirm this action, please use the following link:https://www.endlessxpressions.com/rep/password-recovery?token=012f0a471c5305ada2698c54b2cc60b7&id_customer=2 HOWEVER, the link is not clickable; well I should say it doesnt go anywhere on the password_query template I see the following: <td style="padding:7px 0;"> <p style="border-bottom:1px solid #D6D4D4;margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;padding-bottom:10px;">Password reset request for {shop_name}</p> <span style="color:#777;"> You have requested to reset your <span style="color:#333;"><strong>{shop_name}</strong></span> login details.<br /><br /> Please note that this will change your current password.<br /><br /> To confirm this action, please use the following link: <br /><a style="color:#337ff1;" href="%7Burl%7D">{url}</a> </span></td> <td style="padding:7px 0;" width="10"> </td> </tr></tbody></table></td> Im ASSUMING it has something to do with that -(the red text) but I am unsure.. Can anyone point me to what Im doing wrong or overlooking? Link to comment Share on other sites More sharing options...
EXCORP Posted December 17, 2015 Author Share Posted December 17, 2015 SOLVED. href="%7Burl%7D">{url} The correct format is href="{url}">{url} Link to comment Share on other sites More sharing options...
EXCORP Posted December 17, 2015 Author Share Posted December 17, 2015 APPARENTLY the system doesnt save this change. ALL my emails have those funky numbers where "{ }" should be. NOTHING is saving.. I tried to do a different solution that was posted regardind uploading a new Admins translationscontroller.. BUT after doing so it wouldnt let me even get into the transitions, so I had to revert back How do you fix these issues?? None of the emails going out to customers have clickable links. New registration.. forgot password...order status.. changes.. shipping. ITS driving me bananas!! I truly thought switching to PS was a good idea from opencart.. and im regretting this move. Link to comment Share on other sites More sharing options...
chulien07 Posted April 25, 2018 Share Posted April 25, 2018 hello. i have the same problem but here is what i did. i edited the file themes/default-bootstrap/mails/en/password_query.html not in my prestashop backoffice but directly in my cpanel file manager because if i try to edit it in my prestashop backoffice, it doesn't save somehow. i removed everything and changed the code to the one below. I hope this works for you. I have been searching the forums too but nothing answered this. or none of the answers posted worked for me. So i tried restoring it to its default and this worked. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <title>Message from {shop_name}</title> <style> @media only screen and (max-width: 300px){ body { width:218px !important; margin:auto !important; } .table {width:195px !important;margin:auto !important;} .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto !important;display: block !important;} span.title{font-size:20px !important;line-height: 23px !important} span.subtitle{font-size: 14px !important;line-height: 18px !important;padding-top:10px !important;display:block !important;} td.box p{font-size: 12px !important;font-weight: bold !important;} .table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr { display: block !important; } .table-recap{width: 200px!important;} .table-recap tr td, .conf_body td{text-align:center !important;} .address{display: block !important;margin-bottom: 10px !important;} .space_address{display: none !important;} } @media only screen and (min-width: 301px) and (max-width: 500px) { body {width:308px!important;margin:auto!important;} .table {width:285px!important;margin:auto!important;} .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;} .table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr { display: block !important; } .table-recap{width: 295px !important;} .table-recap tr td, .conf_body td{text-align:center !important;} } @media only screen and (min-width: 501px) and (max-width: 768px) { body {width:478px!important;margin:auto!important;} .table {width:450px!important;margin:auto!important;} .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;} } @media only screen and (max-device-width: 480px) { body {width:308px!important;margin:auto!important;} .table {width:285px;margin:auto!important;} .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;} .table-recap{width: 295px!important;} .table-recap tr td, .conf_body td{text-align:center!important;} .address{display: block !important;margin-bottom: 10px !important;} .space_address{display: none !important;} } </style> </head> <body style="-webkit-text-size-adjust:none;background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto"> <table class="table table-mail" style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)"> <tr> <td class="space" style="width:20px;padding:7px 0"> </td> <td align="center" style="padding:7px 0"> <table class="table" bgcolor="#ffffff" style="width:100%"> <tr> <td align="center" class="logo" style="border-bottom:4px solid #333333;padding:7px 0"> <a title="{shop_name}" href="{shop_url}" style="color:#337ff1"> <img src="{shop_logo}" alt="{shop_name}" /> </a> </td> </tr> <tr> <td align="center" class="titleblock" style="padding:7px 0"> <font size="2" face="Open-sans, sans-serif" color="#555454"> <span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi {firstname} {lastname},</span> </font> </td> </tr> <tr> <td class="space_footer" style="padding:0!important"> </td> </tr> <tr> <td class="box" style="border:1px solid #D6D4D4;background-color:#f8f8f8;padding:7px 0"> <table class="table" style="width:100%"> <tr> <td width="10" style="padding:7px 0"> </td> <td style="padding:7px 0"> <font size="2" face="Open-sans, sans-serif" color="#555454"> <p data-html-only="1" style="border-bottom:1px solid #D6D4D4;margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;padding-bottom:10px"> Password reset request for {shop_name} </p> <span style="color:#777"> You have requested to reset your <span style="color:#333"><strong>{shop_name}</strong></span> login details.<br/><br/> Please note that this will change your current password.<br/><br/> To confirm this action, please use the following link: <br /> <a href="{url}">{url}</a> </span> </font> </td> <td width="10" style="padding:7px 0"> </td> </tr> </table> </td> </tr> <tr> <td class="space_footer" style="padding:0!important"> </td> </tr> <tr> <td class="footer" style="border-top:4px solid #333333;padding:7px 0"> <span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a> powered by <a href="http://www.prestashop.com/" style="color:#337ff1">PrestaShop™</a></span> </td> </tr> </table> </td> <td class="space" style="width:20px;padding:7px 0"> </td> </tr> </table> </body> </html> 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