Thanks Cotc.
I took a look at order_message, and am still a little confused.
Does it matter where I put the code (inside or outside of the loop)?
Also, can I just call reference {orders_total} without doing any preliminary modifications?
I have included the order_message.tpl code below:
Code:
{* $Id: order_message.tpl,v 1.32.2.1 2004/09/14 06:02:27 max Exp $ *}
{if $this_is_printable_version eq ""}
{capture name=dialog}
<FONT class="ProductDetails">{$lng.txt_order_placed}</FONT>
<FONT class="ProductDetails">{$lng.txt_order_placed_msg}</FONT>
{/capture}
{include file="dialog.tpl" title=$lng.lbl_confirmation content=$smarty.capture.dialog extra="width=100%"}
{/if}
{capture name=dialog}
{section name=oi loop=$orders}
{include file="mail/html/order_invoice.tpl" is_nomail='Y' products=$orders[oi].products giftcerts=$orders[oi].giftcerts userinfo=$orders[oi].userinfo order=$orders[oi].order}
{if $active_modules.Interneka ne ""}
{ include file="modules/Interneka/interneka_tags.tpl" }
{/if}
{/section}
{if $this_is_printable_version eq ""}
<TABLE border="0" width="100%">
<TR>
<TD align="left">{include file="buttons/button.tpl" button_title=$lng.lbl_print_invoice href="order.php?mode=invoice&orderid=`$orderids`" target="preview_invoice"}</TD>
<TD align="right">{include file="buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="button" href="home.php"}</TD>
</TR>
</TABLE>
{/if}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_invoice content=$smarty.capture.dialog extra="width=100%"}
Thanks,
David