Is it possible to test an email template without actually triggering the underlying condition?
Thanks!
Testing Email Templates
Re: Testing Email Templates
Email templates need certain data that is provided normally on certain events for example Order Notification needs an order to populate the Email template. Some of the Email templates for example the ones that need order data or data from can be tested by previewing them for existing order. You can found the resend Email functionality in AbleCommerce order module where it allows to resend different notification for the order. Open some order summary page and then click on user's bill to Email address. It will bring the resend Email functionality. Select the Email template you want to test and then click preview button to view its generated HTML. It gives the opportunity to preview the Email template contents so after preview you can cancel the wizard and no Email will be sent to customer.
Re: Testing Email Templates
Thanks mazhar!
Re: Testing Email Templates
Hi Mazhar and all..
Looking for some help after I did a 7.04 install and then imported from 5.5
I though I did a backup with the email templates but perhaps they were only in the database and not in the "app_data/email_templates/1/" folder as the base install seems to only have a read me.
-The Problem.. Email templates don't work and I think they may be the old 5.5 templates.. as I don't see any Nvelocity syntax.
If you can take a quick peak and concur that I don't seem to have the correct email template could someone send me a copy or post a link to all the 7.04 working email templates.
I did the view template html with out send (nice way to check)
Sorry for Long Post with generated HTML and Template Code but figured it would help answer this quickly,
Thank you kindly.
Luke
Here is a clip of what is generated.
------
Preview Message
Here is a sample of how your message will look. If it is correct, click the send button to send to 1 recipient(s).
[StoreName] appreciates your business!
To check the status of your order, click here. If you should have any questions please check the Help / Frequently Asked Questions at our website and should have any questions that are not answered in our Frequently Asked Questions page it would be our pleasure to assist.
Please retain the following username and remember your password for faster checkout on future orders. You can always recover your password by going to Password
USERNAME: [USERNAME]
Thank you for support The Hearts Center
[StoreName]
Post Office Box 277
Livingston, Montana 59047
406-222-1106 Invoice
Order Number: [OrderNumber]
Date: [OrderDate]
Order Total: [OrderTotal]
Order Status: View Online
Bill To:
[BillFirstName] [BillLastName]
[BillingAddress]
[Shipments] [OrderItems][/OrderItems] [/Shipments][NoShipment] [OrderItems][/OrderItems] [/NoShipment]
Ship From:
[WarehouseName]
[WarehouseAddress] Ship To:
[ShipFirstName] [ShipLastName]
[ShippingAddress]
[ShipMessage]
SKU Name Options Price Quantity Ext. Price
[SKU] [Name]
[LineMessage] [OptionNames] [UnitPrice] [Quantity] [ExtPrice]
Non-Shipping Items
SKU Name Options Price Quantity Ext. Price
[SKU] [Name]
[LineMessage] [OptionNames] [UnitPrice] [Quantity] [ExtPrice]
Product Subtotal: [OrderProductTotal]
Tax Total: [OrderTaxTotal]
Shipping: [OrderShippingTotal]
Other: [OrderOtherTotal]
Invoice Total: [OrderTotal]
Invoice Total refers to the amount of your order not your balance!
To see your balance (if any) click here.
-------
Here is the Template
Subject:
Confirmation - Order Number [OrderNumber]
Body:
<html>
<head>
<style type="text/css">
TABLE.Email {
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
margin: 0px;
padding-top: 0px;
border: 1px solid #0066cc;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
color: #000000;
}
TH.Email {
font-weight: bold;
font-size: 10pt;
color: #000000;
font-family: Arial, Verdana, Sans-Serif;
background-color: #CCCCCC;
text-align: center;
text-decoration: none;
padding: 0px;
}
TD.Email {
font-weight: normal;
font-size: 12px;
color: #000000;
font-family: Arial, Verdana, Sans-Serif;
background-color: #ffffff;
text-align: left;
text-decoration: none;
padding: 0px;
border-top: 0px none;
border-right: 0px none;
border-bottom: 0px none;
border-left: 0px none;
}
</style>
</head>
<body>
<table width="640">
<tr>
<td class="Email"><p><strong>[StoreName] appreciates your business!</strong></p>
<p> <b>To check the status of your order,</b> <a
href="[StoreURL]vieworder.aspx?Order_ID=[OrderID]"><b>click
here</b></a>. If you should have any questions please check the Help /
Frequently Asked Questions at our <a href="[StoreURL]faq.aspx">website</a> and should
have any
questions that are not answered in our Frequently Asked Questions page
it would be our pleasure to assist.</p>
<h4>Please retain the following username and remember your password for faster checkout on
future orders. You can always recover your password by going to <a
href="http://store.heartscenter.org/forgotpassword.aspx" > Password</a></h4>
<ul>
<li>USERNAME: [USERNAME]
</ul>
<p>Thank you for support The Hearts Center<br>
</p>
</td>
</tr>
</table>
<table cellpadding=5 width="640" class="Email">
<tr>
<td valign="top"><strong>[StoreName]</strong><br /> Post Office Box 277<br />Livingston,
Montana 59047<br />406-222-1106</td>
<td align="right"><font size=4><strong>Invoice</strong></font><br>
<strong>Order Number</strong>: [OrderNumber]<br>
<strong>Date</strong>: [OrderDate]<br>
<strong>Order Total</strong>: [OrderTotal]<br>
<strong>Order Status</strong>: <a href="[StoreURL]vieworder.aspx?Order_ID=[OrderID]">View
Online</a></td>
</tr>
</table>
<table cellpadding=15 width="640" class="Email">
<tr><td valign="top"><strong>Bill To</strong>:<br>
[BillFirstName] [BillLastName]<br>[BillingAddress]</td></tr>
</table>
<table cellpadding=15 width="640" class="Email">
[Shipments]
<tr><td colspan=6 align=center><table><tr>
<td valign="top"><strong>Ship From</strong>:<br>
[WarehouseName]<br>[WarehouseAddress]</td>
<td valign="top"><strong>Ship To</strong>:<br>
[ShipFirstName] [ShipLastName]<br>[ShippingAddress]<p><strong>[ShipMessage]</strong></td>
</tr></table></td></tr>
<tr><th class="Email">SKU</th><th class="Email">Name</th><th class="Email">Options</th><th
class="Email">Price</th><th class="Email">Quantity</th>
<th class="Email">Ext. Price</th>
</tr>
[OrderItems]<tr><td>[SKU]</td><td>[Name]<br><font
size=2><strong>[LineMessage]</strong></font></td><td>[OptionNames]</td>
<td align=right>[UnitPrice]</td><td align=center>[Quantity]</td><td
align=right>[ExtPrice]</td></tr>[/OrderItems]
[/Shipments][NoShipment]
<tr><th colspan=6 align=center>Non-Shipping Items</th></tr>
<tr><th class="Email">SKU</th><th class="Email">Name</th><th class="Email">Options</th><th
class="Email">Price</th><th class="Email">Quantity</th>
<th class="Email">Ext. Price</th>
</tr>
[OrderItems]<tr><td>[SKU]</td><td>[Name]<br><font
size=2><strong>[LineMessage]</strong></font></td><td>[OptionNames]</td>
<td align=right>[UnitPrice]</td><td align=center>[Quantity]</td><td
align=right>[ExtPrice]</td></tr>[/OrderItems]
[/NoShipment]
<tr><td colspan=5 align=right><strong>Product Subtotal</strong>:</td>
<td align=right>[OrderProductTotal]</td></tr>
<tr><td colspan=5 align=right><strong>Tax Total</strong>:</td>
<td align=right>[OrderTaxTotal]</td></tr>
<tr><td colspan=5 align=right><strong>Shipping</strong>:</td>
<td align=right>[OrderShippingTotal]</td></tr>
<tr><td colspan=5 align=right><strong>Other</strong>:</td>
<td align=right>[OrderOtherTotal]</td></tr>
<tr><td colspan=5 align=right><strong>Invoice Total</strong>:</td>
<td align=right>[OrderTotal]</td></tr>
</table>
<table>
<table cellpadding=15 width="640" class="Email">
<tr><td colspan=1 align=left><b>Invoice Total refers to the amount of your order not your
balance!</b></td></tr>
<tr><td colspan=1 align=left><b>To see your balance (if any) <a
href="[StoreURL]vieworder.aspx?Order_ID=[OrderID]">click here</b></a>.</td></tr>
<tr><td colspan=1 align=left><b>Thank you for your order supporting The Hearts
Center</b>.</td></tr>
</table>
</body>
</html>
Looking for some help after I did a 7.04 install and then imported from 5.5
I though I did a backup with the email templates but perhaps they were only in the database and not in the "app_data/email_templates/1/" folder as the base install seems to only have a read me.
-The Problem.. Email templates don't work and I think they may be the old 5.5 templates.. as I don't see any Nvelocity syntax.
If you can take a quick peak and concur that I don't seem to have the correct email template could someone send me a copy or post a link to all the 7.04 working email templates.
I did the view template html with out send (nice way to check)
Sorry for Long Post with generated HTML and Template Code but figured it would help answer this quickly,
Thank you kindly.
Luke
Here is a clip of what is generated.
------
Preview Message
Here is a sample of how your message will look. If it is correct, click the send button to send to 1 recipient(s).
[StoreName] appreciates your business!
To check the status of your order, click here. If you should have any questions please check the Help / Frequently Asked Questions at our website and should have any questions that are not answered in our Frequently Asked Questions page it would be our pleasure to assist.
Please retain the following username and remember your password for faster checkout on future orders. You can always recover your password by going to Password
USERNAME: [USERNAME]
Thank you for support The Hearts Center
[StoreName]
Post Office Box 277
Livingston, Montana 59047
406-222-1106 Invoice
Order Number: [OrderNumber]
Date: [OrderDate]
Order Total: [OrderTotal]
Order Status: View Online
Bill To:
[BillFirstName] [BillLastName]
[BillingAddress]
[Shipments] [OrderItems][/OrderItems] [/Shipments][NoShipment] [OrderItems][/OrderItems] [/NoShipment]
Ship From:
[WarehouseName]
[WarehouseAddress] Ship To:
[ShipFirstName] [ShipLastName]
[ShippingAddress]
[ShipMessage]
SKU Name Options Price Quantity Ext. Price
[SKU] [Name]
[LineMessage] [OptionNames] [UnitPrice] [Quantity] [ExtPrice]
Non-Shipping Items
SKU Name Options Price Quantity Ext. Price
[SKU] [Name]
[LineMessage] [OptionNames] [UnitPrice] [Quantity] [ExtPrice]
Product Subtotal: [OrderProductTotal]
Tax Total: [OrderTaxTotal]
Shipping: [OrderShippingTotal]
Other: [OrderOtherTotal]
Invoice Total: [OrderTotal]
Invoice Total refers to the amount of your order not your balance!
To see your balance (if any) click here.
-------
Here is the Template
Subject:
Confirmation - Order Number [OrderNumber]
Body:
<html>
<head>
<style type="text/css">
TABLE.Email {
padding-right: 0px;
padding-left: 0px;
padding-bottom: 0px;
margin: 0px;
padding-top: 0px;
border: 1px solid #0066cc;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
color: #000000;
}
TH.Email {
font-weight: bold;
font-size: 10pt;
color: #000000;
font-family: Arial, Verdana, Sans-Serif;
background-color: #CCCCCC;
text-align: center;
text-decoration: none;
padding: 0px;
}
TD.Email {
font-weight: normal;
font-size: 12px;
color: #000000;
font-family: Arial, Verdana, Sans-Serif;
background-color: #ffffff;
text-align: left;
text-decoration: none;
padding: 0px;
border-top: 0px none;
border-right: 0px none;
border-bottom: 0px none;
border-left: 0px none;
}
</style>
</head>
<body>
<table width="640">
<tr>
<td class="Email"><p><strong>[StoreName] appreciates your business!</strong></p>
<p> <b>To check the status of your order,</b> <a
href="[StoreURL]vieworder.aspx?Order_ID=[OrderID]"><b>click
here</b></a>. If you should have any questions please check the Help /
Frequently Asked Questions at our <a href="[StoreURL]faq.aspx">website</a> and should
have any
questions that are not answered in our Frequently Asked Questions page
it would be our pleasure to assist.</p>
<h4>Please retain the following username and remember your password for faster checkout on
future orders. You can always recover your password by going to <a
href="http://store.heartscenter.org/forgotpassword.aspx" > Password</a></h4>
<ul>
<li>USERNAME: [USERNAME]
</ul>
<p>Thank you for support The Hearts Center<br>
</p>
</td>
</tr>
</table>
<table cellpadding=5 width="640" class="Email">
<tr>
<td valign="top"><strong>[StoreName]</strong><br /> Post Office Box 277<br />Livingston,
Montana 59047<br />406-222-1106</td>
<td align="right"><font size=4><strong>Invoice</strong></font><br>
<strong>Order Number</strong>: [OrderNumber]<br>
<strong>Date</strong>: [OrderDate]<br>
<strong>Order Total</strong>: [OrderTotal]<br>
<strong>Order Status</strong>: <a href="[StoreURL]vieworder.aspx?Order_ID=[OrderID]">View
Online</a></td>
</tr>
</table>
<table cellpadding=15 width="640" class="Email">
<tr><td valign="top"><strong>Bill To</strong>:<br>
[BillFirstName] [BillLastName]<br>[BillingAddress]</td></tr>
</table>
<table cellpadding=15 width="640" class="Email">
[Shipments]
<tr><td colspan=6 align=center><table><tr>
<td valign="top"><strong>Ship From</strong>:<br>
[WarehouseName]<br>[WarehouseAddress]</td>
<td valign="top"><strong>Ship To</strong>:<br>
[ShipFirstName] [ShipLastName]<br>[ShippingAddress]<p><strong>[ShipMessage]</strong></td>
</tr></table></td></tr>
<tr><th class="Email">SKU</th><th class="Email">Name</th><th class="Email">Options</th><th
class="Email">Price</th><th class="Email">Quantity</th>
<th class="Email">Ext. Price</th>
</tr>
[OrderItems]<tr><td>[SKU]</td><td>[Name]<br><font
size=2><strong>[LineMessage]</strong></font></td><td>[OptionNames]</td>
<td align=right>[UnitPrice]</td><td align=center>[Quantity]</td><td
align=right>[ExtPrice]</td></tr>[/OrderItems]
[/Shipments][NoShipment]
<tr><th colspan=6 align=center>Non-Shipping Items</th></tr>
<tr><th class="Email">SKU</th><th class="Email">Name</th><th class="Email">Options</th><th
class="Email">Price</th><th class="Email">Quantity</th>
<th class="Email">Ext. Price</th>
</tr>
[OrderItems]<tr><td>[SKU]</td><td>[Name]<br><font
size=2><strong>[LineMessage]</strong></font></td><td>[OptionNames]</td>
<td align=right>[UnitPrice]</td><td align=center>[Quantity]</td><td
align=right>[ExtPrice]</td></tr>[/OrderItems]
[/NoShipment]
<tr><td colspan=5 align=right><strong>Product Subtotal</strong>:</td>
<td align=right>[OrderProductTotal]</td></tr>
<tr><td colspan=5 align=right><strong>Tax Total</strong>:</td>
<td align=right>[OrderTaxTotal]</td></tr>
<tr><td colspan=5 align=right><strong>Shipping</strong>:</td>
<td align=right>[OrderShippingTotal]</td></tr>
<tr><td colspan=5 align=right><strong>Other</strong>:</td>
<td align=right>[OrderOtherTotal]</td></tr>
<tr><td colspan=5 align=right><strong>Invoice Total</strong>:</td>
<td align=right>[OrderTotal]</td></tr>
</table>
<table>
<table cellpadding=15 width="640" class="Email">
<tr><td colspan=1 align=left><b>Invoice Total refers to the amount of your order not your
balance!</b></td></tr>
<tr><td colspan=1 align=left><b>To see your balance (if any) <a
href="[StoreURL]vieworder.aspx?Order_ID=[OrderID]">click here</b></a>.</td></tr>
<tr><td colspan=1 align=left><b>Thank you for your order supporting The Hearts
Center</b>.</td></tr>
</table>
</body>
</html>
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Testing Email Templates
When you do an Able 7 install and don't do all of the data, they don't get created in the 1 folder. We don't do a complete install with all the data in Able 7 if we are going to import from an Able 5 store so we had to copy the templates manually to the 1 folder as we set up the site. If you pm me your email address, I can send them to you in a zip file.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx