Joomla version: 3.10.3
VirtueMart 3.8.9 10514
Hello, I am trying to solve the following issue.
I am using the default shopper group and another one called wholesale.
All the confirmation emails when an order is made, are going to the same email at this time ( for example info@aaa.com).
I want to send a verification email of the default shopper group (tha means of the orders they make) to a specific email address (ie info@aaa.com) and all the wholesale group orders to another email address wholesale@aaa.com)
Any idea how to do that ?
That is not possible with the standard VirtueMart component.
You can achieve this using VP Email Manager - https://www.virtueplanet.com/extensions/vp-email-manager
https://www.minijoomla.org/extensions/virtuemart-extensions/virtuemart-mailing-manager
Setup rules for shopper group and setup email TO/FROM.
You can try self on our demo:
https://email.minijoomla.org
Thanks for the replies. As I can see your extensions can do much more things than what I am looking for. What I actually only need is something like a condition to say :
if shopper group is default then
send email to xxx@xxx.com
else
send email to yyy@yyy.com
That simple.
I like simple solutions too...
If you know what you want - go to core VM code (sorry, I don't know which) and add this if/else.
Simple, isn't it? :)
And thanks for sharing for others
probably function prepareViewForMail() in components\com_virtuemart\helpers\shopfunctionsf.php