MoonDog, great mod and i am using this mod on x-cart 4.1.3 and does work ok, but when i look at details on another product and then say go back to home, only the recent product shows. I can not get any more than one product showing at a time, even if i view 10 products, i only just show the last product viewed.
I have followed your code 100%, just changed the bit at the botom of the skin1/main/product.tpl file which is:
Code:
<script type="text/javascript">
prodImage='{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x|default:$config.Appearance.thumbnail_width image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url alt=$product.fulldescr|replace:"":"" id="product_thumbnail" type="P"}';
prodName='<{$product.product}>';
var p0=('<br/><a href="'+document.URL+'">'+prodImage+'<br/>{$product.product}</a><br/><a href="{$http_location}/home.php?cat={$cat}"><b>{$current_category.category}</b></a><br/>ё{$product.taxed_price}<br/>');
</script>
The extra code is to use my default x and y thumbnail settings in the admin section and to also give a full description of the product when you place your mouse over the image.
Anyway back to the problem, i think that some how its resetting its cookies, every time i look at another detail description, the box is then blank (nothing written or no picture) then go to another product and then the last item i looked at is shown and so on. So i only see one product only not 4 products no matter how many times i go to other detail descriptions, only the last one shows.
Any ideas please ?
Oh you can find this at
http://www.theshisha.com/shopcart/home.php and try this for yourself and see what i mean.
The recent view box is to the right and under the product review box.