Jump to content

Change Email subjects


Recommended Posts

Hi,

I've been trying for a few days (!!) to change emails subjects of order related emails (Awaiting bank transfer for example and other new emails that I have created in order statuses). The thing is the subject has to be different from the order status.

In back office > order statuses, I have for example : "01-To be checked (bank transfer payment)", I'd like the email subject to be "Information on your order".

I tried to edit lang.php in :

themes>MYTHEME>email>en :

<?php
global $_LANGMAIL;
$_LANGMAIL = array();
$_LANGMAIL['10-Expédiée par colissimo'] = '';
$_LANGMAIL['colissimo'] = '';
$_LANGMAIL['Awaiting check payment'] = '';
$_LANGMAIL['02-A traiter (chèque)'] = '';
?>

and themes>MYTHEME>email>fr for translation :

 

<?php
global $_LANGMAIL;
$_LANGMAIL = array();
$_LANGMAIL['10-Expédiée par colissimo'] = 'Livraison en cours';
$_LANGMAIL['colissimo'] = 'Livraison en cours';
$_LANGMAIL['Awaiting check payment'] = 'Message depuis le formulaire de contact LANG.PHP';
$_LANGMAIL['02-A traiter (chèque)'] = 'Message depuis le formulaire de contact LANG.PHP 2';
?>

So far, it hasn't worked. Any idea what I should do?

Your help would be greatly appreciated!!

 

Link to comment
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...