Jump to content

E-mail with square brackets []


Recommended Posts

Hello guys
use ps 1.6.1.14; all emails that send prestashop, in the object have the shop name in square brackets. You can eliminate brackets or modify it?
NOW It is:
[shop-name] Payment accepted
[shop-name] Preparation in progress
I WOULD LIKE TO BECOME:
Payment accepted
Preparation in progress
Or even managing to enter the order number.
Eg. Order Canceled No. 12345
Do you know if there is a module that creates it or what should I modify?

Link to comment
Share on other sites

You would make this change to the Mail.php file.  That file contains this line of code

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

 

Change it to this

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

 

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 years 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...