News:

Support the VirtueMart project and become a member

Main Menu

notify shopper and 'others' on Order Status Change?

Started by eminaymuzik, July 17, 2013, 20:57:00 PM

Previous topic - Next topic

eminaymuzik

Hi everyone,

I am wondering if there is a way to send an email to multiple people once the order status is changed? Currently this option is only allowing to 'Notify Shopper', I have a production team and would like to be able to notify them also once I confirm the payment and the order to give them the go ahead to process the order? Its a hassle having to send an email manually.

Any help would be appreciated,

Joomla! 2.5.9
VM 2.0.18a

eminaymuzik


ncopeman

Hi there eminaymuzik

Firstly I would create a mailbox for your team that they all have access too  i.e. orders@
If you don't want to give access to that mailbox to all of your team, create a rule to forward all emails from orders@ to multiple people.

Then set your Vendor to that email address (orders@)

Once that's set go into VM -> Configuration -> Checkout -> Default Order Status to send email to vendor -> Add all of the order statuses to that list

Then what SHOULD happen is -> you change the order to confirmed (or create a new one called Process Order) -> Deselect 'Notify Shopper' -> Save -> An email to the vendor is generated to orders@ -> This email is then forwarded onto your team (or they have access to the @orders account).

Once you have word from your team that the order has been processed and posted, you mark the order as SHIPPED and Notify Shopper.


If you do create a new Order Status i.e. Process Order, then you'll need to add some code to your language file: (otherwise your email subject will contain COM_VIRTUEMART_CODE etc)

COM_VIRTUEMART_MAIL_SUBJ_VENDOR_(YOUR LETTER HERE YOU USED IN YOUR ORDER STATUS CREATION)="[%3$s], Please Process Order, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_(YOUR LETTER HERE YOU USED IN YOUR ORDER STATUS CREATION)="[%3$s], Your order is being processed by %1$s, total %2$s"

SUBJ_Vendor is the email sent to you and your team -> The subject would go out as "[3j456], Please process Order, total £35"
SUBJ_Shopper is the email sent to the customer -> The subject would go out as "[3j456], Your order is being processed by My Shop Name, total £35"

(YOUR LETTER HERE YOU USED IN YOUR ORDER STATUS CREATION) - When you create a new Order Status in VM you need to give it a unique letter. Add that letter to the code above without the ( )

Anyway, hope this helps!
N