VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Zegenrijk on October 01, 2024, 10:11:01 AM

Title: override mail customer template
Post by: Zegenrijk on October 01, 2024, 10:11:01 AM
Hello,
I'm struggeling to create an override for the email of the customer after an order.

First i create a override dir in my template:
/public_html/templates/g5_hydrogen/html/com_virtuemart/invoice/

In this directory i copy the file mail_html.php (i want to hide some parts in the customer mail).

But it seems my changes does not effect the customer email.

I think my override path is good. So maybe i'am editing the wrong file. What i'am missing...

Regards Michel
VirtueMart 4.2.4 10922 on Joomla 5.1.4
Title: Re: override mail customer template
Post by: AH on October 02, 2024, 20:18:31 PM
That is the start of customer emails

Your path is correct

We may be able to help if you tell us what you are trying to do
Title: Re: override mail customer template
Post by: Zegenrijk on October 04, 2024, 14:34:05 PM
Ok, in mail_html.php, i disabled this line:

//         echo $this->loadTemplate('shopperaddresses');

So, i don't want to see the shipment and invoice adress for example.

But in my customer mail it's still there.

Regards Michel
Title: Re: override mail customer template
Post by: Emma Iana on November 25, 2024, 18:09:05 PM
There are two files raw and html.
One for email in HTML second for plain text e-mail.
Am I right?