Jump to content

Emails, Wire transfer payment and statuses


Recommended Posts

Hello,

1. I did some test ordering products and the email confirmation I get have subject in English ("order confirmation") - how can I change that to my own language? I could not find that in translations. Everything else is translated correctly.
Same for registration emails, I dont want the subject to say "Welcome" , I want to customize that.

2. Another problem is this line: "Details of your order # {id_order}" - it does not show the order ID, only the variables name.

3. I have set the wire transfer details, activated the module, yet it doesnt offer me this option when ordering, only cash on delivery , why? SOLVED - I reinstalled the wire payment module

4. I want to deactivate the "Out of stock" status message or just dont show it to the customers - I cant delete it so I set the options to "Hide this order status to the customer" yet it shows up in "My orders".

Link to comment
Share on other sites

You can change the 'Order confirmation' text by modifying line 352 of PaymentModule.php:

Mail::Send(intval($order->id_lang), 'order_conf', 'Order confirmation', $data, $customer->email, $customer->firstname.' '.$customer->lastname, NULL, NULL, $fileAttachment);



You can change the French translation of 'Order confirmation', for example, by going to mail/fr/lang.php and modifying the value for $_LANGMAIL['Order confirmation'].

Link to comment
Share on other sites

You can change the 'Order confirmation' text by modifying line 352 of PaymentModule.php:

Mail::Send(intval($order->id_lang), 'order_conf', 'Order confirmation', $data, $customer->email, $customer->firstname.' '.$customer->lastname, NULL, NULL, $fileAttachment);



You can change the French translation of 'Order confirmation', for example, by going to mail/fr/lang.php and modifying the value for $_LANGMAIL['Order confirmation'].




Where is the paymentmodule.php located? I am not able to find it.


I dont have the lang.php file in mail/fr/ directory in other subdirectories of the mail/ there is not such line in the lang.php files. All I see is:

<?php

global $_LANGMAIL;
$_LANGMAIL = array();

?>

Link to comment
Share on other sites

PaymentModule.php is in the classes directory.

What version of Prestashop are you using? My mails/en/lang.php looks the same as your one below, but that is normal since there is no need for translations from English to English. Here is what my mails/fr/lang.php looks like:

<?php

global $_LANGMAIL;
$_LANGMAIL = array();
$_LANGMAIL['Your new admin password'] = 'Votre nouveau mot de passe administateur';
$_LANGMAIL['Your password'] = 'Votre nouveau mot de passe';
$_LANGMAIL['Welcome!'] = 'Bienvenue !';
$_LANGMAIL['Order confirmation'] = 'Confirmation de commande';
$_LANGMAIL['Message from contact form'] = 'Message depuis le formulaire de contact';
$_LANGMAIL['My personal informations'] = 'Mes informations personnelles';
$_LANGMAIL['Message from a customer'] = 'Message d\'un client';
$_LANGMAIL['Virtual product to download'] = 'Produit virtuel à télécharger';
$_LANGMAIL['Referral Program'] = 'Programme de parrainage';
$_LANGMAIL['Package in transit'] = 'Colis en cours d\'envoie';

?>

Link to comment
Share on other sites

PaymentModule.php is in the classes directory.

What version of Prestashop are you using? My mails/en/lang.php looks the same as your one below, but that is normal since there is no need for translations from English to English. Here is what my mails/fr/lang.php looks like:

<?php

global $_LANGMAIL;
$_LANGMAIL = array();
$_LANGMAIL['Your new admin password'] = 'Votre nouveau mot de passe administateur';
$_LANGMAIL['Your password'] = 'Votre nouveau mot de passe';
$_LANGMAIL['Welcome!'] = 'Bienvenue !';
$_LANGMAIL['Order confirmation'] = 'Confirmation de commande';
$_LANGMAIL['Message from contact form'] = 'Message depuis le formulaire de contact';
$_LANGMAIL['My personal informations'] = 'Mes informations personnelles';
$_LANGMAIL['Message from a customer'] = 'Message d\'un client';
$_LANGMAIL['Virtual product to download'] = 'Produit virtuel à télécharger';
$_LANGMAIL['Referral Program'] = 'Programme de parrainage';
$_LANGMAIL['Package in transit'] = 'Colis en cours d\'envoie';

?>




Hello, I use .sk version but I dont have these lines in any lang.php file.. maybe som error in translation, should I insert these lines in sk\lang.php ???
Link to comment
Share on other sites

Perhaps you are using a language pack designed for an earlier version of Prestashop. You can try adding it into mails/sk/lang.php and then change the French translations to your language.



Yeah, I will try that, thanks. Do you know anything regarding the question #2 ???.
Link to comment
Share on other sites

×
×
  • Create New...