Jump to content

< SOLVED > Email Subject Changing


Recommended Posts

Hi Friends,

 

Like to know how to change email subject in Prestashop.

 

Suppose my store name is xyz

 

whenever a customer register on our store he get below subjected email.

 

(XYZ) Welcome.

 

I want to remove this shop name from subject. Same thing I want to do for other emails like (XYZ) Shipment in transit, (XYZ) Order Shipped.

 

Will be great if anyone suggest solution on it.

 

Using Prestashop 1.5.4.1

 

Thanks

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

Hi Friends,

 

I have solved my this query with my best, master of prestashop razaro's help :)

 

I am thanksful to him for kind support.

 

Below is solution which might be helpful to you also.

 

 

Try this then in classes/Mail.php edit this code

 

 

/* Create mail and attach differents parts */

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

to

/* Create mail and attach differents parts */

$message = new Swift_Message($subject);

 

 

Thanks

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

  • 6 months later...
  • 5 months later...
×
×
  • Create New...