The current email trigger for when a product order status is complete applies to all products, correct?
Anyone know have any idea how difficult it would be allow certain product to trigger a different email? We have a few products that need to have more details and info put into them that can not be part of all orders.
Template for specific product
Re: Template for specific product
Hi Eldon,
I don't think it would be an easy or even moderately easy change, but I wonder if we could find you a workaround. The Vendor notification works with individual products. If you wanted to change the email template subject, recipient and contents, then it 'should' be possible to send the customer a special email on a per product basis. Will that work for you?
I actually wanted to set up something like this in our own store, so I just tested an example and it worked great! Thanks for 'triggering' the idea for me too!
Thanks,
Katie
I don't think it would be an easy or even moderately easy change, but I wonder if we could find you a workaround. The Vendor notification works with individual products. If you wanted to change the email template subject, recipient and contents, then it 'should' be possible to send the customer a special email on a per product basis. Will that work for you?
I actually wanted to set up something like this in our own store, so I just tested an example and it worked great! Thanks for 'triggering' the idea for me too!
Thanks,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Template for specific product
Thanks for the idea. I will try it out next week when I get back in the office.
Re: Template for specific product
Katie,
I am trying to get this work but I am missing something.
I first just went ahead and created a special vendor with and email and assigned it to the product. Then created an order with that product, and I did get an email, but I am having 2 issues getting it to work:
1) The email notice does not go out until after the product shipped, not after the order was place, like I need it.
2) I changed the "to:" email in the template from vendor to customer and placed a couple of orders. But when I do that I get emails for everything not sure the product I wanted it for.
So it seems that the trigger is tied to who the email is being sent to?
Does this make sense?
I am trying to get this work but I am missing something.
I first just went ahead and created a special vendor with and email and assigned it to the product. Then created an order with that product, and I did get an email, but I am having 2 issues getting it to work:
1) The email notice does not go out until after the product shipped, not after the order was place, like I need it.
2) I changed the "to:" email in the template from vendor to customer and placed a couple of orders. But when I do that I get emails for everything not sure the product I wanted it for.
So it seems that the trigger is tied to who the email is being sent to?
Does this make sense?
-
- Commodore (COMO)
- Posts: 436
- Joined: Tue May 07, 2013 1:59 pm
Re: Template for specific product
Depending on where the other information is stored and what indicates that a product has this extra information, you may be able to accomplish this using NVelocity #if statements in the "normal" template.
For example,
You'd obviously have to add more to make it look nice (additional row or column in the html table, etc.).
For example,
Code: Select all
#if ($orderItem.Product.Manufacturer == "Acme")
$orderItem.Product.ExtendedDescription
#end
Jay
Re: Template for specific product
Jay's idea is how I do it. I implement a few if-endif nVelocity scripts in the email template. That way I'm still working with just one email template which makes things easier to keep track of later in life.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com