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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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