How to edit "Order Confirmation" Email?

It is not a printable.order.copy.inc.php

I can not find it :(

tim

The email text is a translation. Just search for the words in it. We are talking 2.x yes?

I tried with 

Thank you for your purchase!

And:

Another translations are also not available.
F.E. "Stock Status" or "Delivery Status" from product site.

Yes - 2.0.2

Charset - UTF-8 Unicode (utf8)

Collation - utf8_unicode_ci

 

I checked file 

includes/controllers/ctr_order.inc.php

This message looks like hardcoded?

$message = "Thank you for your purchase!\r\n\r\n" . "Your order #%order_id has successfully been created with a total of %payment_due for the following ordered items:\r\n\r\n" . "%order_items\r\n\r\n" . "A printable order copy is available here:\r\n" . "%order_copy_url\r\n\r\n" . "Regards,\r\n" . "%store_name\r\n" . "%store_url\r\n";
tim

This is not a hardcoded translation. It is the injection.

language::translate('email_order_confirmation', $message, $language_code)

      $message = "Thank you for your purchase!\r\n\r\n"
               . "Your order #%order_id has successfully been created with a total of %payment_due for the following ordered items:\r\n\r\n"
               . "%order_items\r\n\r\n"
               . "A printable order copy is available here:\r\n"
               . "%order_copy_url\r\n\r\n"
               . "Regards,\r\n"
               . "%store_name\r\n"
               . "%store_url\r\n";

      $message = strtr(language::translate('email_order_confirmation', $message, $language_code), $aliases);

The problem this gives is that it needs to be run initially for the translation to be stored in the database. The scanner does not recognize the format.

Hello, kataluszek,
Search for the term email_order_confirmation in Translations ->

Search translations

Best regards,
Gabriel

Questo thread è stato chiuso per lunga inattività. Non è possibile postare su di esso.
View code on GitHub