Jump to content

Remove [Shop_Name] from email header/subject 1.6.0.9


Recommended Posts

  • 2 weeks later...
  • 1 month later...

According to your screen shot, you didn't change it...

I don't understand :D

For the subject email i want it to have the shop name.

But for the header (right below it i don't).

So this line "$message = new Swift_Message($subject);" is for the header i think?

Link to comment
Share on other sites

  • 3 weeks later...

I don't understand :D

For the subject email i want it to have the shop name.

But for the header (right below it i don't).

So this line "$message = new Swift_Message($subject);" is for the header i think?

 

if by the header you mean, in the message on the top, then you have to edit e-mail templates - they're all in ->  mails/

 

btw for the subject fix - it's line 281 in mail.php (presta 1.6.0.13):

 

 

$subject = '['.Configuration::get('PS_SHOP_NAME', null, null, $id_shop).'] '.$subject;

change to:

$subject = $subject;
Edited by matik4 (see edit history)
Link to comment
Share on other sites

  • 4 weeks later...

i dont understand why is not working, is there another file to modify?

 

my classes/mail.php line 281 looks like:

 

            /* Create mail and attach differents parts */
            $subject = $subject;
            $message = new Swift_Message($subject);

 

but my email subject keeps showing as [store name] Your message has been correctly sent

 

This is for ContactForm, I have all my email statuses disabled.

 

Any ideas? I am on PS 1.6.0.14

 

Thanks,

Edited by pietro (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...