Quote:
X-Cart already has the code to do this, you just need to add it in. Open skin1/mail/html/order_data.tpl and add this code somewhere in the product listing (after the {foreach from=$products item=product} and before the next {/foreach}:
Code:
{if $active_modules.Egoods and $product.download_key and ($order.status eq "P" or $order.status eq "C")}
<br />
<a href="{$catalogs.customer}/download.php?id={$product.download_key}" class="SmallNote" target="_blank">Download</a>
{/if}
|
Bill, would you mind clarifying this a bit? What do you mean by x-cart already has the code to do this but you need to add it in? I'm using 4.1.6, and when I go to the tpl you referenced, I already find the code you mention. The only difference is that instead of the word "Download" is has
Code:
{$lng.lbl_download}
. Yet my invoices don't display download links.