VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: annekm on March 10, 2017, 10:46:18 AM

Title: Vendor Email Configuration
Post by: annekm on March 10, 2017, 10:46:18 AM
Hi

I am using Virtuemart 3.0.18 with Joomla 3.6.5.

Currently I have configured Virtuemart to send emails to the vendor with order details. But I noticed that for "Confirmed" orders, the vendor also receives the pdf invoice. I would like to remove attachment of the invoice to the vendor. I only want the html email and not the invoice.

Also when order status is updated in the admin, vendor emails need to be sent. Where can I configure this?

Please help to clarify on how to configure these.

Thanks
Title: Re: Vendor Email Configuration
Post by: annekm on March 14, 2017, 13:07:11 PM

Hi

I did some debugging and found that in the shopfunctionsf.php the function sendVmMail is used to send the emails. I hacked this function to add a CC to my admin. But I want the CC email and remove the invoice attachment for specific activity like Order Confirmation.

But I noticed that this same function is used for other notifications too. I would like to create a specific case for Order Confirmation alone. Can anyone tell me how its possible?

Also when Order status is changed to "Confirmed" in admin, the vendor doesn't receive an email. How to configure the same?

Thanks