netlider Posted October 6, 2008 Share Posted October 6, 2008 Hello.I can't find files where would be stored titles of email messages sent to customer.I need to make some changes because some titles are in english and some in polish and I don't know where do I have to search.Please help.ThanksRobert Link to comment Share on other sites More sharing options...
Zipzic Posted December 29, 2008 Share Posted December 29, 2008 Anybody?I have same question Link to comment Share on other sites More sharing options...
TropischBruin Posted December 29, 2008 Share Posted December 29, 2008 It could be in catalog\emails\your-language.Or in Administration\orders\orderstatuses. Link to comment Share on other sites More sharing options...
Dave Egerton Posted December 29, 2008 Share Posted December 29, 2008 i belive the templates are in the prestashop/mails folder. These exist for each language. I know there is a txt file and a html fileYou could try changing it there and see if that works for you. Link to comment Share on other sites More sharing options...
Zipzic Posted December 29, 2008 Share Posted December 29, 2008 i belive the templates are in the prestashop/mails folder. These exist for each language. I know there is a txt file and a html fileYou could try changing it there and see if that works for you. Didn't work for me. I managed to change the email text there but not the email header. Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2008 Share Posted December 29, 2008 All mails are stored in /mails/en, if you can be more specific and give us a sample of what you want to change, we could surely help... Link to comment Share on other sites More sharing options...
Zipzic Posted December 29, 2008 Share Posted December 29, 2008 .. give us a sample of what you want to change, we could surely help... I need to change these texts... see the image! Link to comment Share on other sites More sharing options...
Guest Posted December 29, 2008 Share Posted December 29, 2008 <?php$useSSL = true;include(dirname(__FILE__).'/config/config.inc.php');include(dirname(__FILE__).'/header.php');$errors = array();$smarty->assign('contacts', Contact::getContacts(intval($cookie->id_lang)));if (Tools::isSubmit('submitMessage')){ if (!($from = Tools::getValue('from')) OR !Validate::isEmail($from)) $errors[] = Tools::displayError('invalid e-mail address'); elseif (!($message = nl2br2(Tools::getValue('message')))) $errors[] = Tools::displayError('message cannot be blank'); elseif (!Validate::isMessage($message)) $errors[] = Tools::displayError('invalid message'); elseif (!($id_contact = intval(Tools::getValue('id_contact'))) OR !(Validate::isLoadedObject($contact = new Contact(intval($id_contact), intval($cookie->id_lang))))) $errors[] = Tools::displayError('please select a contact in the list'); else { if (Mail::Send(intval($cookie->id_lang), 'contact', 'Message from contact form', array('{email}' => $_POST['from'], '{message}' => stripslashes($message)), $contact->email)) $smarty->assign('confirmation', 1); else $errors[] = Tools::displayError('an error occurred while sending message'); }}$smarty->assign('errors', $errors);$smarty->display(_PS_THEME_DIR_.'contact-form.tpl');include(dirname(__FILE__).'/footer.php');?>from /contact-form.php Link to comment Share on other sites More sharing options...
Zipzic Posted December 29, 2008 Share Posted December 29, 2008 Thanks!This helps for the contact e-mail but where to change registration information, order confirmation, order canceling etc. e-mail headers? Link to comment Share on other sites More sharing options...
Guest Posted December 30, 2008 Share Posted December 30, 2008 Check under /mails/en folder if its what I understand... Link to comment Share on other sites More sharing options...
kdk Posted December 30, 2008 Share Posted December 30, 2008 order confirmation is in classes/PaymentModule.php: Mail::Send(intval($order->id_lang), 'order_conf', 'Order confirmation', $data, $customer->email, $customer->firstname.' '.$customer->lastname, NULL, NULL, $fileAttachment);(Line 271 in 1.0)And for the future, use an editor like Notepad++ (http://notepad-plus.sourceforge.net), it can search in all files for the text. Very, very usefull. Link to comment Share on other sites More sharing options...
Zipzic Posted January 1, 2009 Share Posted January 1, 2009 order confirmation is in classes/PaymentModule.php: Thanks! If you can tell me which files I can find Preparation in progress and Order Canceled text I would be very thankful! Link to comment Share on other sites More sharing options...
geiri Posted September 4, 2009 Share Posted September 4, 2009 I need this to?? Where can "Preparation in progress" be found? Link to comment Share on other sites More sharing options...
simas12 Posted October 11, 2009 Share Posted October 11, 2009 HiI have this problem as well.Preparation in prgress???????Thanks Link to comment Share on other sites More sharing options...
simas12 Posted October 11, 2009 Share Posted October 11, 2009 In mails/lt/lang.php inserted line$_LANGMAIL['Preparation in progress'] = 'Užsakymas vykdomas';It looks like this now<?phpglobal $_LANGMAIL;$_LANGMAIL = array();$_LANGMAIL['Your new admin password'] = 'Jusu naujas slaptažodis';$_LANGMAIL['Your password'] = 'Jusu slaptažodis';$_LANGMAIL['Welcome!'] = 'Sveiki užsuke !';$_LANGMAIL['Order confirmation'] = 'Užsakymo patvirtinimas';$_LANGMAIL['Message from contact form'] = 'Žinute iš užsakymu formos';$_LANGMAIL['My personal informations'] = 'Mano asmenine informacija';$_LANGMAIL['Message from a customer'] = 'Kliento žinute';$_LANGMAIL['Virtual product to download'] = 'Virtualais produkto atsiuntimas';$_LANGMAIL['Referral Program'] = 'Programa refferal';$_LANGMAIL['Preparation in progress'] = 'Užsakymas vykdomas';$_LANGMAIL['Package in transit'] = 'tranzitine pakuote';?> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now