Jump to content

[solved] Order conf. message subject 'Your order no. %s has been confirmed' %s = order->...


Recommended Posts

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

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

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...