Bill,
That's just brilliant! Thank you.
If anyone's interested...
file: skin1/mail/html/order_invoice.tpl
FIND:
Code:
{foreach from=$_userinfo.additional_fields item=v}
{if $v.section eq 'S'}
<tr>
<td><b>{$v.title}:</b></td>
<td>{$v.value}</td>
</tr>
{/if}
{/foreach}
AFTER, insert:
Code:
{if $order.login|strpos:'customer-'===0}
{else}
<tr>
<td><strong>Username:</strong></td><td>{$order.login}</td>
</tr>
{/if}
Replace 'customer' with whatever you've named your anonymous customers... in config.php
$anonymous_username_prefix="customer";
Another very nice addition to the customer invoice.
Thanks Bill!
Jeremy