Yesterday, I accidentally overwrote a template with another one. I overwrote mail/html/order_data.tpl with mail/html/order_invoice.tpl. So I had my server guy restore the file from the day before. But now for some reason the file does not work 100% right. Namely, order_invoice.tpl does not include order_data.tpl anymore, so there is a blank place where that template should go. Nothing has changed and the code is the same. When I go around the "include" by just pasting order_data directly into order_invoice the page works fine. So for some reason the smarty include isn't working anymore. Here is the code for the TD that this code is called in:
Am I missing something????
Code:
<td width="50%" valign="top" style="padding: 4px; border: 1px solid #999999;">
<table cellspacing="0" cellpadding="2" border="0" width="100%">
<tr><td bgcolor="#f3f3f3" colspan="2">Order Details</td></tr>
<tr><td width="30%" align="right">Order Date:</td><td>{$order.date|date_format:$config.Appearance.datetime_format}</td></tr>
<tr><td width="30%" align="right">Shipping Method:</td><td>{$order.shipping|trademark|default:$lng.txt_not_available}</td></tr>
<tr><td width="30%" align="right">Payment Method:</td><td>{$order.payment_method}</td></tr>
</table>
{include file="mail/html/order_data.tpl"}
</td>