I would like to offer a free ebook version of a book when someone buys the printed version. To do this though, I’d need to add a line to the checkout confirmation email sent to the customer. I need to just add a line with a url/coupon to go retrieve the said book. But I don’t want EVERYONE checking out to get the notice. Only those buying the specific product.
So is there somewhere I can add checkout/purchase notes for a product and have it automatically emailed to people who buy that product at the time of checkout?
If not, then can anyone point me to the code base to attempt to hack this feature in? I am a programmer but this code base is scarry.