First of all thank moondog for this great mod it has worked great for me in the previous version of Xcart. Recently I have been working on V4.3.1 cart and noticed that my thumbnail images would not appear using the previous code. After tinkering with it for a long while and searching other post in various areas, I seem to have finally figured out on how to get my thumbnails to appear once again.
OK, here is the code for adding the thumbnails once again to this great mod by MoonDog. All else stays the same from the first post
http://forum.x-cart.com/showthread.php?t=36753&highlight=recently+viewed
Entered this code in the product.tpl down at the bottom, to get my thumbnail image to appear in V4.3.1.
Line " prodImage="
Code:
{*recently viewed mod*}
<script type="text/javascript">
prodImage='<img src="{$http_location}/image.php?id={$product.productid}" width="65">';
prodName='<{$product.product}>';
var p0=('<br/><a href="'+document.URL+'">'+prodImage+'<br/>{$product.product}</a><br/>${$product.taxed_price}<br/>');
</script>
{*end*}
Hope this helps some of you, Enjoy