Custom Email To Friend Template
From Sohowiki
(Difference between revisions)
Latest revision as of 21:24, 9 May 2007
Introduction
Name your template file emailtofriend_template.html and upload it to your site via File Manager > Upload Files. If this file exists on your site, it will automatically be used as the template file for the (HTML) email message that gets sent when the Email To Friend form is submitted from the shopping cart.
Example Email to Friend Template HTML
<div style="background: #336699;color: #fff;padding: 10px;height: 50px;font: 16px Trebuchet MS;"> Widgets, Inc. </div> #content# <div style="background: #ccc;color: #980000;padding: 10px;font: 12px Courier New;"> Widgets, Inc. www.widgetsinc.com 770.555.1234 </div>
Note: Make sure your template includes that #content# where you want the product sku information and message from friend to display.