Hi..
I have a problem with the template in email. I change the invoice_items.php, and when I go to orders in backoffice, I see the changes I made in that file (I add a line with a new taxes).
Whatever, the email template use this file to create the table with the products and total's etc, but in email nothing changes.
Anyone can help me?
Did you use template overrides or you didn't?
Quote from: Maxim Pishnyak on September 14, 2013, 10:04:30 AM
Did you use template overrides or you didn't?
Yes a lot of then ;)
Ah, I'm sorry. You're talking about email. Well, we discussed this on forum. Try to find these threads with the help of forum search button. In short, online inline CSS rules could be used for customized emails.
never talked about css, was speaking in PHP simply does not appear new variables that appear in the administration.
I already have several years of this and know exactly what to emails only uses inline.
I have new values to insert on email template, I add the var. On back, when see as PDF, he show's me the new line (tr td with my code), but in email that var nerver show.
What file did you edit? Is it in invoice folder of the template overrides?
Started by override folder, but it did not work as I was testing the invoices folder .. and continued to not give.
When I delete all the code it does not appear in the email, but if you change something, for example if I put the word "test", it does not appear in the email, but the table is ok.
I'll take a print-screen and has put here.
[attachment cleanup by admin]
Quote from: Maxim Pishnyak on September 17, 2013, 10:55:34 AM
What file did you edit? Is it in invoice folder of the template overrides?
Quote from: tevez15 on September 13, 2013, 19:25:37 PM
Hi..
I have a problem with the template in email. I change the invoice_items.php, and when I go .........
Attach your file, please.
The file has changes made by me ... rename the ext to .php
The extra line in the file has a validation, but this validation is working in backoffice.
[attachment cleanup by admin]
Your VM version?