desarrollo3 Posted December 16, 2019 Share Posted December 16, 2019 Hi, I detected an error in my prestashop 1.7.6.2 store. In the emails that prestashop sends, the name of the store in the subject is not picking up the accents and does not get to find out why. I am working with multi-store. Things i tried: 1. change the name of the store again in the multi-store configuration. 2. change the name in the contact section. 3. change charset=utf-8 by charset=iso-8859-1 in root mails/es/account.html and mytheme/mails/es/account.html 4. change "utf-8" in class mail.php line 471 Send screenshot of problem. Any ideas to fix it? Thank you Link to comment Share on other sites More sharing options...
desarrollo3 Posted December 16, 2019 Author Share Posted December 16, 2019 Hi, I solved. Change class mail.php line 471 from: $subject = '[' . Tools::safeOutput($configuration['PS_SHOP_NAME']) . '] ' . $subject; To: $nombre = $configuration['PS_SHOP_NAME']; $subject = '[' . $nombre . '] ' . $subject; Link to comment Share on other sites More sharing options...
JBW Posted December 16, 2019 Share Posted December 16, 2019 Thanks for the debugging - I was facing same issue as shop name contains special characters. Could you raise a issue/pull request to get this fixed in next version: https://github.com/PrestaShop/PrestaShop/issues 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