VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: rfilgueiras on April 15, 2015, 09:11:59 AM

Title: Template override
Post by: rfilgueiras on April 15, 2015, 09:11:59 AM
Hello,

I can override the templates in virtuemart 3. For example, if i want to override "cart" I create a folder in my template:

html/com_virtuemart/cart

But, if i want to override the email templates. Which is the difference? What is the name of the folder?

Many thanks,
Ro
Title: Re: Template override
Post by: GJC Web Design on April 15, 2015, 10:50:12 AM
made up of various templates  - all in components\com_virtuemart\views\invoice\tmpl\

e.g. mail_html.php
Title: Re: Template override
Post by: rfilgueiras on April 15, 2015, 14:34:50 PM
Then I need in my template a folder as:

MY_TEMPLATE/html/com_virtuemart/invoice/

and a file

MY_TEMPLATE/html/com_virtuemart/invoice/mail_html.php

And i can modify this file.

Ro
Title: Re: Template override
Post by: GJC Web Design on April 15, 2015, 14:37:37 PM
yes - plus all the rest of the files that make up the email
Title: Re: Template override
Post by: rfilgueiras on April 15, 2015, 14:40:01 PM
Thank you