Jump to content
luca.leg

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?

Share this post


Link to post
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;

 

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks bellini13! For those who are wondering, you can find the Mail.php file in the classes folder.

Share this post


Link to post
Share on other sites

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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More