Quote:
Originally Posted by Acquamarina
Bump - Anyone? No one has ever really thought about doing this? I find that hard to believe...
|

I tried this and had the same problem. I tried just copying and pasting then adjusted the {if} statement to look like this:
{if $active_modules.Recommended_Products ne ""}
{capture name=recommends}
<TABLE border="0" cellspacing="5">
{section name=num loop=$recommends}
<TR class="ItemsList">
<TD width="5%">#{$recommends[num].productcode}</TD>
<td width="15%"><a href="product.php?productid={ $recommends[num].productid}">{include file="product_thumbnail.tpl" productid=$recommends[num].productid image_x=$config.Appearance.thumbnail_width product=$product_links[cat_num].product tmbn_url=$recommends[num].tmbn_url}</a></td>
<TD width="80%">
<A href="product.php?productid={$recommends[num].productid}"><FONT class="ItemsList">{$recommends[num].product}</FONT></A>
</TD>
</TR>
{/section}
</TABLE>
{/capture}
{include file="dialog.tpl" title=$lng.lbl_recommends content=$smarty.capture.recommends extra="width=100%"}
{/if}
On "Preview" in Admin console the Recommends table is returned as expected, but no products. This is because template preview doesn't show as it would during actual customer experience.
Note:
Customer search experience on disabled...Template "error_product_disabled.tpl" is not returned when searching for disabled product only search_results returned with Advanced search option.
When searching productcode (SKU) and not productid I get no returned products or product images. I will test edit the code from productid to productcode.
I really think it should be template
error_access_denied.tpl because in my version this is what is returned when a product has been freshly deleted from the database.