Filippo Mariño Posted May 13, 2020 Share Posted May 13, 2020 Hello Guys, My prestashop version is 1.7.6.4. I am trying to get rid of [shop name] on email subjects but I don't have success on that. I have tried out many tutorials for previous versions of prestashop and they have not worked for me so far. Basically they say to change one line of code in "classes/Mail.php". the line located under the comment: /* Create mail and attach differents parts */ This line: $subject = '['.Configuration::get('PS_SHOP_NAME', null, null, $id_shop).'] '.$subject; to be changed to this: //$subject = '['.Configuration::get('PS_SHOP_NAME', null, null, $id_shop).'] '.$subject; or to that $subject = $subject; The original line of code on my "classes/Mail.php" is slightly different: $subject = '[' . strip_tags($configuration['PS_SHOP_NAME']) . '] ' . $subject; the changes commented above haven't worked for me. Can someone help me with this please? Thanks in advance. 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