News:

Looking for documentation? Take a look on our wiki

Main Menu

Change order email based on shipping type?

Started by rayge, January 31, 2013, 17:33:17 PM

Previous topic - Next topic

rayge

I need to find or get direction on coding a plugin or something that when a user selects a particular shipping method, the email that is sent to the admin upon purchase changes.
For example if a user picks express shipping it goes to an email that will handle the express methods.

I am in the process of migrating a client from Joomla 1.5 VM 1.1.2 to Joomla 2.5 VM 2.x and before i start i want to make sure the expect functionality can be handled as items were hard coded into the core in this old version. I don't want to see that again. I want to make sure items are done with updatability in mind.

Thanks for any help!!
I Use: Joomla 3.4.1 & VM 3.0.9

rayge

#1
Has anyone figured this out yet? Im hoping i can write a plugin that can modify the orders email address before the email is sent based on the shipping name.
they are using authorize.net
IF i check the plugin for that it looks liek them code sending the email is here
$this->sendEmailToVendorAndAdmins (JText::_ ('VMPAYMENT_AUTHORIZENET_ERROR_EMAIL_SUBJECT'), $error_message);

maybe An extended class can be written to be a solution to my issues?
I Use: Joomla 3.4.1 & VM 3.0.9