Page 1 of 1

Email Trigger

Posted: Mon Sep 08, 2008 4:23 pm
by egormsen
Does anyone know of a way to trigger an email when a specific product is ordered? We have a need to send some more detailed instructions when a customer buys a certain product at our store.

Eldon

Re: Email Trigger

Posted: Mon Sep 08, 2008 11:16 pm
by mazhar
You told in your post that you need some detailed email for some specific products so i assume that email will be sent for each product ordered. For some specific products it will contain some extra information as well. If this is the case then i think you can achieve it by just modifying the current email template and putting some NVeleocity code that check weather this product needs some more information in Email or not. For example if the product name equals MYPRODUCT then the Email will contain an extra message other wise just product name. Below is the Email template code

Code: Select all

Product Name:$product.Name
#if($product.Name=="MYPRODUCT")
     Extra Message: some message
#end

Re: Email Trigger

Posted: Tue Sep 09, 2008 10:37 am
by egormsen
What I really need to do is send out an entire seperate email. The reason being is for these products they require some details instructions whichg are quite lengthly

So I see can can create a new email template, but an wondering how to trigger that email to sent. Is this possible?