VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: SilencerNL on March 16, 2012, 09:14:37 AM

Title: Unable to override html mail template
Post by: SilencerNL on March 16, 2012, 09:14:37 AM
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?
Title: Re: Unable to override html mail template
Post by: bbw on March 16, 2012, 15:10:12 PM
finally found the files thanks to your post but having the same problem....  anyone?
Title: Re: Unable to override html mail template
Post by: groentjie on March 16, 2012, 15:34:05 PM
I have the same problem, I want to change the layout but the override is not working
Title: Re: Unable to override html mail template
Post by: bbw on March 16, 2012, 20:05:16 PM
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!
Title: Re: Unable to override html mail template
Post by: jenkinhill on March 16, 2012, 23:43:40 PM
Try 2.0.3E - http://forum.virtuemart.net/index.php?topic=99590.msg328976#msg328976
Title: Re: Unable to override html mail template
Post by: bbw on March 18, 2012, 01:45:20 AM
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