outlet.ee Posted April 6, 2013 Share Posted April 6, 2013 I've been trying to change the order confirmation message subject line. So far I have managed to make it like this at classes/paymentmodule.php: Mail::l('Order confirmation', (int)$order->id_lang) . ' | ' . $order->getUniqReference(), which results the subject being Confirmation | Order no. 123456 That is because I can't exactly figure out how to insert the order reference number in the middle of the translation text. I'd rather have it like Your order no. 123456 has been confirmed i.e. the order number in the middle of the sentence. It is used all over prestashop (Your order no. %s has been confirmed). How could I get it to work at the order confirmation subject? Link to comment Share on other sites More sharing options...
PascalVG Posted April 6, 2013 Share Posted April 6, 2013 Did you try to edit your Email Template translations already? I believe in the core Emails there is the order_conf Email, where you can edit the subject to something like: Your order no. {order_name} has been confirmed Give it a try... My 2 cents, Pascal Link to comment Share on other sites More sharing options...
outlet.ee Posted April 6, 2013 Author Share Posted April 6, 2013 Thank you, works great. Sometimes the solution is that easy that you even don't think of it first. Link to comment Share on other sites More sharing options...
vekia Posted April 6, 2013 Share Posted April 6, 2013 thanks for sharing the solution and information that everything works fine :-) i marked this topic as solved for other forum members, thanks again 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