View Single Post
  #152  
Old 02-13-2010, 05:23 PM
  shipmerchant's Avatar 
shipmerchant shipmerchant is offline
 

eXpert
  
Join Date: Mar 2005
Posts: 361
 

Thumbs up Re: Recently Viewed Mod

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
__________________
Mil Mascaras
Live Xcart Site #1-V- 4.1.8
Live Xcart site # 2-V 4.4.3
CDSEO Mod - Firetank MM30 - 7DANA- The bestTemplates!
Linux - EWD Host Servers awesome service!
AlteredCart One Page Checkout
Reply With Quote