<tr class="item">
                <td colspan="<?php 
if ($_smarty_tpl->getVariable('return_allowed')->value) {
    ?>
5<?php 
} else {
    ?>
4<?php 
}
?>
">
                    <?php 
echo smartyTranslate(array('s' => 'Order Total:'), $_smarty_tpl);
?>
 <span class="price" style="padding-left:15px"><?php 
echo Product::displayWtPriceWithCurrency(array('price' => $_smarty_tpl->getVariable('order')->value->total_paid, 'currency' => $_smarty_tpl->getVariable('currency')->value), $_smarty_tpl);
?>
</span>
                </td>
            </tr>
        </tfoot>
        <tbody>
        <?php 
$_smarty_tpl->tpl_vars['product'] = new Smarty_Variable();
$_from = $_smarty_tpl->getVariable('products')->value;
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['products']['index'] = -1;
if ($_smarty_tpl->_count($_from) > 0) {
    foreach ($_from as $_smarty_tpl->tpl_vars['product']->key => $_smarty_tpl->tpl_vars['product']->value) {