Jump to content

Remove [Shopname] from Email Subject


Recommended Posts

I had a quick look at the code and found this for you to try. In classes/Mail.php, change line 93 from:

$message = new Swift_Message('['.Configuration::get('PS_SHOP_NAME').'] '.((is_array($_LANGMAIL) AND key_exists($subject, $_LANGMAIL)) ? $_LANGMAIL[$subject] : $subject));



to:

            $message = new Swift_Message(((is_array($_LANGMAIL) AND key_exists($subject, $_LANGMAIL)) ? $_LANGMAIL[$subject] : $subject));

Link to comment
Share on other sites

  • 4 years later...
  • 1 month later...

Hi prestaslo  :)

 

I tryed that to, but it works only on all order statuses, except on "cancel order".

 

You have that problem too?

 

Thank you and best regards,

Housy

 

 

Solved: 

 

From line 242 remove: 

'['.Configuration::get('PS_SHOP_NAME', null, null, $id_shop).'] '.
Edited by Housy (see edit history)
Link to comment
Share on other sites

  • 9 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...