VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: myplace2100 on January 30, 2014, 00:08:53 AM

Title: how to add and send custom content to buyer on order completion
Post by: myplace2100 on January 30, 2014, 00:08:53 AM
Hi
I see when order confirmed, a email with order details sent  to buyer.How do i add some additional content with that email content?
so that i include download link of product and some essential info.Plz answer in details so that i get it concisely.
Title: Re: how to add and send custom content to buyer on order completion
Post by: jenkinhill on January 30, 2014, 09:33:29 AM
You should use a plugin to handle downloadable products to provide the link to the customer. Some examples are:

http://extensions.virtuemart.net/extensions-virtuemart-2/shipment-for-virtual-products-detail
http://forum.virtuemart.net/index.php?topic=103808.0
http://forum.virtuemart.net/index.php?topic=104883.0
http://forum.virtuemart.net/index.php?topic=109354.0
http://www.kainhofer.com/virtuemart-2-extensions/vm2-downloads-for-sale.html
Title: Re: how to add and send custom content to buyer on order completion
Post by: myplace2100 on January 30, 2014, 18:40:25 PM
I'm already using spiral free download plugin to ease access to the download button if order completed.so i am just speculating about adding some custom content to the email template which is sent to buyer upon completion of order.so in a nutshell  where i can edit that email template ?
Title: Re: how to add and send custom content to buyer on order completion
Post by: jenkinhill on January 30, 2014, 20:34:18 PM
The email template is  components/com_virtuemart/views/invoice/tmpl/mail_html_shopper.php

Be sure to use the edited file as a template override.
Title: Re: how to add and send custom content to buyer on order completion
Post by: myplace2100 on January 30, 2014, 21:55:41 PM
I see but without editing file source, can i edit it via vm component from admin side? there must be options somewhere to what to include or not for order confirmation email to buyer
Title: Re: how to add and send custom content to buyer on order completion
Post by: jenkinhill on January 30, 2014, 23:31:23 PM
You can edit the header/footer in Shop/Invoices tab, but that is all.  You can create a template override with an addded language variable that you can change via language overrides if you want.