VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: hajo on April 16, 2013, 10:00:19 AM

Title: Changing email layout
Post by: hajo on April 16, 2013, 10:00:19 AM
Hello,

I'am looking in the wrong direction I think.

I want to change the email layout that goes to the client after the order is made.

I changed it in the mail_html_notify.php in /mytenplate/html/com_virtuemart/productdetails
And I tried a few other mail php files refered to. All in mytemplate/html/....

So it schould change I think.  But nothing happens.

All the other overrides work.

Where do I go wrong?

VM 2.0.20b
J 2.5.9.

With regards

Hajo

Title: Re: Changing email layout
Post by: jenkinhill on April 16, 2013, 10:28:35 AM
The order email templates are in  joomla_root/components/com_virtuemart/views/invoice/tmpl/    - so these are the ones to use for creating your overrides.   If you already have override files for these then they will be in yourtemplate/plate/html/com_virtuemart/invoice/
Title: Re: Changing email layout
Post by: hajo on April 16, 2013, 10:40:12 AM
Thank You!

I'll ook into these files and see what I'll can do.

I see something els aswell. The link in the mail to show the order directs to the index.php. When i click the button, the order view is opened in the main site template, not the website template.

How can I can adjust the path in the link?

Hajo

If you are interested wher it will all lead to, I'll sent you a link.

Hajo
Title: Re: Changing email layout
Post by: hajo on April 16, 2013, 12:48:57 PM
Dear mr Jenkinhil,

I've had no succes. Till I placed the override in the template folder of the main site. When I put it in the template folder of the webshop nothing happens.

Does joomla/vm looks into the main site template for email?