I've taken the base code for producing the upsell links and moved it to within the products.tpl file like so:
Quote:
{capture name=upsell}
{section name=upsell_num loop=$product_links}
<A href="product.php?productid={ $product_links[upsell_num].productid }"{if $config.Modules.upselling_new_window eq 'Y'} target="_blank"{/if}>
{$product_links[upsell_num].product}
</A>
{/section}
{/capture}
{$smarty.capture.upsell}
|
It seems that there is no array $product_links - or at least it's not outputting correctly. I'm not sure if this will require writing some custom PHP function or if it's a simple matter of finding the right syntax for the above.