VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Vivi_2018 on February 26, 2019, 16:45:44 PM

Title: Different Senders
Post by: Vivi_2018 on February 26, 2019, 16:45:44 PM
Hello,

I would like to have 3 different senders for the invoices emails ( or confirmation emails that the users get when they buy a product)  depending from the url that the product was bought or from which product category. If am correct this means that i will have 3 vendors emails  and not one.
Does anyone know what files i have to modify in order to do this?


Thank you in advance.
Kind Regards.
Vivi
Title: Re: Different Senders
Post by: GJC Web Design on February 26, 2019, 17:58:29 PM
components\com_virtuemart\helpers\shopfunctionsf.php - the mail functions
Title: Re: Different Senders
Post by: Vivi_2018 on February 27, 2019, 09:07:31 AM
Thank you for your quick reply.

I found this function "sendVmMail" i suppose i have to change the sender there?
I also want to send   to the  three vendors( administrators of the site -not super users)  emails for the  order of the user. For example every administrator will have its own product category and when a user buys a product from a certain category i want the corresponding administrator to receive the proper email and not all the administrators to receive the order. Can something like this happen?

Thank you in advance.
Title: Re: Different Senders
Post by: GJC Web Design on February 27, 2019, 09:12:48 AM
I assume u will need to code it
Title: Re: Different Senders
Post by: Studio 42 on February 28, 2019, 03:02:24 AM
YOu need to understand joomla+virtuemart to do it.
It's to long to explain all, but it's possible(and certainly using a plugin without core hacks)
Title: Re: Different Senders
Post by: Milbo on March 01, 2019, 08:30:05 AM
For me it looks like you should take a look on the multivendor options.

When "administrators" have their own categories (and products), it means that you talk about vendors and so you should treat em as vendors.