Page 1 of 1

Trigger Email for Specific Products

Posted: Wed Jun 15, 2011 1:09 pm
by CASE
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

Re: Trigger Email for Specific Products

Posted: Fri Jun 17, 2011 8:09 am
by AbleMods
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?

Re: Trigger Email for Specific Products

Posted: Mon Jun 20, 2011 6:52 am
by CASE
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!

Re: Trigger Email for Specific Products

Posted: Mon Jun 20, 2011 7:02 am
by AbleMods
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.