News:

Support the VirtueMart project and become a member

Main Menu

Unable to override html mail template

Started by SilencerNL, March 16, 2012, 09:14:37 AM

Previous topic - Next topic

SilencerNL

I'm trying to change the default order confirmation e-mail which is send to the customer after placing an order.

In com_virtuemart/views/invoice/tmpl I found a set of mail_html_*.php files, which I tried to override in my template by adding them in templates/[templatename]/html/com_virtuemart/invoice/mail_html_*.php.

Nou, when I manualy browse to index.php?option=com_virtuemart&view=invoice&layout=mail_html&tmpl=component&virtuemart_order_id=7&order_number=******&order_pass=****** I can see my own design of the e-mail, which is good! But, in the e-mail itself, the old default template is still being used.

Is this a bug, or am I missing something here?

bbw

finally found the files thanks to your post but having the same problem....  anyone?

groentjie

I have the same problem, I want to change the layout but the override is not working

bbw

I even tried add a small (what should be) visible edit to ALL the darn email files so I could see if they made ANY change at all, and where - but nothing.   Doggit!  Wish someone could give us a clue on this!

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

bbw

yeah the update to 2.0.2e didn't work... got this when I tried to view product details, so it wouldn't be worth my effort to even fiddle with the email files for now if something else won't work.

Warning: Missing argument 1 for JParameter::__construct(), called in /home/taptp/public_html/aatester/components/com_virtuemart/views/productdetails/view.html.php on line 127 and defined in /home/taptp/public_html/aatester/libraries/joomla/html/parameter.php on line 76