Trigger Email for Specific Products

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
CASE
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 49
Joined: Tue Jan 22, 2008 7:18 am

Trigger Email for Specific Products

Post by CASE » Wed Jun 15, 2011 1:09 pm

Hi,

We'd like to be able to trigger a specific email when a specific product is ordered. Is there a way to include the product ID as a trigger so that we can modify the email information to be specific to a certain product?

Thanks

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Trigger Email for Specific Products

Post by AbleMods » Fri Jun 17, 2011 8:09 am

Not possible in the current design of AC7.

Are you wanting to fire a specific (and additional) email off if a certain product is bought, or are you wanting additional product-specific content added to the existing email confirmation?
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

CASE
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 49
Joined: Tue Jan 22, 2008 7:18 am

Re: Trigger Email for Specific Products

Post by CASE » Mon Jun 20, 2011 6:52 am

Adding additional product-specific content to the existing email confirmation would work, if that is a possibility? It doesn't necessarily need to be a separate email. Thanks!

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Trigger Email for Specific Products

Post by AbleMods » Mon Jun 20, 2011 7:02 am

CASE wrote:Adding additional product-specific content to the existing email confirmation would work, if that is a possibility?
Yes it is possible, but it takes quite bit of customization to do.

First the edit-product page has to be modified to give you a custom field to store your additional product-specific content. Then the confirmation email has to be modified so it includes the custom content you've added.

If you modify the email template such that it does a #if on the product custom field, you can make it so it automatically shows the additional content. That way only the products with the additional-content custom field would have that extra text on the email - the other products which do not have the custom field would not show that text.

Unfortunately it's more involved that I have time to document for you here. There are plenty of examples in the Helpful Topics forum for adding product custom fields and such.
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

Post Reply