CameraTek Posted February 11, 2013 Share Posted February 11, 2013 Hi all, I'm trying to change the email I receive when I get an order. In the email I receive it has the order no included but I would like it to show the actual invoice no instead. Which email template is sent to me as the merchant? I've tried to change the order_conf.html but this is the email sent out to the customer. Cheers Andy Link to comment Share on other sites More sharing options...
CameraTek Posted February 11, 2013 Author Share Posted February 11, 2013 Anyone with any suggestions? I really need to change this. Andy Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted February 11, 2013 Share Posted February 11, 2013 /modules/mailalerts/mails/XX/new_order.html (XX = iso lang, e.g: en fr, .... etc) You can modify this e-mail template via Back Office > Localization > Translations > E-mail template translations Make sure you've choosed the right template file (new_order.html and new_order.txt) Link to comment Share on other sites More sharing options...
CameraTek Posted February 11, 2013 Author Share Posted February 11, 2013 Thanks for the reply. If I want to change from showing the order # to the invoice # what would I replace order_name with? Cheers Link to comment Share on other sites More sharing options...
razaro Posted February 11, 2013 Share Posted February 11, 2013 You could add new variable in mailalert.php around line 369 '{invoice_num}' => $invoice->id, and then use {invoice_num} in mail templates. Note I didn't test this. Link to comment Share on other sites More sharing options...
CameraTek Posted February 11, 2013 Author Share Posted February 11, 2013 I'll give it a go now Link to comment Share on other sites More sharing options...
CameraTek Posted February 11, 2013 Author Share Posted February 11, 2013 I added the variable and done a test order and it came with #36 in the email. The invoice # for that order should of been 001027. Had a look in the DB and the # I want showing is in the table ps_order_invoice and the field is the third along "number" Done a few changes my self but still couldn't get it working :-( Link to comment Share on other sites More sharing options...
CameraTek Posted February 12, 2013 Author Share Posted February 12, 2013 Has anyone any suggestions please? I really need this. Cheers 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