News:

Looking for documentation? Take a look on our wiki

Main Menu

Order confirmation - template problem

Started by tevez15, September 13, 2013, 19:25:37 PM

Previous topic - Next topic

tevez15

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?

Maxim Pishnyak

Did you use template overrides or you didn't?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

tevez15


Maxim Pishnyak

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.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

tevez15

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

Maxim Pishnyak

What file did you edit? Is it in invoice folder of the template overrides?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

tevez15

#6
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]

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

tevez15

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

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

tevez15

#10
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]

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart